Home
last modified time | relevance | path

Searched refs:ANPCanvas (Results 1 – 6 of 6) sorted by relevance

/external/webkit/WebKit/android/plugins/
DANPCanvasInterface.cpp30 static ANPCanvas* anp_newCanvas(const ANPBitmap* bitmap) { in anp_newCanvas()
32 return new ANPCanvas(*SkANP::SetBitmap(&bm, *bitmap)); in anp_newCanvas()
35 static void anp_deleteCanvas(ANPCanvas* canvas) { in anp_deleteCanvas()
39 static void anp_save(ANPCanvas* canvas) { in anp_save()
43 static void anp_restore(ANPCanvas* canvas) { in anp_restore()
47 static void anp_translate(ANPCanvas* canvas, float tx, float ty) { in anp_translate()
51 static void anp_scale(ANPCanvas* canvas, float sx, float sy) { in anp_scale()
55 static void anp_rotate(ANPCanvas* canvas, float degrees) { in anp_rotate()
59 static void anp_skew(ANPCanvas* canvas, float kx, float ky) { in anp_skew()
63 static void anp_clipRect(ANPCanvas* canvas, const ANPRectF* rect) { in anp_clipRect()
[all …]
Dandroid_npapi.h74 struct ANPCanvas;
411 ANPCanvas* (*newCanvas)(const ANPBitmap*);
412 void (*deleteCanvas)(ANPCanvas*);
414 void (*save)(ANPCanvas*);
415 void (*restore)(ANPCanvas*);
416 void (*translate)(ANPCanvas*, float tx, float ty);
417 void (*scale)(ANPCanvas*, float sx, float sy);
418 void (*rotate)(ANPCanvas*, float degrees);
419 void (*skew)(ANPCanvas*, float kx, float ky);
420 void (*concat)(ANPCanvas*, const ANPMatrix*);
[all …]
DSkANP.h48 struct ANPCanvas { struct
52 explicit ANPCanvas(const SkBitmap& bm) { in ANPCanvas() function
57 explicit ANPCanvas(SkCanvas* other) { in ANPCanvas() argument
62 ~ANPCanvas() { in ~ANPCanvas() argument
/external/webkit/WebKit/android/plugins/sample/
DpluginGraphics.cpp77 virtual void draw(ANPCanvas*);
126 void BallAnimation::draw(ANPCanvas* canvas) { in draw()
160 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); in drawPlugin()
174 void drawPlugin(NPP instance, ANPCanvas* canvas) { in drawPlugin()
DpluginGraphics.h33 struct ANPCanvas;
37 void drawPlugin(NPP instance, ANPCanvas*);
DPluginObject.h39 struct ANPCanvas;
46 virtual void draw(ANPCanvas*) = 0;