• Home
  • Raw
  • Download

Lines Matching refs:paint

16 void test_concave(SkCanvas* canvas, const SkPaint& paint) {  in test_concave()  argument
18 canvas->drawPath(SkPath::Polygon({{20,20}, {80,20}, {30,30}, {20,80}}, false), paint); in test_concave()
22 void test_reverse_concave(SkCanvas* canvas, const SkPaint& paint) { in test_reverse_concave() argument
25 canvas->drawPath(SkPath::Polygon({{20,20}, {20,80}, {30,30}, {80,20}}, false), paint); in test_reverse_concave()
30 void test_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_bowtie() argument
33 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {80,20}, {20,80}}, false), paint); in test_bowtie()
38 void test_fake_bowtie(SkCanvas* canvas, const SkPaint& paint) { in test_fake_bowtie() argument
42 false), paint); in test_fake_bowtie()
48 void test_intruding_vertex(SkCanvas* canvas, const SkPaint& paint) { in test_intruding_vertex() argument
52 false, SkPathFillType::kWinding, true), paint); in test_intruding_vertex()
58 void test_inversion_repeat_vertex(SkCanvas* canvas, const SkPaint& paint) { in test_inversion_repeat_vertex() argument
65 SkPathFillType::kWinding, true), paint); in test_inversion_repeat_vertex()
70 void test_fish(SkCanvas* canvas, const SkPaint& paint) { in test_fish() argument
74 SkPathFillType::kWinding, true), paint); in test_fish()
80 void test_fast_forward(SkCanvas* canvas, const SkPaint& paint) { in test_fast_forward() argument
86 canvas->drawPath(path, paint); in test_fast_forward()
91 void test_hole(SkCanvas* canvas, const SkPaint& paint) { in test_hole() argument
97 canvas->drawPath(path, paint); in test_hole()
102 void test_star(SkCanvas* canvas, const SkPaint& paint) { in test_star() argument
106 paint); in test_star()
111 void test_twist(SkCanvas* canvas, const SkPaint& paint) { in test_twist() argument
121 canvas->drawPath(SkPath::Polygon(pts, SK_ARRAY_COUNT(pts), false), paint); in test_twist()
126 void test_stairstep(SkCanvas* canvas, const SkPaint& paint) { in test_stairstep() argument
130 paint); in test_stairstep()
134 void test_stairstep2(SkCanvas* canvas, const SkPaint& paint) { in test_stairstep2() argument
137 canvas->drawPath(SkPath::Polygon({{20,60}, {35,80}, {50,60}, {65,80}, {80,60}}, false), paint); in test_stairstep2()
142 void test_overlapping(SkCanvas* canvas, const SkPaint& paint) { in test_overlapping() argument
145 canvas->drawPath(SkPath::Polygon({{20,80}, {80,80}, {80,20}, {80,30}}, false), paint); in test_overlapping()
151 void test_partners(SkCanvas* canvas, const SkPaint& paint) { in test_partners() argument
158 canvas->drawPath(path, paint); in test_partners()
164 void test_winding_merged_to_zero(SkCanvas* canvas, const SkPaint& paint) { in test_winding_merged_to_zero() argument
176 canvas->drawPath(path.detach(), paint); in test_winding_merged_to_zero()
181 void test_monotone_1(SkCanvas* canvas, const SkPaint& paint) { in test_monotone_1() argument
188 canvas->drawPath(path.detach(), paint); in test_monotone_1()
193 void test_monotone_2(SkCanvas* canvas, const SkPaint& paint) { in test_monotone_2() argument
200 canvas->drawPath(path.detach(), paint); in test_monotone_2()
205 void test_monotone_3(SkCanvas* canvas, const SkPaint& paint) { in test_monotone_3() argument
212 canvas->drawPath(path.detach(), paint); in test_monotone_3()
217 void test_monotone_4(SkCanvas* canvas, const SkPaint& paint) { in test_monotone_4() argument
227 canvas->drawPath(path.detach(), paint); in test_monotone_4()
232 void test_monotone_5(SkCanvas* canvas, const SkPaint& paint) { in test_monotone_5() argument
240 canvas->drawPath(path.detach(), paint); in test_monotone_5()
244 void test_degenerate(SkCanvas* canvas, const SkPaint& paint) { in test_degenerate() argument
254 canvas->drawPath(path.detach(), paint); in test_degenerate()
258 void test_coincident_edge(SkCanvas* canvas, const SkPaint& paint) { in test_coincident_edge() argument
271 canvas->drawPath(path.detach(), paint); in test_coincident_edge()
276 void test_bowtie_coincident_triangle(SkCanvas* canvas, const SkPaint& paint) { in test_bowtie_coincident_triangle() argument
287 canvas->drawPath(path.detach(), paint); in test_bowtie_coincident_triangle()
293 void test_collinear_outer_boundary_edge(SkCanvas* canvas, const SkPaint& paint) { in test_collinear_outer_boundary_edge() argument
303 canvas->drawPath(path.detach(), paint); in test_collinear_outer_boundary_edge()
308 void test_coincident_edges_1(SkCanvas* canvas, const SkPaint& paint) { in test_coincident_edges_1() argument
318 canvas->drawPath(path.detach(), paint); in test_coincident_edges_1()
322 void test_coincident_edges_2(SkCanvas* canvas, const SkPaint& paint) { in test_coincident_edges_2() argument
332 canvas->drawPath(path.detach(), paint); in test_coincident_edges_2()
336 void test_coincident_edges_3(SkCanvas* canvas, const SkPaint& paint) { in test_coincident_edges_3() argument
346 canvas->drawPath(path.detach(), paint); in test_coincident_edges_3()
350 void test_coincident_edges_4(SkCanvas* canvas, const SkPaint& paint) { in test_coincident_edges_4() argument
360 canvas->drawPath(path.detach(), paint); in test_coincident_edges_4()
367 SkPaint paint; variable
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);