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 /* This file contains the <code>PPB_Graphics2D_Dev</code> interface. */ | 6 /* This file contains the <code>PPB_Graphics2D_Dev</code> interface. */ |
| 7 |
| 8 [generate_thunk] |
| 9 |
7 label Chrome { | 10 label Chrome { |
8 M22 = 0.1 | 11 M22 = 0.1 |
9 }; | 12 }; |
10 | 13 |
11 /* PPB_Graphics2D_Dev interface */ | 14 /* PPB_Graphics2D_Dev interface */ |
12 interface PPB_Graphics2D_Dev { | 15 interface PPB_Graphics2D_Dev { |
13 /** | 16 /** |
14 * SetScale() sets the scale factor that will be applied when painting the | 17 * SetScale() sets the scale factor that will be applied when painting the |
15 * graphics context onto the output device. Typically, if rendering at device | 18 * graphics context onto the output device. Typically, if rendering at device |
16 * resolution is desired, the context would be created with the width and | 19 * resolution is desired, the context would be created with the width and |
(...skipping 20 matching lines...) Expand all Loading... |
37 * | 40 * |
38 * @param[in] resource A <code>Graphics2D</code> context resource. | 41 * @param[in] resource A <code>Graphics2D</code> context resource. |
39 * | 42 * |
40 * @return Returns the scale factor for the graphics context. If the resource | 43 * @return Returns the scale factor for the graphics context. If the resource |
41 * is not a valid <code>Graphics2D</code> context, this will return 0.0. | 44 * is not a valid <code>Graphics2D</code> context, this will return 0.0. |
42 */ | 45 */ |
43 float_t GetScale( | 46 float_t GetScale( |
44 [in] PP_Resource resource); | 47 [in] PP_Resource resource); |
45 }; | 48 }; |
46 | 49 |
OLD | NEW |