Lines Matching refs:paint

16 void test_concave(SkCanvas* canvas, const SkPaint& paint) {
18 canvas->drawPath(SkPath::Polygon({{20,20}, {80,20}, {30,30}, {20,80}}, false), paint);
22 void test_reverse_concave(SkCanvas* canvas, const SkPaint& paint) {
25 canvas->drawPath(SkPath::Polygon({{20,20}, {20,80}, {30,30}, {80,20}}, false), paint);
30 void test_bowtie(SkCanvas* canvas, const SkPaint& paint) {
33 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {80,20}, {20,80}}, false), paint);
38 void test_fake_bowtie(SkCanvas* canvas, const SkPaint& paint) {
42 false), paint);
48 void test_intruding_vertex(SkCanvas* canvas, const SkPaint& paint) {
52 false, SkPathFillType::kWinding, true), paint);
58 void test_inversion_repeat_vertex(SkCanvas* canvas, const SkPaint& paint) {
65 SkPathFillType::kWinding, true), paint);
70 void test_fish(SkCanvas* canvas, const SkPaint& paint) {
74 SkPathFillType::kWinding, true), paint);
80 void test_fast_forward(SkCanvas* canvas, const SkPaint& paint) {
86 canvas->drawPath(path, paint);
91 void test_hole(SkCanvas* canvas, const SkPaint& paint) {
97 canvas->drawPath(path, paint);
102 void test_star(SkCanvas* canvas, const SkPaint& paint) {
106 paint);
111 void test_twist(SkCanvas* canvas, const SkPaint& paint) {
121 canvas->drawPath(SkPath::Polygon(pts, SK_ARRAY_COUNT(pts), false), paint);
126 void test_stairstep(SkCanvas* canvas, const SkPaint& paint) {
130 paint);
134 void test_stairstep2(SkCanvas* canvas, const SkPaint& paint) {
137 canvas->drawPath(SkPath::Polygon({{20,60}, {35,80}, {50,60}, {65,80}, {80,60}}, false), paint);
142 void test_overlapping(SkCanvas* canvas, const SkPaint& paint) {
145 canvas->drawPath(SkPath::Polygon({{20,80}, {80,80}, {80,20}, {80,30}}, false), paint);
151 void test_partners(SkCanvas* canvas, const SkPaint& paint) {
158 canvas->drawPath(path, paint);
164 void test_winding_merged_to_zero(SkCanvas* canvas, const SkPaint& paint) {
176 canvas->drawPath(path.detach(), paint);
181 void test_monotone_1(SkCanvas* canvas, const SkPaint& paint) {
188 canvas->drawPath(path.detach(), paint);
193 void test_monotone_2(SkCanvas* canvas, const SkPaint& paint) {
200 canvas->drawPath(path.detach(), paint);
205 void test_monotone_3(SkCanvas* canvas, const SkPaint& paint) {
212 canvas->drawPath(path.detach(), paint);
217 void test_monotone_4(SkCanvas* canvas, const SkPaint& paint) {
227 canvas->drawPath(path.detach(), paint);
232 void test_monotone_5(SkCanvas* canvas, const SkPaint& paint) {
240 canvas->drawPath(path.detach(), paint);
244 void test_degenerate(SkCanvas* canvas, const SkPaint& paint) {
254 canvas->drawPath(path.detach(), paint);
258 void test_coincident_edge(SkCanvas* canvas, const SkPaint& paint) {
271 canvas->drawPath(path.detach(), paint);
276 void test_bowtie_coincident_triangle(SkCanvas* canvas, const SkPaint& paint) {
287 canvas->drawPath(path.detach(), paint);
293 void test_collinear_outer_boundary_edge(SkCanvas* canvas, const SkPaint& paint) {
303 canvas->drawPath(path.detach(), paint);
308 void test_coincident_edges_1(SkCanvas* canvas, const SkPaint& paint) {
318 canvas->drawPath(path.detach(), paint);
322 void test_coincident_edges_2(SkCanvas* canvas, const SkPaint& paint) {
332 canvas->drawPath(path.detach(), paint);
336 void test_coincident_edges_3(SkCanvas* canvas, const SkPaint& paint) {
346 canvas->drawPath(path.detach(), paint);
350 void test_coincident_edges_4(SkCanvas* canvas, const SkPaint& paint) {
360 canvas->drawPath(path.detach(), paint);
367 SkPaint paint;
369 paint.setAntiAlias(true);
370 paint.setStyle(SkPaint::kFill_Style);
372 test_concave(canvas, paint);
373 test_reverse_concave(canvas, paint);
374 test_bowtie(canvas, paint);
375 test_fake_bowtie(canvas, paint);
376 test_intruding_vertex(canvas, paint);
377 test_fish(canvas, paint);
378 test_fast_forward(canvas, paint);
379 test_hole(canvas, paint);
380 test_star(canvas, paint);
381 test_twist(canvas, paint);
382 test_inversion_repeat_vertex(canvas, paint);
383 test_stairstep(canvas, paint);
384 test_stairstep2(canvas, paint);
385 test_overlapping(canvas, paint);
386 test_partners(canvas, paint);
387 test_winding_merged_to_zero(canvas, paint);
388 test_monotone_1(canvas, paint);
389 test_monotone_2(canvas, paint);
390 test_monotone_3(canvas, paint);
391 test_monotone_4(canvas, paint);
392 test_monotone_5(canvas, paint);
393 test_degenerate(canvas, paint);
394 test_coincident_edge(canvas, paint);
395 test_bowtie_coincident_triangle(canvas, paint);
396 test_collinear_outer_boundary_edge(canvas, paint);
397 test_coincident_edges_1(canvas, paint);
398 test_coincident_edges_2(canvas, paint);
399 test_coincident_edges_3(canvas, paint);
400 test_coincident_edges_4(canvas, paint);