Lines Matching defs:canvas
70 // Set the location for the current test on the canvas
71 static void SetLocation(SkCanvas* canvas, int counter, int lineNum) {
74 canvas->translate(x, y);
77 void onDraw(SkCanvas* canvas) override {
110 canvas->save();
111 SetLocation(canvas, counter, SkPaint::kJoinCount * numWidths);
120 canvas->drawPath(path, paint);
121 canvas->restore();
132 canvas->save();
133 SetLocation(canvas, counter, SkPaint::kJoinCount * numWidths);
137 canvas->drawPath(path, paint);
138 canvas->restore();