Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: ppapi/api/dev/ppb_graphics_2d_dev.idl

Issue 14335005: Pepper: Autogenerate thunk for PPB_Graphics2D. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased (file deletions in another commit) Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_in_process_resource_creation.cc ('k') | ppapi/api/ppb_graphics_2d.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698