Home
last modified time | relevance | path

Searched refs:SkPathVerb (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/tests/
DSubsetPath.cpp69 case SkPathVerb::kMove: in SubsetContours()
71 case SkPathVerb::kLine: in SubsetContours()
72 case SkPathVerb::kQuad: in SubsetContours()
73 case SkPathVerb::kConic: in SubsetContours()
74 case SkPathVerb::kCubic: in SubsetContours()
77 case SkPathVerb::kClose: in SubsetContours()
108 case SkPathVerb::kMove: in getSubsetPath()
110 case SkPathVerb::kLine: in getSubsetPath()
115 case SkPathVerb::kQuad: in getSubsetPath()
120 case SkPathVerb::kConic: in getSubsetPath()
[all …]
DSkPathRangeIterTest.cpp16 kMove = (int)SkPathVerb::kMove, in DEF_TEST()
17 kLine = (int)SkPathVerb::kLine, in DEF_TEST()
18 kQuad = (int)SkPathVerb::kQuad, in DEF_TEST()
19 kConic = (int)SkPathVerb::kConic, in DEF_TEST()
20 kCubic = (int)SkPathVerb::kCubic, in DEF_TEST()
21 kClose = (int)SkPathVerb::kClose, in DEF_TEST()
DPathOpsTestCommon.cpp173 case SkPathVerb::kMove: in CubicPathToQuads()
176 case SkPathVerb::kLine: in CubicPathToQuads()
179 case SkPathVerb::kQuad: in CubicPathToQuads()
182 case SkPathVerb::kCubic: in CubicPathToQuads()
194 case SkPathVerb::kClose: in CubicPathToQuads()
209 case SkPathVerb::kMove: in CubicPathToSimple()
212 case SkPathVerb::kLine: in CubicPathToSimple()
215 case SkPathVerb::kQuad: in CubicPathToSimple()
218 case SkPathVerb::kCubic: { in CubicPathToSimple()
240 case SkPathVerb::kClose: in CubicPathToSimple()
DStrokeIndirectTest.cpp189 SkASSERT(verb == SkPathVerb::kMove); in get_contour_closing_control_point()
195 case SkPathVerb::kMove: in get_contour_closing_control_point()
197 case SkPathVerb::kCubic: in get_contour_closing_control_point()
203 case SkPathVerb::kQuad: in get_contour_closing_control_point()
209 case SkPathVerb::kLine: in get_contour_closing_control_point()
214 case SkPathVerb::kConic: in get_contour_closing_control_point()
216 case SkPathVerb::kClose: in get_contour_closing_control_point()
290 case SkPathVerb::kMove: in verifyResolveLevels()
300 case SkPathVerb::kLine: in verifyResolveLevels()
318 case SkPathVerb::kQuad: { in verifyResolveLevels()
[all …]
DPathBuilderTest.cpp66 case SkPathVerb::kMove: in check_points()
69 case SkPathVerb::kLine: in check_points()
72 case SkPathVerb::kQuad: in check_points()
73 case SkPathVerb::kConic: in check_points()
77 case SkPathVerb::kCubic: in check_points()
82 case SkPathVerb::kClose: in check_points()
241 pts[0] = {0, 0}; vbs[0] = (uint8_t)SkPathVerb::kMove; in DEF_TEST()
246 pts[i] = {x, y}; vbs[i] = (uint8_t)SkPathVerb::kLine; in DEF_TEST()
/external/skia/src/gpu/tessellate/
DGrPathTessellator.cpp26 case SkPathVerb::kConic: in GrPathIndirectTessellator()
29 case SkPathVerb::kQuad: in GrPathIndirectTessellator()
32 case SkPathVerb::kCubic: in GrPathIndirectTessellator()
181 case SkPathVerb::kConic: in prepare()
185 case SkPathVerb::kQuad: in prepare()
188 case SkPathVerb::kCubic: in prepare()
197 case SkPathVerb::kQuad: in prepare()
200 case SkPathVerb::kCubic: in prepare()
203 case SkPathVerb::kConic: in prepare()
258 case SkPathVerb::kQuad: in prepare()
[all …]
DGrMiddleOutPolygonTriangulator.h126 case SkPathVerb::kMove: in WritePathInnerFan()
129 case SkPathVerb::kLine: in WritePathInnerFan()
130 case SkPathVerb::kQuad: in WritePathInnerFan()
131 case SkPathVerb::kConic: in WritePathInnerFan()
132 case SkPathVerb::kCubic: in WritePathInnerFan()
135 case SkPathVerb::kClose: in WritePathInnerFan()
DGrStrokeIterator.h41 kLine = (int)SkPathVerb::kLine,
42 kQuad = (int)SkPathVerb::kQuad,
43 kConic = (int)SkPathVerb::kConic,
44 kCubic = (int)SkPathVerb::kCubic,
72 case SkPathVerb::kMove: in next()
77 case SkPathVerb::kCubic: in next()
80 case SkPathVerb::kConic: in next()
81 case SkPathVerb::kQuad: in next()
84 case SkPathVerb::kLine: in next()
98 case SkPathVerb::kClose: in next()
DGrStrokeHardwareTessellator.cpp721 case SkPathVerb::kMove: in prepare()
730 case SkPathVerb::kClose: in prepare()
734 case SkPathVerb::kLine: in prepare()
746 case SkPathVerb::kQuad: { in prepare()
781 case SkPathVerb::kConic: { in prepare()
820 case SkPathVerb::kCubic: { in prepare()
/external/skia/include/core/
DSkPath.h1419 kMove_Verb = static_cast<int>(SkPathVerb::kMove),
1420 kLine_Verb = static_cast<int>(SkPathVerb::kLine),
1421 kQuad_Verb = static_cast<int>(SkPathVerb::kQuad),
1422 kConic_Verb = static_cast<int>(SkPathVerb::kConic),
1423 kCubic_Verb = static_cast<int>(SkPathVerb::kCubic),
1424 kClose_Verb = static_cast<int>(SkPathVerb::kClose),
1546 auto verb = static_cast<SkPathVerb>(*fVerb++);
1548 if (verb == SkPathVerb::kConic) {
1558 SkPathVerb peekVerb() const { in peekVerb()
1559 return static_cast<SkPathVerb>(*fVerb); in peekVerb()
[all …]
DSkPathTypes.h50 enum class SkPathVerb { enum
/external/skia/src/pathops/
DSkPathOpsTightBounds.cpp16 case SkPathVerb::kMove: in TightBounds()
22 case SkPathVerb::kQuad: in TightBounds()
23 case SkPathVerb::kConic: in TightBounds()
30 case SkPathVerb::kCubic: in TightBounds()
DSkPathOpsAsWinding.cpp185 if (SkPathVerb::kMove == verb) { in contourBounds()
192 if (SkPathVerb::kLine <= verb && verb <= SkPathVerb::kCubic) { in contourBounds()
337 case SkPathVerb::kMove: in reverseMarkedContours()
340 case SkPathVerb::kLine: in reverseMarkedContours()
343 case SkPathVerb::kQuad: in reverseMarkedContours()
346 case SkPathVerb::kConic: in reverseMarkedContours()
349 case SkPathVerb::kCubic: in reverseMarkedContours()
352 case SkPathVerb::kClose: in reverseMarkedContours()
/external/skia/src/core/
DSkPathBuilder.cpp57 case SkPathVerb::kMove: this->moveTo(pts[0]); break; in operator =()
58 case SkPathVerb::kLine: this->lineTo(pts[1]); break; in operator =()
59 case SkPathVerb::kQuad: this->quadTo(pts[1], pts[2]); break; in operator =()
60 case SkPathVerb::kConic: this->conicTo(pts[1], pts[2], w[0]); break; in operator =()
61 case SkPathVerb::kCubic: this->cubicTo(pts[1], pts[2], pts[3]); break; in operator =()
62 case SkPathVerb::kClose: this->close(); break; in operator =()
89 fVerbs.push_back((uint8_t)SkPathVerb::kMove); in moveTo()
100 fVerbs.push_back((uint8_t)SkPathVerb::kLine); in lineTo()
112 fVerbs.push_back((uint8_t)SkPathVerb::kQuad); in quadTo()
124 fVerbs.push_back((uint8_t)SkPathVerb::kConic); in conicTo()
[all …]
DSkPath.cpp298 if (verb == SkPathVerb::kClose || (segmentCount > 0 && verb == SkPathVerb::kMove)) { in conservativelyContainsRect()
304 } else if (verb == SkPathVerb::kMove) { in conservativelyContainsRect()
319 if (SkPathVerb::kConic == verb) { in conservativelyContainsRect()
1387 if ((SkPathVerb)fPathRef->verbsEnd()[-1] == SkPathVerb::kClose) { in addPath()
1398 case SkPathVerb::kMove: in addPath()
1413 case SkPathVerb::kLine: in addPath()
1417 case SkPathVerb::kQuad: in addPath()
1421 case SkPathVerb::kConic: in addPath()
1425 case SkPathVerb::kCubic: in addPath()
1429 case SkPathVerb::kClose: in addPath()
[all …]
DSkContourMeasure.cpp350 if (haveSeenMoveTo && verb == SkPathVerb::kMove) { in buildSegments()
354 case SkPathVerb::kMove: in buildSegments()
361 case SkPathVerb::kLine: { in buildSegments()
371 case SkPathVerb::kQuad: { in buildSegments()
381 case SkPathVerb::kConic: { in buildSegments()
397 case SkPathVerb::kCubic: { in buildSegments()
407 case SkPathVerb::kClose: in buildSegments()
/external/skia/samplecode/
DSampleTessellatedWedge.cpp171 if (verb == SkPathVerb::kConic) { in dump_conic_max_errors()
190 case SkPathVerb::kMove: in update_weight()
193 case SkPathVerb::kLine: in update_weight()
196 case SkPathVerb::kQuad: in update_weight()
199 case SkPathVerb::kCubic: in update_weight()
202 case SkPathVerb::kConic: in update_weight()
DSampleQuadStroker.cpp49 case SkPathVerb::kMove: in getOnCurvePoints()
50 case SkPathVerb::kLine: in getOnCurvePoints()
51 case SkPathVerb::kQuad: in getOnCurvePoints()
52 case SkPathVerb::kConic: in getOnCurvePoints()
53 case SkPathVerb::kCubic: in getOnCurvePoints()
67 case SkPathVerb::kMove: in getContourCounts()
68 case SkPathVerb::kLine: in getContourCounts()
71 case SkPathVerb::kQuad: in getContourCounts()
72 case SkPathVerb::kConic: in getContourCounts()
75 case SkPathVerb::kCubic: in getContourCounts()
[all …]
DSamplePathText.cpp294 case SkPathVerb::kMove: { in runAnimationTask()
299 case SkPathVerb::kLine: { in runAnimationTask()
304 case SkPathVerb::kQuad: { in runAnimationTask()
310 case SkPathVerb::kClose: { in runAnimationTask()
314 case SkPathVerb::kCubic: in runAnimationTask()
315 case SkPathVerb::kConic: in runAnimationTask()
/external/skia/src/utils/
DSkCustomTypeface.cpp265 case SkPathVerb::kMove: verbs.push_back(kMove); pCount += 1; break; in compress_write()
266 case SkPathVerb::kQuad: verbs.push_back(kCurve); pCount += 2; break; in compress_write()
267 case SkPathVerb::kLine: verbs.push_back(kLine); pCount += 1; break; in compress_write()
268 case SkPathVerb::kClose: verbs.push_back(kClose); break; in compress_write()
304 case SkPathVerb::kMove: write_pts(&p[0], 1); break; in compress_write()
305 case SkPathVerb::kQuad: write_pts(&p[1], 2); break; in compress_write()
306 case SkPathVerb::kLine: write_pts(&p[1], 1); break; in compress_write()
307 case SkPathVerb::kClose: break; in compress_write()
/external/skia/bench/
DTessellateBench.cpp132 if (verb == SkPathVerb::kCubic) { in benchmark_wangs_formula_cubic_log2()
162 if (verb == SkPathVerb::kConic) { in benchmark_wangs_formula_conic()
178 if (verb == SkPathVerb::kConic) { in benchmark_wangs_formula_conic_log2()
469 SingleVerbStrokeIndirectBenchmark(const char* nameSuffix, SkPathVerb verb) in SingleVerbStrokeIndirectBenchmark()
477 case SkPathVerb::kQuad: in setupPaths()
481 case SkPathVerb::kCubic: in setupPaths()
500 const SkPathVerb fVerb;
503 DEF_BENCH( return new SingleVerbStrokeIndirectBenchmark("_singlequads", SkPathVerb::kQuad); )
504 DEF_BENCH( return new SingleVerbStrokeIndirectBenchmark("_singlecubics", SkPathVerb::kCubic); )
DPathOpsBench.cpp105 fVbs[fVIndex++] = (uint8_t)SkPathVerb::kMove; in moveTo()
109 fVbs[fVIndex++] = (uint8_t)SkPathVerb::kLine; in lineTo()
113 fVbs[fVIndex++] = (uint8_t)SkPathVerb::kQuad; in quadTo()
118 fVbs[fVIndex++] = (uint8_t)SkPathVerb::kCubic; in cubicTo()
/external/skia/tools/fonts/
Dcreate_test_font.cpp134 case SkPathVerb::kMove: in output_path_data()
137 case SkPathVerb::kLine: in output_path_data()
140 case SkPathVerb::kQuad: in output_path_data()
143 case SkPathVerb::kCubic: in output_path_data()
146 case SkPathVerb::kClose: in output_path_data()
DTestSVGTypeface.cpp1128 case SkPathVerb::kMove: quadPath->moveTo(pts[0].fX, pts[0].fY); break; in path_to_quads()
1129 case SkPathVerb::kLine: quadPath->lineTo(pts[1].fX, pts[1].fY); break; in path_to_quads()
1130 case SkPathVerb::kQuad: in path_to_quads()
1133 case SkPathVerb::kCubic: in path_to_quads()
1141 case SkPathVerb::kConic: in path_to_quads()
1150 case SkPathVerb::kClose: quadPath->close(); break; in path_to_quads()
1208 case SkPathVerb::kMove: in writePath()
1214 case SkPathVerb::kLine: in writePath()
1222 case SkPathVerb::kQuad: in writePath()
1231 case SkPathVerb::kClose: in writePath()
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp53 case SkPathVerb::kMove: in ToCmds()
56 case SkPathVerb::kLine: in ToCmds()
59 case SkPathVerb::kQuad: in ToCmds()
62 case SkPathVerb::kConic: in ToCmds()
67 case SkPathVerb::kCubic: in ToCmds()
73 case SkPathVerb::kClose: in ToCmds()

12