Home
last modified time | relevance | path

Searched refs:drawPath (Results 1 – 25 of 768) sorted by relevance

12345678910>>...31

/third_party/skia/gm/
Dskbug1719.cpp45 SkPath drawPath; variable
46 drawPath.moveTo(823.f, 653.f);
47 drawPath.lineTo(1043.f, 653.f);
48 drawPath.lineTo(1043.f, 733.f);
49 drawPath.lineTo(823.f, 733.f);
50 drawPath.lineTo(823.f, 653.f);
51 drawPath.close();
52 drawPath.moveTo(832.f, 654.f);
53 drawPath.lineTo(1034.f, 654.f);
54 drawPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
[all …]
Dconcavepaths.cpp18 canvas->drawPath(SkPath::Polygon({{20,20}, {80,20}, {30,30}, {20,80}}, false), paint); in test_concave()
25 canvas->drawPath(SkPath::Polygon({{20,20}, {20,80}, {30,30}, {80,20}}, false), paint); in test_reverse_concave()
33 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {80,20}, {20,80}}, false), paint); in test_bowtie()
41 canvas->drawPath(SkPath::Polygon({{20,20}, {50,40}, {80,20}, {80,80}, {50,60}, {20,80}}, in test_fake_bowtie()
51 canvas->drawPath(SkPath::Polygon({{20,20}, {50,50}, {68,20}, {68,80}, {50,50}, {20,80}}, in test_intruding_vertex()
64 canvas->drawPath(SkPath::Polygon(pts, SK_ARRAY_COUNT(pts), false, in test_inversion_repeat_vertex()
73 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {70,50}, {80,20}, {20,80}, {0,50}}, false, in test_fish()
86 canvas->drawPath(path, paint); in test_fast_forward()
97 canvas->drawPath(path, paint); in test_hole()
105 canvas->drawPath(SkPath::Polygon({{30,20}, {50,80}, {70,20}, {20,57}, {80,57}}, false), in test_star()
[all …]
Dstrokes.cpp140 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw()
142 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw()
149 canvas->drawPath(fDashedfPath, dashPaint); in onDraw()
151 canvas->drawPath(fRefPath[i * 2], fillPaint); in onDraw()
155 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw()
157 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw()
160 canvas->drawPath(fRefPath[1 + i * 2], fillPaint); in onDraw()
162 canvas->drawPath(fCubicPath, strokePaint); in onDraw()
164 canvas->drawPath(fQuadPath, strokePaint); in onDraw()
166 canvas->drawPath(fLinePath, strokePaint); in onDraw()
[all …]
Dpatharcto.cpp39 canvas->drawPath(path.detach(), paint);
56 canvas->drawPath(path, paint);
57 canvas->drawPath(path2, paint);
97 canvas->drawPath(path0, paint);
98 canvas->drawPath(path1, paint);
104 canvas->drawPath(path, paint);
111 canvas->drawPath(path, paint);
118 canvas->drawPath(path, paint);
125 canvas->drawPath(path, paint);
Dpathfill.cpp332 canvas->drawPath(fPath[i], paint); in onDraw()
339 canvas->drawPath(fInfoPath, paint); in onDraw()
344 canvas->drawPath(fAccessibilityPath, paint); in onDraw()
348 canvas->drawPath(fVisualizerPath, paint); in onDraw()
385 canvas->drawPath(path, paint); in show()
435 canvas->drawPath(path, p);
440 canvas->drawPath(path, p);
457 canvas->drawPath(path, p);
468 canvas->drawPath(path, p);
478 canvas->drawPath(path, p);
[all …]
Daaa.cpp56 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM()
69 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM()
80 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM()
89 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM()
109 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
117 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
125 canvas->drawPath(SkPathBuilder().addRect({20, 20, 100.4999f, 100}) in DEF_SIMPLE_GM()
130 canvas->drawPath(SkPathBuilder().addRect({20, 20, 100.1f, 100}) in DEF_SIMPLE_GM()
144 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
Dpathopsinverse.cpp86 canvas->drawPath(one, fOnePaint); in onDraw()
87 canvas->drawPath(one, fOutlinePaint); in onDraw()
88 canvas->drawPath(two, fTwoPaint); in onDraw()
89 canvas->drawPath(two, fOutlinePaint); in onDraw()
98 canvas->drawPath(result, fOpPaint[op]); in onDraw()
99 canvas->drawPath(result, fOutlinePaint); in onDraw()
153 canvas->drawPath(path[0], paint);
154 canvas->drawPath(path[1], paint);
158 canvas->drawPath(resultPath, paint);
Dcollapsepaths.cpp25 canvas->drawPath(path.detach(), paint); in test_collapse1()
37 canvas->drawPath(path.detach(), paint); in test_collapse2()
49 canvas->drawPath(path.detach(), paint); in test_collapse3()
61 canvas->drawPath(path.detach(), paint); in test_collapse4()
74 canvas->drawPath(path.detach(), paint); in test_collapse5()
87 canvas->drawPath(path.detach(), paint); in test_collapse6()
100 canvas->drawPath(path.detach(), paint); in test_collapse7()
113 canvas->drawPath(path.detach(), paint); in test_collapse8()
129 canvas->drawPath(path.detach(), paint); in test_collapse9()
141 canvas->drawPath(path.detach(), paint); in test_collapse10()
Doverstroke.cpp114 canvas->drawPath(ribs, p); in draw_ribs()
127 canvas->drawPath(path, p); in draw_small_quad()
134 canvas->drawPath(path, p); in draw_large_quad()
148 canvas->drawPath(fillpath, fillp); in draw_quad_fillpath()
164 canvas->drawPath(path, p); in draw_small_cubic()
171 canvas->drawPath(path, p); in draw_large_cubic()
185 canvas->drawPath(fillpath, fillp); in draw_cubic_fillpath()
202 canvas->drawPath(path, p); in draw_small_oval()
209 canvas->drawPath(path, p); in draw_large_oval()
223 canvas->drawPath(fillpath, fillp); in draw_oval_fillpath()
Dthinconcavepaths.cpp26 canvas->drawPath(path, paint); in draw_thin_stroked_rect()
37 canvas->drawPath(path, paint); in draw_thin_right_angle()
49 canvas->drawPath(path, paint); in draw_golf_club()
65 canvas->drawPath(path, paint); in draw_barbell()
79 canvas->drawPath(path, paint); in draw_thin_rect_and_triangle()
92 canvas->drawPath(path, paint); in draw_hipster_pants()
107 canvas->drawPath(path, paint); in draw_skinny_snake()
118 canvas->drawPath(path, paint); in draw_pointy_golf_club()
131 canvas->drawPath(path, paint); in draw_small_i()
/third_party/flutter/skia/gm/
Dskbug1719.cpp45 SkPath drawPath; variable
46 drawPath.moveTo(823.f, 653.f);
47 drawPath.lineTo(1043.f, 653.f);
48 drawPath.lineTo(1043.f, 733.f);
49 drawPath.lineTo(823.f, 733.f);
50 drawPath.lineTo(823.f, 653.f);
51 drawPath.close();
52 drawPath.moveTo(832.f, 654.f);
53 drawPath.lineTo(1034.f, 654.f);
54 drawPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
[all …]
Dconcavepaths.cpp23 canvas->drawPath(path, paint); in test_concave()
35 canvas->drawPath(path, paint); in test_reverse_concave()
48 canvas->drawPath(path, paint); in test_bowtie()
63 canvas->drawPath(path, paint); in test_fake_bowtie()
80 canvas->drawPath(path, paint); in test_intruding_vertex()
97 canvas->drawPath(path, paint); in test_inversion_repeat_vertex()
112 canvas->drawPath(path, paint); in test_fish()
128 canvas->drawPath(path, paint); in test_fast_forward()
139 canvas->drawPath(path, paint); in test_hole()
147 canvas->drawPath(SkPath().addPoly({{30,20}, {50,80}, {70,20}, {20,57}, {80,57}}, false), in test_star()
[all …]
Dstrokes.cpp140 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw()
142 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw()
149 canvas->drawPath(fDashedfPath, dashPaint); in onDraw()
151 canvas->drawPath(fRefPath[i * 2], fillPaint); in onDraw()
155 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw()
157 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw()
160 canvas->drawPath(fRefPath[1 + i * 2], fillPaint); in onDraw()
162 canvas->drawPath(fCubicPath, strokePaint); in onDraw()
164 canvas->drawPath(fQuadPath, strokePaint); in onDraw()
166 canvas->drawPath(fLinePath, strokePaint); in onDraw()
[all …]
Dpathfill.cpp328 canvas->drawPath(fPath[i], paint); in onDraw()
335 canvas->drawPath(fInfoPath, paint); in onDraw()
340 canvas->drawPath(fAccessibilityPath, paint); in onDraw()
344 canvas->drawPath(fVisualizerPath, paint); in onDraw()
379 canvas->drawPath(path, paint); in show()
430 canvas->drawPath(path, p);
435 canvas->drawPath(path, p);
452 canvas->drawPath(path, p);
463 canvas->drawPath(path, p);
473 canvas->drawPath(path, p);
[all …]
Daaa.cpp54 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
68 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
80 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
90 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
109 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
117 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
128 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
134 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
147 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
Dcollapsepaths.cpp25 canvas->drawPath(path, paint); in test_collapse1()
37 canvas->drawPath(path, paint); in test_collapse2()
49 canvas->drawPath(path, paint); in test_collapse3()
61 canvas->drawPath(path, paint); in test_collapse4()
74 canvas->drawPath(path, paint); in test_collapse5()
87 canvas->drawPath(path, paint); in test_collapse6()
100 canvas->drawPath(path, paint); in test_collapse7()
113 canvas->drawPath(path, paint); in test_collapse8()
129 canvas->drawPath(path, paint); in test_collapse9()
141 canvas->drawPath(path, paint); in test_collapse10()
Doverstroke.cpp124 canvas->drawPath(ribs, p); in draw_ribs()
137 canvas->drawPath(path, p); in draw_small_quad()
144 canvas->drawPath(path, p); in draw_large_quad()
158 canvas->drawPath(fillpath, fillp); in draw_quad_fillpath()
174 canvas->drawPath(path, p); in draw_small_cubic()
181 canvas->drawPath(path, p); in draw_large_cubic()
195 canvas->drawPath(fillpath, fillp); in draw_cubic_fillpath()
212 canvas->drawPath(path, p); in draw_small_oval()
219 canvas->drawPath(path, p); in draw_large_oval()
233 canvas->drawPath(fillpath, fillp); in draw_oval_fillpath()
Dthinconcavepaths.cpp26 canvas->drawPath(path, paint); in draw_thin_stroked_rect()
37 canvas->drawPath(path, paint); in draw_thin_right_angle()
49 canvas->drawPath(path, paint); in draw_golf_club()
65 canvas->drawPath(path, paint); in draw_barbell()
79 canvas->drawPath(path, paint); in draw_thin_rect_and_triangle()
92 canvas->drawPath(path, paint); in draw_hipster_pants()
107 canvas->drawPath(path, paint); in draw_skinny_snake()
118 canvas->drawPath(path, paint); in draw_pointy_golf_club()
131 canvas->drawPath(path, paint); in draw_small_i()
Dstrokefill.cpp250 canvas->drawPath(path, p); in path_bold()
259 canvas->drawPath(path, p); in path_bold()
288 canvas->drawPath(path, paint);
294 canvas->drawPath(path2, paint);
298 canvas->drawPath(path2, paint);
305 canvas->drawPath(path2, paint);
314 canvas->drawPath(path3, paint);
323 canvas->drawPath(path4, paint);
332 canvas->drawPath(path4, paint);
341 canvas->drawPath(path4, paint);
[all …]
/third_party/skia/tests/
DDrawPathTest.cpp113 surface->getCanvas()->drawPath(path, paint); in test_crbug131181()
126 canvas.drawPath(SkPath().moveTo(2762, 20).quadTo(11, 21702, 10, 21706), paint); in test_crbug_140803()
164 canvas.drawPath(path, paint); in test_crbug_1239558()
197 canvas->drawPath(path, paint); in test_inversepathwithclip()
199 canvas->drawPath(path, paint); in test_inversepathwithclip()
212 canvas->drawPath(path, paint); in test_inversepathwithclip()
214 canvas->drawPath(path, paint); in test_inversepathwithclip()
231 surface->getCanvas()->drawPath(path, paint); in test_bug533()
273 surface->getCanvas()->drawPath(path, paint); in test_bigcubic()
303 canvas->drawPath(p2, paint); in test_halfway()
[all …]
DGpuDrawPathTest.cpp30 canvas->drawPath(SkPath(), paint); in test_drawPathEmpty()
42 canvas->drawPath(SkPath(), paint); in test_drawPathEmpty()
54 canvas->drawPath(p1, paint); in fill_and_stroke()
55 canvas->drawPath(p2, paint); in fill_and_stroke()
58 canvas->drawPath(p1, paint); in fill_and_stroke()
59 canvas->drawPath(p2, paint); in fill_and_stroke()
112 surface->getCanvas()->drawPath(path, paint); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
130 surface->getCanvas()->drawPath(path, paint); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
/third_party/flutter/skia/tests/
DDrawPathTest.cpp113 surface->getCanvas()->drawPath(path, paint); in test_crbug131181()
126 canvas.drawPath(SkPath().moveTo(2762, 20).quadTo(11, 21702, 10, 21706), paint); in test_crbug_140803()
149 canvas->drawPath(path, paint); in test_inversepathwithclip()
151 canvas->drawPath(path, paint); in test_inversepathwithclip()
164 canvas->drawPath(path, paint); in test_inversepathwithclip()
166 canvas->drawPath(path, paint); in test_inversepathwithclip()
183 surface->getCanvas()->drawPath(path, paint); in test_bug533()
225 surface->getCanvas()->drawPath(path, paint); in test_bigcubic()
255 canvas->drawPath(p2, paint); in test_halfway()
260 canvas->drawPath(p2, paint); in test_halfway()
[all …]
/third_party/flutter/skia/samplecode/
DSampleClock.cpp56 canvas->drawPath(path, paintStroke); in onDrawContent()
84 canvas->drawPath(path, paintStroke); in onDrawContent()
106 canvas->drawPath(path, paintStroke); in onDrawContent()
127 canvas->drawPath(path, paintStroke); in onDrawContent()
149 canvas->drawPath(path, paintStroke); in onDrawContent()
165 canvas->drawPath(path, paintFill); in onDrawContent()
175 canvas->drawPath(path, paintStroke); in onDrawContent()
185 canvas->drawPath(path, paintFill); in onDrawContent()
201 canvas->drawPath(path, paintStroke); in onDrawContent()
/third_party/skia/samplecode/
DSampleClock.cpp56 canvas->drawPath(path, paintStroke); in onDrawContent()
84 canvas->drawPath(path, paintStroke); in onDrawContent()
106 canvas->drawPath(path, paintStroke); in onDrawContent()
127 canvas->drawPath(path, paintStroke); in onDrawContent()
149 canvas->drawPath(path, paintStroke); in onDrawContent()
165 canvas->drawPath(path, paintFill); in onDrawContent()
175 canvas->drawPath(path, paintStroke); in onDrawContent()
185 canvas->drawPath(path, paintFill); in onDrawContent()
201 canvas->drawPath(path, paintStroke); in onDrawContent()
/third_party/skia/docs/examples/
Dpathops.cpp62 canvas->drawPath(one, fOnePaint); in draw()
63 canvas->drawPath(one, fOutlinePaint); in draw()
64 canvas->drawPath(two, fTwoPaint); in draw()
65 canvas->drawPath(two, fOutlinePaint); in draw()
74 canvas->drawPath(result, fOpPaint[op]); in draw()
75 canvas->drawPath(result, fOutlinePaint); in draw()

12345678910>>...31