5 #ifndef PPAPI_CPP_GRAPHICS_2D_H_ 
    6 #define PPAPI_CPP_GRAPHICS_2D_H_ 
    8 #include "ppapi/c/pp_stdint.h" 
   17 class CompletionCallback;
 
   57              bool is_always_opaque);
 
  106                       const Point& top_left);
 
  145                       const Point& top_left,
 
  146                       const Rect& src_rect);
 
  287   bool SetLayerTransform(
float scale,
 
  289                          const Point& translate);
 
  296 #endif  // PPAPI_CPP_GRAPHICS_2D_H_ 
const Size & size() const 
Definition: graphics_2d.h:78
 
Definition: image_data.h:22
 
A 2 dimensional point with 0,0 being the upper-left starting coordinate. 
Definition: point.h:18
 
Graphics2D & operator=(const Graphics2D &other)
 
Definition: graphics_2d.h:23
 
Definition: completion_callback.h:26
 
A size of an object based on width and height. 
Definition: size.h:18
 
void ReplaceContents(ImageData *image)
 
Definition: instance_handle.h:44
 
bool SetScale(float scale)
 
void PaintImageData(const ImageData &image, const Point &top_left)
 
int32_t Flush(const CompletionCallback &cc)
 
A reference counted module resource. 
Definition: resource.h:20
 
void Scroll(const Rect &clip, const Point &amount)