• Home
  • Raw
  • Download

Lines Matching refs:path

23     SkPath   path;  member
33 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame() local
37 skpathutils::FillPathWithPaint(path, paint, &path); in make_frame()
38 return {path, 15}; in make_frame()
173 SkPathBuilder path; in make_info() local
174 path.moveTo(24, 4); in make_info()
175 path.cubicTo(12.94999980926514f, 4, in make_info()
178 path.cubicTo(4, 35.04999923706055f, in make_info()
181 path.cubicTo(35.04999923706055f, 44, in make_info()
184 path.cubicTo(44, 12.95000076293945f, in make_info()
187 path.close(); in make_info()
188 path.moveTo(26, 34); in make_info()
189 path.lineTo(22, 34); in make_info()
190 path.lineTo(22, 22); in make_info()
191 path.lineTo(26, 22); in make_info()
192 path.lineTo(26, 34); in make_info()
193 path.close(); in make_info()
194 path.moveTo(26, 18); in make_info()
195 path.lineTo(22, 18); in make_info()
196 path.lineTo(22, 14); in make_info()
197 path.lineTo(26, 14); in make_info()
198 path.lineTo(26, 18); in make_info()
199 path.close(); in make_info()
200 return path.detach(); in make_info()
204 SkPathBuilder path; in make_accessibility() local
205 path.moveTo(12, 2); in make_accessibility()
206 path.cubicTo(13.10000038146973f, 2, in make_accessibility()
209 path.cubicTo(14, 5.099999904632568f, in make_accessibility()
212 path.cubicTo(10.89999961853027f, 6, in make_accessibility()
215 path.cubicTo(10, 2.900000095367432f, in make_accessibility()
218 path.close(); in make_accessibility()
219 path.moveTo(21, 9); in make_accessibility()
220 path.lineTo(15, 9); in make_accessibility()
221 path.lineTo(15, 22); in make_accessibility()
222 path.lineTo(13, 22); in make_accessibility()
223 path.lineTo(13, 16); in make_accessibility()
224 path.lineTo(11, 16); in make_accessibility()
225 path.lineTo(11, 22); in make_accessibility()
226 path.lineTo(9, 22); in make_accessibility()
227 path.lineTo(9, 9); in make_accessibility()
228 path.lineTo(3, 9); in make_accessibility()
229 path.lineTo(3, 7); in make_accessibility()
230 path.lineTo(21, 7); in make_accessibility()
231 path.lineTo(21, 9); in make_accessibility()
232 path.close(); in make_accessibility()
233 return path.detach(); in make_accessibility()
238 SkPathBuilder path; in make_visualizer() local
239 path.moveTo(1.9520f, 2.0000f); in make_visualizer()
240 path.conicTo(1.5573f, 1.9992f, 1.2782f, 2.2782f, 0.9235f); in make_visualizer()
241 path.conicTo(0.9992f, 2.5573f, 1.0000f, 2.9520f, 0.9235f); in make_visualizer()
242 path.lineTo(1.0000f, 5.4300f); in make_visualizer()
243 path.lineTo(17.0000f, 5.4300f); in make_visualizer()
244 path.lineTo(17.0000f, 2.9520f); in make_visualizer()
245 path.conicTo(17.0008f, 2.5573f, 16.7218f, 2.2782f, 0.9235f); in make_visualizer()
246 path.conicTo(16.4427f, 1.9992f, 16.0480f, 2.0000f, 0.9235f); in make_visualizer()
247 path.lineTo(1.9520f, 2.0000f); in make_visualizer()
248 path.close(); in make_visualizer()
249 path.moveTo(2.7140f, 3.1430f); in make_visualizer()
250 path.conicTo(3.0547f, 3.1287f, 3.2292f, 3.4216f, 0.8590f); in make_visualizer()
251 path.conicTo(3.4038f, 3.7145f, 3.2292f, 4.0074f, 0.8590f); in make_visualizer()
252 path.conicTo(3.0547f, 4.3003f, 2.7140f, 4.2860f, 0.8590f); in make_visualizer()
253 path.conicTo(2.1659f, 4.2631f, 2.1659f, 3.7145f, 0.7217f); in make_visualizer()
254 path.conicTo(2.1659f, 3.1659f, 2.7140f, 3.1430f, 0.7217f); in make_visualizer()
255 path.lineTo(2.7140f, 3.1430f); in make_visualizer()
256 path.close(); in make_visualizer()
257 path.moveTo(5.0000f, 3.1430f); in make_visualizer()
258 path.conicTo(5.3407f, 3.1287f, 5.5152f, 3.4216f, 0.8590f); in make_visualizer()
259 path.conicTo(5.6898f, 3.7145f, 5.5152f, 4.0074f, 0.8590f); in make_visualizer()
260 path.conicTo(5.3407f, 4.3003f, 5.0000f, 4.2860f, 0.8590f); in make_visualizer()
261 path.conicTo(4.4519f, 4.2631f, 4.4519f, 3.7145f, 0.7217f); in make_visualizer()
262 path.conicTo(4.4519f, 3.1659f, 5.0000f, 3.1430f, 0.7217f); in make_visualizer()
263 path.lineTo(5.0000f, 3.1430f); in make_visualizer()
264 path.close(); in make_visualizer()
265 path.moveTo(7.2860f, 3.1430f); in make_visualizer()
266 path.conicTo(7.6267f, 3.1287f, 7.8012f, 3.4216f, 0.8590f); in make_visualizer()
267 path.conicTo(7.9758f, 3.7145f, 7.8012f, 4.0074f, 0.8590f); in make_visualizer()
268 path.conicTo(7.6267f, 4.3003f, 7.2860f, 4.2860f, 0.8590f); in make_visualizer()
269 path.conicTo(6.7379f, 4.2631f, 6.7379f, 3.7145f, 0.7217f); in make_visualizer()
270 path.conicTo(6.7379f, 3.1659f, 7.2860f, 3.1430f, 0.7217f); in make_visualizer()
271 path.close(); in make_visualizer()
272 path.moveTo(1.0000f, 6.1900f); in make_visualizer()
273 path.lineTo(1.0000f, 14.3810f); in make_visualizer()
274 path.conicTo(0.9992f, 14.7757f, 1.2782f, 15.0548f, 0.9235f); in make_visualizer()
275 path.conicTo(1.5573f, 15.3338f, 1.9520f, 15.3330f, 0.9235f); in make_visualizer()
276 path.lineTo(16.0480f, 15.3330f); in make_visualizer()
277 path.conicTo(16.4427f, 15.3338f, 16.7218f, 15.0548f, 0.9235f); in make_visualizer()
278 path.conicTo(17.0008f, 14.7757f, 17.0000f, 14.3810f, 0.9235f); in make_visualizer()
279 path.lineTo(17.0000f, 6.1910f); in make_visualizer()
280 path.lineTo(1.0000f, 6.1910f); in make_visualizer()
281 path.lineTo(1.0000f, 6.1900f); in make_visualizer()
282 path.close(); in make_visualizer()
283 return path.detach(); in make_visualizer()
310 auto [path, dy] = gProcs[i](); in onOnceBeforeDraw()
311 fPath[i] = path; in onOnceBeforeDraw()
364 auto [path, dy] = gProcs[i](); in onOnceBeforeDraw()
365 fPath[i] = path; in onOnceBeforeDraw()
378 static void show(SkCanvas* canvas, const SkPath& path, const SkPaint& paint, in show() argument
387 canvas->drawPath(path, paint); in show()
392 SkPath path = SkPathBuilder().addCircle(50, 50, 40) in onDraw() local
410 show(canvas, path, paint, clipPtr, clipR.fTop, clipR.centerY()); in onDraw()
411 show(canvas, path, paint, clipPtr, clipR.centerY(), clipR.fBottom); in onDraw()
429 SkPath path; variable
430 path.moveTo(48,-23);
431 path.cubicTo(48,-29.5, 6,-30, 6,-30);
432 path.cubicTo(6,-30, 2,0, 2,0);
433 path.cubicTo(2,0, 44,-21.5, 48,-23);
434 path.close();
437 canvas->drawPath(path, p);
442 canvas->drawPath(path, p);
453 SkPath path; local
454 path.moveTo(10, 10);
455 path.moveTo(75, 75);
456 path.lineTo(150, 75);
457 path.lineTo(150, 150);
458 path.lineTo(75, 150);
459 canvas->drawPath(path, p);
462 path.reset();
463 path.moveTo(75, 50);
464 path.moveTo(100, 75);
465 path.lineTo(150, 75);
466 path.lineTo(150, 150);
467 path.lineTo(75, 150);
468 path.lineTo(75, 50);
469 path.close();
470 canvas->drawPath(path, p);
473 path.reset();
474 path.moveTo(10, 10);
475 path.moveTo(75, 75);
476 path.lineTo(150, 75);
477 path.lineTo(150, 150);
478 path.lineTo(75, 150);
479 path.close();
480 canvas->drawPath(path, p);
483 path.reset();
484 path.moveTo(75, 150);
485 path.lineTo(75, 75);
486 path.lineTo(150, 75);
487 path.lineTo(150, 150);
488 path.lineTo(75, 150);
489 path.moveTo(75, 150);
490 canvas->drawPath(path, p);
493 path.reset();
494 path.moveTo(250, 75);
495 path.moveTo(250, 75);
496 path.moveTo(250, 75);
497 path.moveTo(100, 75);
498 path.lineTo(150, 75);
499 path.lineTo(150, 150);
500 path.lineTo(75, 150);
501 path.lineTo(75, 75);
502 path.close();
503 path.lineTo(0, 0);
504 path.close();
505 canvas->drawPath(path, p);
508 path.reset();
509 path.moveTo(75, 75);
510 path.lineTo(150, 75);
511 path.lineTo(150, 150);
512 path.lineTo(75, 150);
513 path.moveTo(250, 75);
514 canvas->drawPath(path, p);
517 path.reset();
518 path.moveTo(75, 10);
519 path.moveTo(75, 75);
520 path.lineTo(150, 75);
521 path.lineTo(150, 150);
522 path.lineTo(75, 150);
523 path.lineTo(75, 10);
524 path.close();
525 canvas->drawPath(path, p);
528 path.reset();
529 path.moveTo(75, 75);
530 path.lineTo(75, 75);
531 path.lineTo(75, 75);
532 path.lineTo(75, 75);
533 path.lineTo(150, 75);
534 path.lineTo(150, 150);
535 path.lineTo(75, 150);
536 path.close();
537 path.moveTo(10, 10);
538 path.lineTo(30, 10);
539 path.lineTo(10, 30);
540 canvas->drawPath(path, p);
543 path.reset();
544 path.moveTo(75, 75);
545 path.lineTo(75, 75);
546 path.moveTo(75, 75);
547 path.lineTo(75, 75);
548 path.lineTo(150, 75);
549 path.lineTo(150, 150);
550 path.lineTo(75, 150);
551 path.close();
552 canvas->drawPath(path, p);
555 path.reset();
556 path.moveTo(75, 75);
557 path.lineTo(150, 75);
558 path.lineTo(150, 150);
559 path.lineTo(75, 150);
560 path.lineTo(75, 250);
561 path.moveTo(75, 75);
562 path.close();
563 canvas->drawPath(path, p);
566 path.reset();
567 path.moveTo(75, 75);
568 path.lineTo(150, 75);
569 path.lineTo(150, 150);
570 path.lineTo(75, 150);
571 path.lineTo(75, 10);
572 path.moveTo(75, 75);
573 path.close();
574 canvas->drawPath(path, p);
577 path.reset();
578 path.moveTo(75, 75);
579 path.lineTo(150, 75);
580 path.lineTo(150, 150);
581 path.lineTo(10, 150);
582 path.moveTo(75, 75);
583 path.lineTo(75, 75);
584 canvas->drawPath(path, p);
587 path.reset();
588 path.moveTo(150, 75);
589 path.lineTo(150, 150);
590 path.lineTo(75, 150);
591 path.lineTo(75, 100);
592 canvas->drawPath(path, p);
595 path.reset();
596 path.moveTo(150, 100);
597 path.lineTo(150, 100);
598 path.lineTo(150, 150);
599 path.lineTo(75, 150);
600 path.lineTo(75, 100);
601 path.lineTo(75, 75);
602 path.lineTo(150, 75);
603 path.close();
604 canvas->drawPath(path, p);
607 path.reset();
608 path.moveTo(75, 75);
609 path.lineTo(150, 75);
610 path.lineTo(150, 150);
611 path.lineTo(140, 150);
612 path.lineTo(140, 75);
613 path.moveTo(75, 75);
614 path.close();
615 canvas->drawPath(path, p);
618 path.reset();
619 path.moveTo(75, 75);
620 path.lineTo(150, 75);
621 path.lineTo(150, 150);
622 path.lineTo(140, 150);
623 path.lineTo(140, 75);
624 path.moveTo(75, 75);
625 path.close();
626 canvas->drawPath(path, p);
644 SkPath path; variable
661 path.moveTo(pts[0]).cubicTo(pts[1], pts[2], pts[3])
666 canvas->drawPath(path, p);
678 SkPathBuilder path; variable
681 path.moveTo(pts[0]);
682 path.lineTo(pts[1]);
683 path.lineTo(pts[2]);
684 path.close();
685 path.arcTo(pts[3], pts[4], radius);
686 canvas->drawPath(path.detach(), p);
694 SkPath path; variable
695 path.moveTo(258, -2);
696 path.lineTo(258, 258);
697 path.lineTo(237, 258);
698 path.lineTo(240, -2);
699 path.lineTo(258, -2);
700 path.moveTo(-2, -2);
701 path.lineTo(240, -2);
702 path.lineTo(238, 131);
703 path.lineTo(-2, 131);
704 path.lineTo(-2, -2);
707 canvas->drawPath(path, paint);
712 SkPath path; variable
713 path.moveTo(m);
714 path.cubicTo(m + SkPoint{0.f, 1.f}, m + SkPoint{20.f, -750.f}, m + SkPoint{83.f, -746.f});
717 canvas->drawPath(path, paint);