Lines Matching refs:path

18     SkPath path;  in test_concave()  local
20 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_concave()
21 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_concave()
22 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_concave()
23 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_concave()
24 canvas->drawPath(path, paint); in test_concave()
29 SkPath path; in test_reverse_concave() local
32 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_reverse_concave()
33 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_reverse_concave()
34 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_reverse_concave()
35 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_reverse_concave()
36 canvas->drawPath(path, paint); in test_reverse_concave()
42 SkPath path; in test_bowtie() local
45 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_bowtie()
46 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_bowtie()
47 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_bowtie()
48 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_bowtie()
49 canvas->drawPath(path, paint); in test_bowtie()
55 SkPath path; in test_fake_bowtie() local
58 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_fake_bowtie()
59 path.lineTo(SkIntToScalar(50), SkIntToScalar(40)); in test_fake_bowtie()
60 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_fake_bowtie()
61 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_fake_bowtie()
62 path.lineTo(SkIntToScalar(50), SkIntToScalar(60)); in test_fake_bowtie()
63 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_fake_bowtie()
64 canvas->drawPath(path, paint); in test_fake_bowtie()
70 SkPath path; in test_fish() local
73 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_fish()
74 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_fish()
75 path.lineTo(SkIntToScalar(70), SkIntToScalar(50)); in test_fish()
76 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_fish()
77 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_fish()
78 path.lineTo(SkIntToScalar(0), SkIntToScalar(50)); in test_fish()
79 canvas->drawPath(path, paint); in test_fish()
85 SkPath path; in test_collinear_edges() local
88 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_collinear_edges()
89 path.lineTo(SkIntToScalar(50), SkIntToScalar(20)); in test_collinear_edges()
90 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_collinear_edges()
91 path.lineTo(SkIntToScalar(50), SkIntToScalar(80)); in test_collinear_edges()
92 canvas->drawPath(path, paint); in test_collinear_edges()
98 SkPath path; in test_hole() local
101 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_hole()
102 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_hole()
103 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_hole()
104 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_hole()
105 path.moveTo(SkIntToScalar(30), SkIntToScalar(30)); in test_hole()
106 path.lineTo(SkIntToScalar(30), SkIntToScalar(70)); in test_hole()
107 path.lineTo(SkIntToScalar(70), SkIntToScalar(70)); in test_hole()
108 path.lineTo(SkIntToScalar(70), SkIntToScalar(30)); in test_hole()
109 canvas->drawPath(path, paint); in test_hole()
115 SkPath path; in test_star() local
118 path.moveTo(30, 20); in test_star()
119 path.lineTo(50, 80); in test_star()
120 path.lineTo(70, 20); in test_star()
121 path.lineTo(20, 57); in test_star()
122 path.lineTo(80, 57); in test_star()
123 path.close(); in test_star()
124 canvas->drawPath(path, paint); in test_star()
130 SkPath path; in test_stairstep() local
133 path.moveTo(SkIntToScalar(50), SkIntToScalar(50)); in test_stairstep()
134 path.lineTo(SkIntToScalar(50), SkIntToScalar(20)); in test_stairstep()
135 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_stairstep()
136 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_stairstep()
137 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_stairstep()
138 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_stairstep()
139 canvas->drawPath(path, paint); in test_stairstep()
144 SkPath path; in test_stairstep2() local
147 path.moveTo(20, 60); in test_stairstep2()
148 path.lineTo(35, 80); in test_stairstep2()
149 path.lineTo(50, 60); in test_stairstep2()
150 path.lineTo(65, 80); in test_stairstep2()
151 path.lineTo(80, 60); in test_stairstep2()
152 canvas->drawPath(path, paint); in test_stairstep2()
158 SkPath path; in test_overlapping() local
161 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_overlapping()
162 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_overlapping()
163 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_overlapping()
164 path.lineTo(SkIntToScalar(80), SkIntToScalar(30)); in test_overlapping()
165 canvas->drawPath(path, paint); in test_overlapping()
171 SkPath path; in test_monotone_1() local
174 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_monotone_1()
175 path.quadTo(SkIntToScalar(20), SkIntToScalar(50), in test_monotone_1()
177 path.quadTo(SkIntToScalar(20), SkIntToScalar(50), in test_monotone_1()
179 canvas->drawPath(path, paint); in test_monotone_1()
185 SkPath path; in test_monotone_2() local
188 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_monotone_2()
189 path.lineTo(SkIntToScalar(80), SkIntToScalar(30)); in test_monotone_2()
190 path.quadTo(SkIntToScalar(20), SkIntToScalar(20), in test_monotone_2()
192 canvas->drawPath(path, paint); in test_monotone_2()
198 SkPath path; in test_monotone_3() local
201 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_monotone_3()
202 path.lineTo(SkIntToScalar(80), SkIntToScalar(70)); in test_monotone_3()
203 path.quadTo(SkIntToScalar(20), SkIntToScalar(80), in test_monotone_3()
205 canvas->drawPath(path, paint); in test_monotone_3()
211 SkPath path; in test_monotone_4() local
214 path.moveTo(80, 25); in test_monotone_4()
215 path.lineTo(50, 39); in test_monotone_4()
216 path.lineTo(20, 25); in test_monotone_4()
217 path.lineTo(40, 45); in test_monotone_4()
218 path.lineTo(70, 50); in test_monotone_4()
219 path.lineTo(80, 80); in test_monotone_4()
220 canvas->drawPath(path, paint); in test_monotone_4()
226 SkPath path; in test_monotone_5() local
229 path.moveTo(50, 20); in test_monotone_5()
230 path.lineTo(80, 80); in test_monotone_5()
231 path.lineTo(50, 50); in test_monotone_5()
232 path.lineTo(20, 80); in test_monotone_5()
233 canvas->drawPath(path, paint); in test_monotone_5()
238 SkPath path; in test_degenerate() local
241 path.moveTo(50, 20); in test_degenerate()
242 path.lineTo(70, 30); in test_degenerate()
243 path.lineTo(20, 50); in test_degenerate()
244 path.moveTo(50, 20); in test_degenerate()
245 path.lineTo(80, 80); in test_degenerate()
246 path.lineTo(50, 80); in test_degenerate()
247 canvas->drawPath(path, paint); in test_degenerate()
252 SkPath path; in test_coincident_edge() local
256 path.moveTo(80, 20); in test_coincident_edge()
257 path.lineTo(80, 80); in test_coincident_edge()
258 path.lineTo(20, 80); in test_coincident_edge()
260 path.moveTo(20, 20); in test_coincident_edge()
261 path.lineTo(80, 80); in test_coincident_edge()
262 path.lineTo(20, 80); in test_coincident_edge()
264 canvas->drawPath(path, paint); in test_coincident_edge()
270 SkPath path; in test_bowtie_coincident_triangle() local
273 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_bowtie_coincident_triangle()
274 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_bowtie_coincident_triangle()
275 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_bowtie_coincident_triangle()
276 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_bowtie_coincident_triangle()
277 path.moveTo(SkIntToScalar(50), SkIntToScalar(50)); in test_bowtie_coincident_triangle()
278 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_bowtie_coincident_triangle()
279 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_bowtie_coincident_triangle()
280 canvas->drawPath(path, paint); in test_bowtie_coincident_triangle()
286 SkPath path; in test_coincident_edges_1() local
289 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_1()
290 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_coincident_edges_1()
291 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_1()
292 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_1()
293 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_1()
294 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_1()
295 canvas->drawPath(path, paint); in test_coincident_edges_1()
300 SkPath path; in test_coincident_edges_2() local
303 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_2()
304 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_2()
305 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_2()
306 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_2()
307 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); in test_coincident_edges_2()
308 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_2()
309 canvas->drawPath(path, paint); in test_coincident_edges_2()
314 SkPath path; in test_coincident_edges_3() local
317 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_3()
318 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_3()
319 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_3()
320 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_3()
321 path.lineTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_3()
322 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_coincident_edges_3()
323 canvas->drawPath(path, paint); in test_coincident_edges_3()
328 SkPath path; in test_coincident_edges_4() local
331 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_4()
332 path.lineTo(SkIntToScalar(20), SkIntToScalar(20)); in test_coincident_edges_4()
333 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_coincident_edges_4()
334 path.moveTo(SkIntToScalar(20), SkIntToScalar(80)); in test_coincident_edges_4()
335 path.lineTo(SkIntToScalar(20), SkIntToScalar(50)); in test_coincident_edges_4()
336 path.lineTo(SkIntToScalar(50), SkIntToScalar(50)); in test_coincident_edges_4()
337 canvas->drawPath(path, paint); in test_coincident_edges_4()