Lines Matching full:path

65 static void moveToH(SkPath* path, const uint32_t raw[]) {
67 path->moveTo(fptr[0], fptr[1]);
70 static void cubicToH(SkPath* path, const uint32_t raw[]) {
72 path->cubicTo(fptr[0], fptr[1], fptr[2], fptr[3], fptr[4], fptr[5]);
105 SkPath path;
106 moveToH(&path, &data[0]);
107 cubicToH(&path, &data[2]);
113 surface->getCanvas()->drawPath(path, paint);
138 // moveTo's) it uses the convex aaa optimized edge walking algorithm after clipping the path to
145 SkPath path;
146 path.setFillType(SkPathFillType::kWinding);
147 path.moveTo(7.00649e-45f, 2.f);
148 path.moveTo(0.0160219f, 7.45063e-09f);
149 path.moveTo(192.263f, 8.40779e-44f);
150 path.moveTo(7.34684e-40f, 194.25f);
151 path.moveTo(2.3449e-38f, 6.01858e-36f);
152 path.moveTo(7.34684e-40f, 194.25f);
153 path.cubicTo(5.07266e-39f, 56.0488f,
164 canvas.drawPath(path, paint);
167 // memory access on release builds so that the test would fail. Given the path, it should only
177 // Need to exercise drawing an inverse-path whose bounds intersect the clip,
183 SkPath path;
185 path.moveTo(0, 20);
186 path.quadTo(10, 10, 20, 20);
187 path.toggleInverseFillType();
197 canvas->drawPath(path, paint);
199 canvas->drawPath(path, paint);
203 // Now do the test again, with the path flipped, so we only draw in the
206 path.reset(); // preserves our filltype
207 path.moveTo(0, 10);
208 path.quadTo(10, 20, 20, 10);
212 canvas->drawPath(path, paint);
214 canvas->drawPath(path, paint);
223 SkPath path;
224 path.moveTo(64, 3);
225 path.quadTo(-329936, -100000000, 1153, 330003);
231 surface->getCanvas()->drawPath(path, paint);
246 <path stroke="mintcream" stroke-dasharray="27734 35660 2157846850 247"
265 SkPath path;
266 path.moveTo(64, 3);
267 path.cubicTo(-329936, -100000000, -329936, 100000000, 1153, 330003);
273 surface->getCanvas()->drawPath(path, paint);
279 SkPath path;
280 path.moveTo(16365.5f, 1394);
281 path.lineTo(16365.5f, 1387.5f);
282 path.quadTo(16365.5f, 1385.43f, 16367, 1383.96f);
283 path.quadTo(16368.4f, 1382.5f, 16370.5f, 1382.5f);
284 path.lineTo(16465.5f, 1382.5f);
285 path.quadTo(16467.6f, 1382.5f, 16469, 1383.96f);
286 path.quadTo(16470.5f, 1385.43f, 16470.5f, 1387.5f);
287 path.lineTo(16470.5f, 1394);
288 path.quadTo(16470.5f, 1396.07f, 16469, 1397.54f);
289 path.quadTo(16467.6f, 1399, 16465.5f, 1399);
290 path.lineTo(16370.5f, 1399);
291 path.quadTo(16368.4f, 1399, 16367, 1397.54f);
292 path.quadTo(16365.5f, 1396.07f, 16365.5f, 1394);
293 path.close();
298 path.transform(m, &p2);
307 path.transform(m, &p2);
311 path.transform(m, &p2);
316 // even when the path itself was smaller. We just draw and hope in the debug
325 SkPath path;
326 path.addOval(SkRect::MakeXYWH(-10, -10, 20 + W, 20 + H));
327 surface->getCanvas()->drawPath(path, paint);
335 SkPath path;
336 path.moveTo(0, 0);
337 path.lineTo(5000000, 0);
347 paint.getFillPath(path, &filteredPath);
353 // Limit extreme dash path effects to avoid exhausting the system memory.
355 SkPath path;
356 path.moveTo(0, 0);
357 path.lineTo(10000000, 0);
368 REPORTER_ASSERT(reporter, !dash->filterPath(&filteredPath, path, &rec, nullptr));