Lines Matching full:path
21 SkPath path; member
31 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame() local
35 paint.getFillPath(path, &path); in make_frame()
36 return {path, 15}; in make_frame()
155 // We don't expect any output from this path.
171 SkPathBuilder path; in make_info() local
172 path.moveTo(24, 4); in make_info()
173 path.cubicTo(12.94999980926514f, 4, in make_info()
176 path.cubicTo(4, 35.04999923706055f, in make_info()
179 path.cubicTo(35.04999923706055f, 44, in make_info()
182 path.cubicTo(44, 12.95000076293945f, in make_info()
185 path.close(); in make_info()
186 path.moveTo(26, 34); in make_info()
187 path.lineTo(22, 34); in make_info()
188 path.lineTo(22, 22); in make_info()
189 path.lineTo(26, 22); in make_info()
190 path.lineTo(26, 34); in make_info()
191 path.close(); in make_info()
192 path.moveTo(26, 18); in make_info()
193 path.lineTo(22, 18); in make_info()
194 path.lineTo(22, 14); in make_info()
195 path.lineTo(26, 14); in make_info()
196 path.lineTo(26, 18); in make_info()
197 path.close(); in make_info()
198 return path.detach(); in make_info()
202 SkPathBuilder path; in make_accessibility() local
203 path.moveTo(12, 2); in make_accessibility()
204 path.cubicTo(13.10000038146973f, 2, in make_accessibility()
207 path.cubicTo(14, 5.099999904632568f, in make_accessibility()
210 path.cubicTo(10.89999961853027f, 6, in make_accessibility()
213 path.cubicTo(10, 2.900000095367432f, in make_accessibility()
216 path.close(); in make_accessibility()
217 path.moveTo(21, 9); in make_accessibility()
218 path.lineTo(15, 9); in make_accessibility()
219 path.lineTo(15, 22); in make_accessibility()
220 path.lineTo(13, 22); in make_accessibility()
221 path.lineTo(13, 16); in make_accessibility()
222 path.lineTo(11, 16); in make_accessibility()
223 path.lineTo(11, 22); in make_accessibility()
224 path.lineTo(9, 22); in make_accessibility()
225 path.lineTo(9, 9); in make_accessibility()
226 path.lineTo(3, 9); in make_accessibility()
227 path.lineTo(3, 7); in make_accessibility()
228 path.lineTo(21, 7); in make_accessibility()
229 path.lineTo(21, 9); in make_accessibility()
230 path.close(); in make_accessibility()
231 return path.detach(); in make_accessibility()
236 SkPathBuilder path; in make_visualizer() local
237 path.moveTo(1.9520f, 2.0000f); in make_visualizer()
238 path.conicTo(1.5573f, 1.9992f, 1.2782f, 2.2782f, 0.9235f); in make_visualizer()
239 path.conicTo(0.9992f, 2.5573f, 1.0000f, 2.9520f, 0.9235f); in make_visualizer()
240 path.lineTo(1.0000f, 5.4300f); in make_visualizer()
241 path.lineTo(17.0000f, 5.4300f); in make_visualizer()
242 path.lineTo(17.0000f, 2.9520f); in make_visualizer()
243 path.conicTo(17.0008f, 2.5573f, 16.7218f, 2.2782f, 0.9235f); in make_visualizer()
244 path.conicTo(16.4427f, 1.9992f, 16.0480f, 2.0000f, 0.9235f); in make_visualizer()
245 path.lineTo(1.9520f, 2.0000f); in make_visualizer()
246 path.close(); in make_visualizer()
247 path.moveTo(2.7140f, 3.1430f); in make_visualizer()
248 path.conicTo(3.0547f, 3.1287f, 3.2292f, 3.4216f, 0.8590f); in make_visualizer()
249 path.conicTo(3.4038f, 3.7145f, 3.2292f, 4.0074f, 0.8590f); in make_visualizer()
250 path.conicTo(3.0547f, 4.3003f, 2.7140f, 4.2860f, 0.8590f); in make_visualizer()
251 path.conicTo(2.1659f, 4.2631f, 2.1659f, 3.7145f, 0.7217f); in make_visualizer()
252 path.conicTo(2.1659f, 3.1659f, 2.7140f, 3.1430f, 0.7217f); in make_visualizer()
253 path.lineTo(2.7140f, 3.1430f); in make_visualizer()
254 path.close(); in make_visualizer()
255 path.moveTo(5.0000f, 3.1430f); in make_visualizer()
256 path.conicTo(5.3407f, 3.1287f, 5.5152f, 3.4216f, 0.8590f); in make_visualizer()
257 path.conicTo(5.6898f, 3.7145f, 5.5152f, 4.0074f, 0.8590f); in make_visualizer()
258 path.conicTo(5.3407f, 4.3003f, 5.0000f, 4.2860f, 0.8590f); in make_visualizer()
259 path.conicTo(4.4519f, 4.2631f, 4.4519f, 3.7145f, 0.7217f); in make_visualizer()
260 path.conicTo(4.4519f, 3.1659f, 5.0000f, 3.1430f, 0.7217f); in make_visualizer()
261 path.lineTo(5.0000f, 3.1430f); in make_visualizer()
262 path.close(); in make_visualizer()
263 path.moveTo(7.2860f, 3.1430f); in make_visualizer()
264 path.conicTo(7.6267f, 3.1287f, 7.8012f, 3.4216f, 0.8590f); in make_visualizer()
265 path.conicTo(7.9758f, 3.7145f, 7.8012f, 4.0074f, 0.8590f); in make_visualizer()
266 path.conicTo(7.6267f, 4.3003f, 7.2860f, 4.2860f, 0.8590f); in make_visualizer()
267 path.conicTo(6.7379f, 4.2631f, 6.7379f, 3.7145f, 0.7217f); in make_visualizer()
268 path.conicTo(6.7379f, 3.1659f, 7.2860f, 3.1430f, 0.7217f); in make_visualizer()
269 path.close(); in make_visualizer()
270 path.moveTo(1.0000f, 6.1900f); in make_visualizer()
271 path.lineTo(1.0000f, 14.3810f); in make_visualizer()
272 path.conicTo(0.9992f, 14.7757f, 1.2782f, 15.0548f, 0.9235f); in make_visualizer()
273 path.conicTo(1.5573f, 15.3338f, 1.9520f, 15.3330f, 0.9235f); in make_visualizer()
274 path.lineTo(16.0480f, 15.3330f); in make_visualizer()
275 path.conicTo(16.4427f, 15.3338f, 16.7218f, 15.0548f, 0.9235f); in make_visualizer()
276 path.conicTo(17.0008f, 14.7757f, 17.0000f, 14.3810f, 0.9235f); in make_visualizer()
277 path.lineTo(17.0000f, 6.1910f); in make_visualizer()
278 path.lineTo(1.0000f, 6.1910f); in make_visualizer()
279 path.lineTo(1.0000f, 6.1900f); in make_visualizer()
280 path.close(); in make_visualizer()
281 return path.detach(); in make_visualizer()
308 auto [path, dy] = gProcs[i](); in onOnceBeforeDraw()
309 fPath[i] = path; in onOnceBeforeDraw()
362 auto [path, dy] = gProcs[i](); in onOnceBeforeDraw()
363 fPath[i] = path; in onOnceBeforeDraw()
376 static void show(SkCanvas* canvas, const SkPath& path, const SkPaint& paint, in show() argument
385 canvas->drawPath(path, paint); in show()
390 SkPath path = SkPathBuilder().addCircle(50, 50, 40) in onDraw() local
408 show(canvas, path, paint, clipPtr, clipR.fTop, clipR.centerY()); in onDraw()
409 show(canvas, path, paint, clipPtr, clipR.centerY(), clipR.fBottom); in onDraw()
427 SkPath path; variable
428 path.moveTo(48,-23);
429 path.cubicTo(48,-29.5, 6,-30, 6,-30);
430 path.cubicTo(6,-30, 2,0, 2,0);
431 path.cubicTo(2,0, 44,-21.5, 48,-23);
432 path.close();
435 canvas->drawPath(path, p);
437 // Rotated path, which is not antialiased on GPU
440 canvas->drawPath(path, p);
451 SkPath path; local
452 path.moveTo(10, 10);
453 path.moveTo(75, 75);
454 path.lineTo(150, 75);
455 path.lineTo(150, 150);
456 path.lineTo(75, 150);
457 canvas->drawPath(path, p);
460 path.reset();
461 path.moveTo(75, 50);
462 path.moveTo(100, 75);
463 path.lineTo(150, 75);
464 path.lineTo(150, 150);
465 path.lineTo(75, 150);
466 path.lineTo(75, 50);
467 path.close();
468 canvas->drawPath(path, p);
471 path.reset();
472 path.moveTo(10, 10);
473 path.moveTo(75, 75);
474 path.lineTo(150, 75);
475 path.lineTo(150, 150);
476 path.lineTo(75, 150);
477 path.close();
478 canvas->drawPath(path, p);
481 path.reset();
482 path.moveTo(75, 150);
483 path.lineTo(75, 75);
484 path.lineTo(150, 75);
485 path.lineTo(150, 150);
486 path.lineTo(75, 150);
487 path.moveTo(75, 150);
488 canvas->drawPath(path, p);
491 path.reset();
492 path.moveTo(250, 75);
493 path.moveTo(250, 75);
494 path.moveTo(250, 75);
495 path.moveTo(100, 75);
496 path.lineTo(150, 75);
497 path.lineTo(150, 150);
498 path.lineTo(75, 150);
499 path.lineTo(75, 75);
500 path.close();
501 path.lineTo(0, 0);
502 path.close();
503 canvas->drawPath(path, p);
506 path.reset();
507 path.moveTo(75, 75);
508 path.lineTo(150, 75);
509 path.lineTo(150, 150);
510 path.lineTo(75, 150);
511 path.moveTo(250, 75);
512 canvas->drawPath(path, p);
515 path.reset();
516 path.moveTo(75, 10);
517 path.moveTo(75, 75);
518 path.lineTo(150, 75);
519 path.lineTo(150, 150);
520 path.lineTo(75, 150);
521 path.lineTo(75, 10);
522 path.close();
523 canvas->drawPath(path, p);
526 path.reset();
527 path.moveTo(75, 75);
528 path.lineTo(75, 75);
529 path.lineTo(75, 75);
530 path.lineTo(75, 75);
531 path.lineTo(150, 75);
532 path.lineTo(150, 150);
533 path.lineTo(75, 150);
534 path.close();
535 path.moveTo(10, 10);
536 path.lineTo(30, 10);
537 path.lineTo(10, 30);
538 canvas->drawPath(path, p);
541 path.reset();
542 path.moveTo(75, 75);
543 path.lineTo(75, 75);
544 path.moveTo(75, 75);
545 path.lineTo(75, 75);
546 path.lineTo(150, 75);
547 path.lineTo(150, 150);
548 path.lineTo(75, 150);
549 path.close();
550 canvas->drawPath(path, p);
553 path.reset();
554 path.moveTo(75, 75);
555 path.lineTo(150, 75);
556 path.lineTo(150, 150);
557 path.lineTo(75, 150);
558 path.lineTo(75, 250);
559 path.moveTo(75, 75);
560 path.close();
561 canvas->drawPath(path, p);
564 path.reset();
565 path.moveTo(75, 75);
566 path.lineTo(150, 75);
567 path.lineTo(150, 150);
568 path.lineTo(75, 150);
569 path.lineTo(75, 10);
570 path.moveTo(75, 75);
571 path.close();
572 canvas->drawPath(path, p);
575 path.reset();
576 path.moveTo(75, 75);
577 path.lineTo(150, 75);
578 path.lineTo(150, 150);
579 path.lineTo(10, 150);
580 path.moveTo(75, 75);
581 path.lineTo(75, 75);
582 canvas->drawPath(path, p);
585 path.reset();
586 path.moveTo(150, 75);
587 path.lineTo(150, 150);
588 path.lineTo(75, 150);
589 path.lineTo(75, 100);
590 canvas->drawPath(path, p);
593 path.reset();
594 path.moveTo(150, 100);
595 path.lineTo(150, 100);
596 path.lineTo(150, 150);
597 path.lineTo(75, 150);
598 path.lineTo(75, 100);
599 path.lineTo(75, 75);
600 path.lineTo(150, 75);
601 path.close();
602 canvas->drawPath(path, p);
605 path.reset();
606 path.moveTo(75, 75);
607 path.lineTo(150, 75);
608 path.lineTo(150, 150);
609 path.lineTo(140, 150);
610 path.lineTo(140, 75);
611 path.moveTo(75, 75);
612 path.close();
613 canvas->drawPath(path, p);
616 path.reset();
617 path.moveTo(75, 75);
618 path.lineTo(150, 75);
619 path.lineTo(150, 150);
620 path.lineTo(140, 150);
621 path.lineTo(140, 75);
622 path.moveTo(75, 75);
623 path.close();
624 canvas->drawPath(path, p);
642 SkPath path; variable
659 path.moveTo(pts[0]).cubicTo(pts[1], pts[2], pts[3])
664 canvas->drawPath(path, p);
676 SkPathBuilder path; variable
679 path.moveTo(pts[0]);
680 path.lineTo(pts[1]);
681 path.lineTo(pts[2]);
682 path.close();
683 path.arcTo(pts[3], pts[4], radius);
684 canvas->drawPath(path.detach(), p);
692 SkPath path; variable
693 path.moveTo(258, -2);
694 path.lineTo(258, 258);
695 path.lineTo(237, 258);
696 path.lineTo(240, -2);
697 path.lineTo(258, -2);
698 path.moveTo(-2, -2);
699 path.lineTo(240, -2);
700 path.lineTo(238, 131);
701 path.lineTo(-2, 131);
702 path.lineTo(-2, -2);
705 canvas->drawPath(path, paint);
710 SkPath path; variable
711 path.moveTo(m);
712 path.cubicTo(m + SkPoint{0.f, 1.f}, m + SkPoint{20.f, -750.f}, m + SkPoint{83.f, -746.f});
715 canvas->drawPath(path, paint);