Lines Matching refs:canvas
11 DEF_SIMPLE_GM(PlusMergesAA, canvas, 256, 256) {
17 canvas->drawRect(SkRect::MakeWH(100, 100), p);
18 canvas->drawRect(SkRect::MakeXYWH(150, 0, 100, 100), p);
35 canvas->drawPath(upperLeft, p);
36 canvas->drawPath(bottomRight, p);
39 canvas->saveLayer(nullptr, nullptr);
41 canvas->translate(150, 0);
42 canvas->drawPath(upperLeft, p);
43 canvas->drawPath(bottomRight, p);
44 canvas->restore();