Lines Matching refs:path
54 static void moveToH(SkPath* path, const uint32_t raw[]) { in moveToH() argument
56 path->moveTo(fptr[0], fptr[1]); in moveToH()
59 static void cubicToH(SkPath* path, const uint32_t raw[]) { in cubicToH() argument
61 path->cubicTo(fptr[0], fptr[1], fptr[2], fptr[3], fptr[4], fptr[5]); in cubicToH()
94 SkPath path; in test_crbug131181() local
95 moveToH(&path, &data[0]); in test_crbug131181()
96 cubicToH(&path, &data[2]); in test_crbug131181()
102 surface->getCanvas()->drawPath(path, paint); in test_crbug131181()
113 SkPath path; in test_crbug_140803() local
114 path.moveTo(2762, 20); in test_crbug_140803()
115 path.quadTo(11, 21702, 10, 21706); in test_crbug_140803()
118 canvas.drawPath(path, paint); in test_crbug_140803()
127 SkPath path; in test_inversepathwithclip() local
129 path.moveTo(0, 20); in test_inversepathwithclip()
130 path.quadTo(10, 10, 20, 20); in test_inversepathwithclip()
131 path.toggleInverseFillType(); in test_inversepathwithclip()
141 canvas->drawPath(path, paint); in test_inversepathwithclip()
143 canvas->drawPath(path, paint); in test_inversepathwithclip()
150 path.reset(); // preserves our filltype in test_inversepathwithclip()
151 path.moveTo(0, 10); in test_inversepathwithclip()
152 path.quadTo(10, 20, 20, 10); in test_inversepathwithclip()
156 canvas->drawPath(path, paint); in test_inversepathwithclip()
158 canvas->drawPath(path, paint); in test_inversepathwithclip()
167 SkPath path; in test_bug533() local
168 path.moveTo(64, 3); in test_bug533()
169 path.quadTo(-329936, -100000000, 1153, 330003); in test_bug533()
175 surface->getCanvas()->drawPath(path, paint); in test_bug533()
209 SkPath path; in test_bigcubic() local
210 path.moveTo(64, 3); in test_bigcubic()
211 path.cubicTo(-329936, -100000000, -329936, 100000000, 1153, 330003); in test_bigcubic()
217 surface->getCanvas()->drawPath(path, paint); in test_bigcubic()
223 SkPath path; in test_halfway() local
224 path.moveTo(16365.5f, 1394); in test_halfway()
225 path.lineTo(16365.5f, 1387.5f); in test_halfway()
226 path.quadTo(16365.5f, 1385.43f, 16367, 1383.96f); in test_halfway()
227 path.quadTo(16368.4f, 1382.5f, 16370.5f, 1382.5f); in test_halfway()
228 path.lineTo(16465.5f, 1382.5f); in test_halfway()
229 path.quadTo(16467.6f, 1382.5f, 16469, 1383.96f); in test_halfway()
230 path.quadTo(16470.5f, 1385.43f, 16470.5f, 1387.5f); in test_halfway()
231 path.lineTo(16470.5f, 1394); in test_halfway()
232 path.quadTo(16470.5f, 1396.07f, 16469, 1397.54f); in test_halfway()
233 path.quadTo(16467.6f, 1399, 16465.5f, 1399); in test_halfway()
234 path.lineTo(16370.5f, 1399); in test_halfway()
235 path.quadTo(16368.4f, 1399, 16367, 1397.54f); in test_halfway()
236 path.quadTo(16365.5f, 1396.07f, 16365.5f, 1394); in test_halfway()
237 path.close(); in test_halfway()
242 path.transform(m, &p2); in test_halfway()
251 path.transform(m, &p2); in test_halfway()
255 path.transform(m, &p2); in test_halfway()
269 SkPath path; in test_giantaa() local
270 path.addOval(SkRect::MakeXYWH(-10, -10, 20 + W, 20 + H)); in test_giantaa()
271 surface->getCanvas()->drawPath(path, paint); in test_giantaa()
279 SkPath path; in test_infinite_dash() local
280 path.moveTo(0, 0); in test_infinite_dash()
281 path.lineTo(5000000, 0); in test_infinite_dash()
291 paint.getFillPath(path, &filteredPath); in test_infinite_dash()
299 SkPath path; in test_crbug_165432() local
300 path.moveTo(0, 0); in test_crbug_165432()
301 path.lineTo(10000000, 0); in test_crbug_165432()
312 REPORTER_ASSERT(reporter, !dash->filterPath(&filteredPath, path, &rec, nullptr)); in test_crbug_165432()