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);
293 #endif // PPAPI_CPP_GRAPHICS_2D_H_
const Size & size() const
A 2 dimensional point with 0,0 being the upper-left starting coordinate.
A size of an object based on width and height.
void ReplaceContents(ImageData *image)
bool SetScale(float scale)
void PaintImageData(const ImageData &image, const Point &top_left)
int32_t Flush(const CompletionCallback &cc)
A reference counted module resource.
void Scroll(const Rect &clip, const Point &amount)
Graphics2D & operator=(const Graphics2D &other)