Home | History | Annotate | Download | only in gm

Lines Matching refs:canvas

81     // Set the location for the current test on the canvas
82 static void SetLocation(SkCanvas* canvas, int counter, int lineNum) {
85 canvas->translate(x, y);
97 void onDraw(SkCanvas* canvas) override {
119 canvas->save();
120 SetLocation(canvas, counter, fPolygons.count());
126 canvas->drawPath(fPolygons[i], paint);
127 canvas->restore();
144 canvas->save();
145 SetLocation(canvas, counter, fPolygons.count());
147 canvas->drawPath(fPolygons[i], paint);
148 canvas->restore();