Lines Matching refs:path
24 SkPath path; in hiragino_maru_goth_pro_e() local
25 path.moveTo(98.6f, 24.7f); in hiragino_maru_goth_pro_e()
26 path.cubicTo(101.7f, 24.7f, 103.6f, 22.8f, 103.6f, 19.2f); in hiragino_maru_goth_pro_e()
27 path.cubicTo(103.6f, 18.9f, 103.6f, 18.7f, 103.6f, 18.4f); in hiragino_maru_goth_pro_e()
28 path.cubicTo(102.6f, 5.3f, 94.4f, -6.1f, 79.8f, -6.1f); in hiragino_maru_goth_pro_e()
29 path.cubicTo(63.5f, -6.1f, 54.5f, 6, 54.5f, 23.3f); in hiragino_maru_goth_pro_e()
30 path.cubicTo(54.5f, 40.6f, 64, 52.2f, 80.4f, 52.2f); in hiragino_maru_goth_pro_e()
31 path.cubicTo(93.4f, 52.2f, 99.2f, 45.6f, 102.4f, 39); in hiragino_maru_goth_pro_e()
32 path.cubicTo(102.8f, 38.4f, 102.9f, 37.8f, 102.9f, 37.2f); in hiragino_maru_goth_pro_e()
33 path.cubicTo(102.9f, 35.4f, 101.5f, 34.2f, 99.8f, 33.7f); in hiragino_maru_goth_pro_e()
34 path.cubicTo(99.1f, 33.5f, 98.4f, 33.3f, 97.7f, 33.3f); in hiragino_maru_goth_pro_e()
35 path.cubicTo(96.3f, 33.3f, 95, 34, 94.1f, 35.8f); in hiragino_maru_goth_pro_e()
36 path.cubicTo(91.7f, 41.1f, 87.7f, 44.7f, 80.5f, 44.7f); in hiragino_maru_goth_pro_e()
37 path.cubicTo(69.7f, 44.7f, 63.6f, 37, 63.4f, 24.7f); in hiragino_maru_goth_pro_e()
38 path.lineTo(98.6f, 24.7f); in hiragino_maru_goth_pro_e()
39 path.close(); in hiragino_maru_goth_pro_e()
40 path.moveTo(63.7f, 17.4f); in hiragino_maru_goth_pro_e()
41 path.cubicTo(65, 7.6f, 70.2f, 1.2f, 79.8f, 1.2f); in hiragino_maru_goth_pro_e()
42 path.cubicTo(89, 1.2f, 93.3f, 8.5f, 94.5f, 15.6f); in hiragino_maru_goth_pro_e()
43 path.cubicTo(94.5f, 15.8f, 94.5f, 16, 94.5f, 16.1f); in hiragino_maru_goth_pro_e()
44 path.cubicTo(94.5f, 17, 94.1f, 17.4f, 93, 17.4f); in hiragino_maru_goth_pro_e()
45 path.lineTo(63.7f, 17.4f); in hiragino_maru_goth_pro_e()
46 path.close(); in hiragino_maru_goth_pro_e()
47 return path; in hiragino_maru_goth_pro_e()
50 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path() argument
53 canvas->drawPath(path, paint); in test_path()
57 canvas->drawPath(path, paint); in test_path()
60 static void test_rev(SkCanvas* canvas, const SkPath& path) { in test_rev() argument
61 test_path(canvas, path); in test_rev()
64 rev.reverseAddPath(path); in test_rev()
75 SkPath path; variable
77 path.addRect(r); test_rev(canvas, path);
80 path.offset(20, 20);
81 path.addRect(r); test_rev(canvas, path);
84 path.reset();
85 path.moveTo(10, 10); path.lineTo(30, 30);
86 path.addOval(r);
88 path.addOval(r);
89 test_rev(canvas, path);
91 path = hiragino_maru_goth_pro_e();
93 test_rev(canvas, path);