Lines Matching refs:path

15     SkPath path;  in test_concave()  local
17 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_concave()
18 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_concave()
19 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_concave()
20 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_concave()
21 canvas->drawPath(path, paint); in test_concave()
26 SkPath path; in test_reverse_concave() local
29 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_reverse_concave()
30 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_reverse_concave()
31 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_reverse_concave()
32 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_reverse_concave()
33 canvas->drawPath(path, paint); in test_reverse_concave()
39 SkPath path; in test_bowtie() local
42 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_bowtie()
43 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_bowtie()
44 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_bowtie()
45 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_bowtie()
46 canvas->drawPath(path, paint); in test_bowtie()
52 SkPath path; in test_fake_bowtie() local
55 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_fake_bowtie()
56 path.lineTo(SkIntToScalar(50), SkIntToScalar(40)); in test_fake_bowtie()
57 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_fake_bowtie()
58 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_fake_bowtie()
59 path.lineTo(SkIntToScalar(50), SkIntToScalar(60)); in test_fake_bowtie()
60 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_fake_bowtie()
61 canvas->drawPath(path, paint); in test_fake_bowtie()
68 SkPath path; in test_intruding_vertex() local
71 path.setIsVolatile(true); in test_intruding_vertex()
72 path.moveTo(20, 20); in test_intruding_vertex()
73 path.lineTo(50, 50); in test_intruding_vertex()
74 path.lineTo(68, 20); in test_intruding_vertex()
75 path.lineTo(68, 80); in test_intruding_vertex()
76 path.lineTo(50, 50); in test_intruding_vertex()
77 path.lineTo(20, 80); in test_intruding_vertex()
78 canvas->drawPath(path, paint); in test_intruding_vertex()
85 SkPath path; in test_inversion_repeat_vertex() local
88 path.setIsVolatile(true); in test_inversion_repeat_vertex()
89 path.moveTo(80, 50); in test_inversion_repeat_vertex()
90 path.lineTo(40, 80); in test_inversion_repeat_vertex()
91 path.lineTo(60, 20); in test_inversion_repeat_vertex()
92 path.lineTo(20, 20); in test_inversion_repeat_vertex()
93 path.lineTo(39.99f, 80); in test_inversion_repeat_vertex()
94 path.lineTo(80, 50); in test_inversion_repeat_vertex()
95 canvas->drawPath(path, paint); in test_inversion_repeat_vertex()
101 SkPath path; in test_fish() local
104 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_fish()
105 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_fish()
106 path.lineTo(SkIntToScalar(70), SkIntToScalar(50)); in test_fish()
107 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_fish()
108 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_fish()
109 path.lineTo(SkIntToScalar(0), SkIntToScalar(50)); in test_fish()
110 canvas->drawPath(path, paint); in test_fish()
117 SkPath path; in test_fast_forward() local
120 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_fast_forward()
121 path.lineTo(SkIntToScalar(60), SkIntToScalar(50)); in test_fast_forward()
122 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_fast_forward()
123 path.moveTo(SkIntToScalar(40), SkIntToScalar(20)); in test_fast_forward()
124 path.lineTo(SkIntToScalar(40), SkIntToScalar(80)); in test_fast_forward()
125 path.lineTo(SkIntToScalar(80), SkIntToScalar(50)); in test_fast_forward()
126 canvas->drawPath(path, paint); in test_fast_forward()
132 SkPath path; in test_hole() local
135 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_hole()
136 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_hole()
137 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_hole()
138 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_hole()
139 path.moveTo(SkIntToScalar(30), SkIntToScalar(30)); in test_hole()
140 path.lineTo(SkIntToScalar(30), SkIntToScalar(70)); in test_hole()
141 path.lineTo(SkIntToScalar(70), SkIntToScalar(70)); in test_hole()
142 path.lineTo(SkIntToScalar(70), SkIntToScalar(30)); in test_hole()
143 canvas->drawPath(path, paint); in test_hole()
149 SkPath path; in test_star() local
152 path.moveTo(30, 20); in test_star()
153 path.lineTo(50, 80); in test_star()
154 path.lineTo(70, 20); in test_star()
155 path.lineTo(20, 57); in test_star()
156 path.lineTo(80, 57); in test_star()
157 path.close(); in test_star()
158 canvas->drawPath(path, paint); in test_star()
164 SkPath path; in test_stairstep() local
167 path.moveTo(SkIntToScalar(50), SkIntToScalar(50)); in test_stairstep()
168 path.lineTo(SkIntToScalar(50), SkIntToScalar(20)); in test_stairstep()
169 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_stairstep()
170 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_stairstep()
171 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_stairstep()
172 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_stairstep()
173 canvas->drawPath(path, paint); in test_stairstep()
178 SkPath path; in test_stairstep2() local
181 path.moveTo(20, 60); in test_stairstep2()
182 path.lineTo(35, 80); in test_stairstep2()
183 path.lineTo(50, 60); in test_stairstep2()
184 path.lineTo(65, 80); in test_stairstep2()
185 path.lineTo(80, 60); in test_stairstep2()
186 canvas->drawPath(path, paint); in test_stairstep2()
192 SkPath path; in test_overlapping() local
195 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_overlapping()
196 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_overlapping()
197 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_overlapping()
198 path.lineTo(SkIntToScalar(80), SkIntToScalar(30)); in test_overlapping()
199 canvas->drawPath(path, paint); in test_overlapping()
206 SkPath path; in test_partners() local
209 path.moveTo(20, 80); in test_partners()
210 path.lineTo(80, 80); in test_partners()
211 path.lineTo(80, 20); in test_partners()
212 path.lineTo(20, 20); in test_partners()
213 path.moveTo(30, 30); in test_partners()
214 path.lineTo(45, 50); in test_partners()
215 path.lineTo(30, 70); in test_partners()
216 path.moveTo(70, 30); in test_partners()
217 path.lineTo(70, 70); in test_partners()
218 path.lineTo(55, 50); in test_partners()
219 canvas->drawPath(path, paint); in test_partners()
225 SkPath path; in test_monotone_1() local
228 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_monotone_1()
229 path.quadTo(SkIntToScalar(20), SkIntToScalar(50), in test_monotone_1()
231 path.quadTo(SkIntToScalar(20), SkIntToScalar(50), in test_monotone_1()
233 canvas->drawPath(path, paint); in test_monotone_1()
239 SkPath path; in test_monotone_2() local
242 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_monotone_2()
243 path.lineTo(SkIntToScalar(80), SkIntToScalar(30)); in test_monotone_2()
244 path.quadTo(SkIntToScalar(20), SkIntToScalar(20), in test_monotone_2()
246 canvas->drawPath(path, paint); in test_monotone_2()
252 SkPath path; in test_monotone_3() local
255 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_monotone_3()
256 path.lineTo(SkIntToScalar(80), SkIntToScalar(70)); in test_monotone_3()
257 path.quadTo(SkIntToScalar(20), SkIntToScalar(80), in test_monotone_3()
259 canvas->drawPath(path, paint); in test_monotone_3()
265 SkPath path; in test_monotone_4() local
268 path.moveTo(80, 25); in test_monotone_4()
269 path.lineTo(50, 39); in test_monotone_4()
270 path.lineTo(20, 25); in test_monotone_4()
271 path.lineTo(40, 45); in test_monotone_4()
272 path.lineTo(70, 50); in test_monotone_4()
273 path.lineTo(80, 80); in test_monotone_4()
274 canvas->drawPath(path, paint); in test_monotone_4()
280 SkPath path; in test_monotone_5() local
283 path.moveTo(50, 20); in test_monotone_5()
284 path.lineTo(80, 80); in test_monotone_5()
285 path.lineTo(50, 50); in test_monotone_5()
286 path.lineTo(20, 80); in test_monotone_5()
287 canvas->drawPath(path, paint); in test_monotone_5()
292 SkPath path; in test_degenerate() local
295 path.moveTo(50, 20); in test_degenerate()
296 path.lineTo(70, 30); in test_degenerate()
297 path.lineTo(20, 50); in test_degenerate()
298 path.moveTo(50, 20); in test_degenerate()
299 path.lineTo(80, 80); in test_degenerate()
300 path.lineTo(50, 80); in test_degenerate()
301 canvas->drawPath(path, paint); in test_degenerate()
306 SkPath path; in test_coincident_edge() local
310 path.moveTo(80, 20); in test_coincident_edge()
311 path.lineTo(80, 80); in test_coincident_edge()
312 path.lineTo(20, 80); in test_coincident_edge()
314 path.moveTo(20, 20); in test_coincident_edge()
315 path.lineTo(80, 80); in test_coincident_edge()
316 path.lineTo(20, 80); in test_coincident_edge()
318 canvas->drawPath(path, paint); in test_coincident_edge()
324 SkPath path; in test_bowtie_coincident_triangle() local
327 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_bowtie_coincident_triangle()
328 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_bowtie_coincident_triangle()
329 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_bowtie_coincident_triangle()
330 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_bowtie_coincident_triangle()
331 path.moveTo(SkIntToScalar(50), SkIntToScalar(50)); in test_bowtie_coincident_triangle()
332 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_bowtie_coincident_triangle()
333 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_bowtie_coincident_triangle()
334 canvas->drawPath(path, paint); in test_bowtie_coincident_triangle()
340 SkPath path; in test_coincident_edges_1() local
343 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_1()
344 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_coincident_edges_1()
345 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_1()
346 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_1()
347 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_1()
348 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_1()
349 canvas->drawPath(path, paint); in test_coincident_edges_1()
354 SkPath path; in test_coincident_edges_2() local
357 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_2()
358 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_2()
359 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_2()
360 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_2()
361 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_coincident_edges_2()
362 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_2()
363 canvas->drawPath(path, paint); in test_coincident_edges_2()
368 SkPath path; in test_coincident_edges_3() local
371 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_3()
372 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_3()
373 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_3()
374 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_3()
375 path.lineTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_3()
376 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_coincident_edges_3()
377 canvas->drawPath(path, paint); in test_coincident_edges_3()
382 SkPath path; in test_coincident_edges_4() local
385 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_4()
386 path.lineTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_4()
387 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_coincident_edges_4()
388 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_4()
389 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_4()
390 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_4()
391 canvas->drawPath(path, paint); in test_coincident_edges_4()