OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /** | 6 /** |
7 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics | 7 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics |
8 * context within the browser. | 8 * context within the browser. |
9 */ | 9 */ |
10 | 10 |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 * graphics context onto the output device. | 274 * graphics context onto the output device. |
275 * | 275 * |
276 * @param[in] resource A <code>Graphics2D</code> context resource. | 276 * @param[in] resource A <code>Graphics2D</code> context resource. |
277 * | 277 * |
278 * @return Returns the scale factor for the graphics context. If the resource | 278 * @return Returns the scale factor for the graphics context. If the resource |
279 * is not a valid <code>Graphics2D</code> context, this will return 0.0. | 279 * is not a valid <code>Graphics2D</code> context, this will return 0.0. |
280 */ | 280 */ |
281 [version=1.1] | 281 [version=1.1] |
282 float_t GetScale( | 282 float_t GetScale( |
283 [in] PP_Resource resource); | 283 [in] PP_Resource resource); |
284 | 284 [version=1.1] |
| 285 PP_Bool SetLayerTransform( |
| 286 [in] PP_Resource resource, |
| 287 [in] float_t Scale, |
| 288 [in] PP_Point Origin, |
| 289 [in] PP_Point Transform); |
285 }; | 290 }; |
286 | 291 |
OLD | NEW |