Home
last modified time | relevance | path

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

12

/third_party/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 …]
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()
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()
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()
/third_party/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
/third_party/skia/src/gpu/tessellate/
DTessellation.cpp102 case SkPathVerb::kMove: in PreChopPathCurves()
105 case SkPathVerb::kLine: in PreChopPathCurves()
108 case SkPathVerb::kQuad: in PreChopPathCurves()
111 case SkPathVerb::kConic: in PreChopPathCurves()
114 case SkPathVerb::kCubic: in PreChopPathCurves()
117 case SkPathVerb::kClose: in PreChopPathCurves()
DStrokeIterator.h43 kLine = (int)SkPathVerb::kLine,
44 kQuad = (int)SkPathVerb::kQuad,
45 kConic = (int)SkPathVerb::kConic,
46 kCubic = (int)SkPathVerb::kCubic,
74 case SkPathVerb::kMove: in next()
79 case SkPathVerb::kCubic: in next()
82 case SkPathVerb::kConic: in next()
83 case SkPathVerb::kQuad: in next()
86 case SkPathVerb::kLine: in next()
100 case SkPathVerb::kClose: in next()
DMiddleOutPolygonTriangulator.h219 case SkPathVerb::kMove: in nextStack()
221 case SkPathVerb::kLine: in nextStack()
222 case SkPathVerb::kQuad: in nextStack()
223 case SkPathVerb::kConic: in nextStack()
224 case SkPathVerb::kCubic: in nextStack()
227 case SkPathVerb::kClose: in nextStack()
DPathWedgeTessellator.cpp159 case SkPathVerb::kMove: { in writePatches()
164 case SkPathVerb::kLine: { in writePatches()
170 case SkPathVerb::kQuad: { in writePatches()
190 case SkPathVerb::kConic: { in writePatches()
210 case SkPathVerb::kCubic: { in writePatches()
230 case SkPathVerb::kClose: { in writePatches()
DPathCurveTessellator.cpp55 case SkPathVerb::kQuad: { in writePatches()
77 case SkPathVerb::kConic: { in writePatches()
99 case SkPathVerb::kCubic: { in writePatches()
DStrokeHardwareTessellator.cpp752 case SkPathVerb::kMove: in prepare()
761 case SkPathVerb::kClose: in prepare()
765 case SkPathVerb::kLine: in prepare()
777 case SkPathVerb::kQuad: { in prepare()
812 case SkPathVerb::kConic: { in prepare()
851 case SkPathVerb::kCubic: { in prepare()
/third_party/skia/src/core/
DSkPathBuilder.cpp58 case SkPathVerb::kMove: this->moveTo(pts[0]); break; in operator =()
59 case SkPathVerb::kLine: this->lineTo(pts[1]); break; in operator =()
60 case SkPathVerb::kQuad: this->quadTo(pts[1], pts[2]); break; in operator =()
61 case SkPathVerb::kConic: this->conicTo(pts[1], pts[2], w[0]); break; in operator =()
62 case SkPathVerb::kCubic: this->cubicTo(pts[1], pts[2], pts[3]); break; in operator =()
63 case SkPathVerb::kClose: this->close(); break; in operator =()
93 fVerbs.push_back((uint8_t)SkPathVerb::kMove); in moveTo()
104 fVerbs.push_back((uint8_t)SkPathVerb::kLine); in lineTo()
116 fVerbs.push_back((uint8_t)SkPathVerb::kQuad); in quadTo()
128 fVerbs.push_back((uint8_t)SkPathVerb::kConic); in conicTo()
[all …]
DSkPath.cpp300 if (verb == SkPathVerb::kClose || (segmentCount > 0 && verb == SkPathVerb::kMove)) { in conservativelyContainsRect()
306 } else if (verb == SkPathVerb::kMove) { in conservativelyContainsRect()
321 if (SkPathVerb::kConic == verb) { in conservativelyContainsRect()
1396 if ((SkPathVerb)fPathRef->verbsEnd()[-1] == SkPathVerb::kClose) { in addPath()
1407 case SkPathVerb::kMove: in addPath()
1421 case SkPathVerb::kLine: in addPath()
1425 case SkPathVerb::kQuad: in addPath()
1429 case SkPathVerb::kConic: in addPath()
1433 case SkPathVerb::kCubic: in addPath()
1437 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()
/third_party/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()
/third_party/skia/src/utils/
DSkCustomTypeface.cpp266 case SkPathVerb::kMove: verbs.push_back(kMove); pCount += 1; break; in compress_write()
267 case SkPathVerb::kQuad: verbs.push_back(kCurve); pCount += 2; break; in compress_write()
268 case SkPathVerb::kLine: verbs.push_back(kLine); pCount += 1; break; in compress_write()
269 case SkPathVerb::kClose: verbs.push_back(kClose); break; in compress_write()
305 case SkPathVerb::kMove: write_pts(&p[0], 1); break; in compress_write()
306 case SkPathVerb::kQuad: write_pts(&p[1], 2); break; in compress_write()
307 case SkPathVerb::kLine: write_pts(&p[1], 1); break; in compress_write()
308 case SkPathVerb::kClose: break; in compress_write()
/third_party/skia/samplecode/
DSamplePathTessellators.cpp303 case SkPathVerb::kMove: in update_weight()
306 case SkPathVerb::kLine: in update_weight()
309 case SkPathVerb::kQuad: in update_weight()
312 case SkPathVerb::kCubic: in update_weight()
315 case SkPathVerb::kConic: in update_weight()
318 case SkPathVerb::kClose: 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()
/third_party/skia/bench/
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()
/third_party/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.cpp1129 case SkPathVerb::kMove: quadPath->moveTo(pts[0].fX, pts[0].fY); break; in path_to_quads()
1130 case SkPathVerb::kLine: quadPath->lineTo(pts[1].fX, pts[1].fY); break; in path_to_quads()
1131 case SkPathVerb::kQuad: in path_to_quads()
1134 case SkPathVerb::kCubic: in path_to_quads()
1142 case SkPathVerb::kConic: in path_to_quads()
1151 case SkPathVerb::kClose: quadPath->close(); break; in path_to_quads()
1209 case SkPathVerb::kMove: in writePath()
1215 case SkPathVerb::kLine: in writePath()
1223 case SkPathVerb::kQuad: in writePath()
1232 case SkPathVerb::kClose: in writePath()
/third_party/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