Lines Matching refs:canvas

15 DEF_SIMPLE_GM(analytic_antialias_convex, canvas, W, H) {  in DEF_SIMPLE_GM()  argument
20 canvas->clear(0xFFFFFFFF); in DEF_SIMPLE_GM()
22 canvas->save(); in DEF_SIMPLE_GM()
26 canvas->translate(0, y); in DEF_SIMPLE_GM()
27 canvas->rotate(1); in DEF_SIMPLE_GM()
28 canvas->drawRect({ 20, 20, 200, 200 }, p); in DEF_SIMPLE_GM()
29 canvas->restore(); in DEF_SIMPLE_GM()
33 canvas->save(); in DEF_SIMPLE_GM()
34 canvas->translate(0, y); in DEF_SIMPLE_GM()
35 canvas->rotate(1); in DEF_SIMPLE_GM()
36 canvas->drawRect({ 20, 20, 20.2f, 200 }, p); in DEF_SIMPLE_GM()
37 canvas->drawRect({ 20, 200, 200, 200.1f }, p); in DEF_SIMPLE_GM()
38 canvas->drawCircle(100, 100, 30, p); in DEF_SIMPLE_GM()
39 canvas->restore(); in DEF_SIMPLE_GM()
50 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
64 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
68 canvas->save(); in DEF_SIMPLE_GM()
69 canvas->translate(0, y); in DEF_SIMPLE_GM()
76 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
77 canvas->restore(); in DEF_SIMPLE_GM()
86 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
89 DEF_SIMPLE_GM(analytic_antialias_general, canvas, W, H) { in DEF_SIMPLE_GM() argument
94 canvas->clear(0xFFFFFFFF); in DEF_SIMPLE_GM()
96 canvas->save(); in DEF_SIMPLE_GM()
97 canvas->rotate(1); in DEF_SIMPLE_GM()
107 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
108 canvas->restore(); in DEF_SIMPLE_GM()
110 canvas->save(); in DEF_SIMPLE_GM()
111 canvas->translate(200, 0); in DEF_SIMPLE_GM()
112 canvas->rotate(1); in DEF_SIMPLE_GM()
115 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
116 canvas->restore(); in DEF_SIMPLE_GM()
122 canvas->translate(0, 300); in DEF_SIMPLE_GM()
126 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
128 canvas->translate(300, 0); in DEF_SIMPLE_GM()
132 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
135 DEF_SIMPLE_GM(analytic_antialias_inverse, canvas, W, H) { in DEF_SIMPLE_GM() argument
140 canvas->save(); in DEF_SIMPLE_GM()
145 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
146 canvas->restore(); in DEF_SIMPLE_GM()