8 #ifndef PPAPI_C_PPB_GRAPHICS_2D_H_
9 #define PPAPI_C_PPB_GRAPHICS_2D_H_
21 #define PPB_GRAPHICS_2D_INTERFACE_1_0 "PPB_Graphics2D;1.0"
22 #define PPB_GRAPHICS_2D_INTERFACE_1_1 "PPB_Graphics2D;1.1"
23 #define PPB_GRAPHICS_2D_INTERFACE_1_2 "PPB_Graphics2D;1.2"
24 #define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_1_2
135 const struct PP_Rect* src_rect);
155 const struct PP_Rect* clip_rect,
314 const struct PP_Rect* src_rect);
316 const struct PP_Rect* clip_rect,
334 const struct PP_Rect* src_rect);
336 const struct PP_Rect* clip_rect,
void(* ReplaceContents)(PP_Resource graphics_2d, PP_Resource image_data)
Definition: ppb_graphics_2d.h:189
PP_Bool(* IsGraphics2D)(PP_Resource resource)
Definition: ppb_graphics_2d.h:76
Definition: ppb_graphics_2d.h:40
PP_Bool(* Describe)(PP_Resource graphics_2d, struct PP_Size *size, PP_Bool *is_always_opaque)
Definition: ppb_graphics_2d.h:90
int32_t PP_Resource
Definition: pp_resource.h:40
Definition: ppb_graphics_2d.h:323
PP_Bool(* SetLayerTransform)(PP_Resource resource, float scale, const struct PP_Point *origin, const struct PP_Point *translate)
Definition: ppb_graphics_2d.h:295
Definition: pp_point.h:28
void(* PaintImageData)(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point *top_left, const struct PP_Rect *src_rect)
Definition: ppb_graphics_2d.h:132
int32_t(* Flush)(PP_Resource graphics_2d, struct PP_CompletionCallback callback)
Definition: ppb_graphics_2d.h:250
Definition: ppb_graphics_2d.h:303
void(* Scroll)(PP_Resource graphics_2d, const struct PP_Rect *clip_rect, const struct PP_Point *amount)
Definition: ppb_graphics_2d.h:154
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool
Definition: pp_bool.h:30
PP_Resource(* Create)(PP_Instance instance, const struct PP_Size *size, PP_Bool is_always_opaque)
Definition: ppb_graphics_2d.h:63
Definition: pp_completion_callback.h:139
PP_Bool(* SetScale)(PP_Resource resource, float scale)
Definition: ppb_graphics_2d.h:269