Lines Matching refs:SkJSCanvas
10 class SkJSCanvas { class
12 SkJSCanvas(SkCanvas* target);
13 ~SkJSCanvas();
38 SkJSCanvas::SkJSCanvas(SkCanvas* target) : fTarget(target) { in SkJSCanvas() function in SkJSCanvas
46 SkJSCanvas::~SkJSCanvas() {} in ~SkJSCanvas()
48 void SkJSCanvas::save() { fTarget->save(); } in save()
49 void SkJSCanvas::restore() { fTarget->restore(); } in restore()
51 void SkJSCanvas::beginPath() { fPath.reset(); } in beginPath()
52 void SkJSCanvas::moveTo(double x, double y) { in moveTo()
56 void SkJSCanvas::lineTo(double x, double y) { in lineTo()
60 void SkJSCanvas::closePath() { fPath.close(); } in closePath()
62 void SkJSCanvas::fill() { in fill()
66 void SkJSCanvas::stroke() { in stroke()
71 void SkJSCanvas::fillText(const char text[], double x, double y) { in fillText()
106 SkJSCanvas ctx(canvas); in test_stroke()