Home
last modified time | relevance | path

Searched refs:kLine (Results 1 – 25 of 56) sorted by relevance

123

/third_party/skia/experimental/graphite/src/geom/
DShape.cpp19 case Type::kLine: this->setLine(shape.p0(), shape.p1()); break; in operator =()
32 case Type::kLine: return false; in conservativeContains()
43 case Type::kLine: return false; in conservativeContains()
54 case Type::kLine: return false; in closed()
75 case Type::kLine: return fRect.makeSorted(); // sorting corners computes bbox of segment in bounds()
91 case Type::kLine: builder.moveTo(fRect.left(), fRect.top()) in asPath()
DShape.h30 kEmpty, kLine, kRect, kRRect, kPath enumerator
59 bool isLine() const { return fType == Type::kLine; } in isLine()
123 this->setType(Type::kLine); in setLine()
/third_party/skia/src/gpu/tessellate/
DStrokeIterator.h43 kLine = (int)SkPathVerb::kLine, enumerator
86 case SkPathVerb::kLine: in next()
108 this->enqueue(Verb::kLine, fClosePts.data(), nullptr); in next()
177 SkASSERT(this->backVerb() == Verb::kLine || this->backVerb() == Verb::kQuad || in finishOpenContour()
197 this->enqueue(Verb::kLine, fEndingCapPts.data(), nullptr); in finishOpenContour()
201 this->enqueue(Verb::kLine, fBeginningCapPts.data(), nullptr); in finishOpenContour()
259 this->enqueue(Verb::kLine, fEndingCapPts.data(), nullptr); in finishOpenContour()
263 fFirstVerbInContour = Verb::kLine; in finishOpenContour()
303 case Verb::kLine: in fillSquareCapPoints()
DTessellation.cpp105 case SkPathVerb::kLine: in PreChopPathCurves()
/third_party/skia/tests/
DSkPathRangeIterTest.cpp17 kLine = (int)SkPathVerb::kLine, in DEF_TEST() enumerator
27 Verb::kLine, in DEF_TEST()
34 Verb::kLine, in DEF_TEST()
62 case Verb::kLine: in DEF_TEST()
106 case Verb::kLine: in DEF_TEST()
DSubsetPath.cpp71 case SkPathVerb::kLine: in SubsetContours()
110 case SkPathVerb::kLine: in getSubsetPath()
155 case SkPathVerb::kLine: in SubsetVerbs()
184 bool enabled = SkPathVerb::kLine <= verb && verb <= SkPathVerb::kCubic in getSubsetPath()
198 case SkPathVerb::kLine: in getSubsetPath()
DPathOpsTestCommon.cpp176 case SkPathVerb::kLine: in CubicPathToQuads()
212 case SkPathVerb::kLine: in CubicPathToSimple()
/third_party/skia/src/gpu/geometry/
DGrShape.cpp33 case Type::kLine: in operator =()
209 this->setType(Type::kLine); in simplifyLine()
254 case Type::kLine: in simplify()
288 case Type::kLine: // fall through, "" (currently choosing not to test if 'rect' == line) in conservativeContains()
312 case Type::kLine: // fall through, "" in conservativeContains()
337 case Type::kLine: in closed()
356 case Type::kLine: in convex()
379 case Type::kLine: { in bounds()
411 case Type::kLine: // "" in segmentMask()
457 case Type::kLine: in asPath()
DGrShape.h53 kEmpty, kPoint, kRect, kRRect, kPath, kArc, kLine enumerator
55 inline static constexpr int kTypeCount = static_cast<int>(Type::kLine) + 1;
89 bool isLine() const { return this->type() == Type::kLine; } in isLine()
171 this->reset(Type::kLine); in setLine()
/third_party/flutter/skia/src/gpu/geometry/
DGrShape.h187 if (fType != Type::kLine) { in asLine()
230 case Type::kLine: in asPath()
326 case Type::kLine: in knownToBeConvex()
355 case Type::kLine: in inverseFilled()
395 case Type::kLine: in knownToBeClosed()
423 case Type::kLine: in segmentMask()
468 kLine, enumerator
DGrShape.cpp26 case Type::kLine: in operator =()
98 case Type::kLine: in MakeFilled()
140 case Type::kLine: { in bounds()
240 case Type::kLine: in unstyledKeySize()
285 case Type::kLine: in writeUnstyledKey()
400 case Type::kLine: in GrShape()
519 this->changeType(Type::kLine); in attemptToSimplifyPath()
569 } else if (Type::kLine == fType) { in attemptToSimplifyPath()
643 SkASSERT(Type::kLine == fType); in attemptToSimplifyLine()
723 SkASSERT(Type::kLine == fType); in attemptToSimplifyStrokedLineToRRect()
/third_party/flutter/skia/src/gpu/ops/
DGrAAConvexPathRenderer.cpp38 kLine = 0, enumerator
51 GR_STATIC_ASSERT(0 == kLine && 1 == kQuad); in countPoints()
55 GR_STATIC_ASSERT(0 == kLine && 1 == kQuad); in endPt()
59 GR_STATIC_ASSERT(0 == kLine && 1 == kQuad); in endNorm()
150 if (Segment::kLine == segb.fType) { in compute_vectors()
185 kLine, enumerator
208 data->fStage = DegenerateTestData::kLine; in update_degenerate_test()
211 case DegenerateTestData::kLine: in update_degenerate_test()
240 segments->back().fType = Segment::kLine; in add_line_to_segment()
380 if (Segment::kLine == segb.fType) { in create_vertices()
[all …]
/third_party/skia/src/gpu/ops/
DAAConvexPathRenderer.cpp41 kLine = 0, enumerator
54 static_assert(0 == kLine && 1 == kQuad); in countPoints()
58 static_assert(0 == kLine && 1 == kQuad); in endPt()
62 static_assert(0 == kLine && 1 == kQuad); in endNorm()
153 if (Segment::kLine == segb.fType) { in compute_vectors()
188 kLine, enumerator
211 data->fStage = DegenerateTestData::kLine; in update_degenerate_test()
214 case DegenerateTestData::kLine: in update_degenerate_test()
249 segments->back().fType = Segment::kLine; in add_line_to_segment()
386 if (Segment::kLine == segb.fType) { in create_vertices()
[all …]
/third_party/skia/src/utils/
DSkCustomTypeface.cpp255 kLine, enumerator
268 case SkPathVerb::kLine: verbs.push_back(kLine); pCount += 1; break; in compress_write()
307 case SkPathVerb::kLine: write_pts(&p[1], 1); break; in compress_write()
/third_party/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp199 kLine = 0, enumerator
217 static_assert(0 == kLine && 1 == kQuad); in countPoints()
222 static_assert(0 == kLine && 1 == kQuad); in endPt()
239 if (fType == PathSegment::kLine) { in init()
351 segments->back().fType = PathSegment::kLine; in add_line()
575 if (segment.fType == PathSegment::kLine) { in distance_to_segment()
781 case SkPathEdgeIter::Edge::kLine: { in GrGenerateDistanceFieldFromPath()
/third_party/skia/include/core/
DSkPathTypes.h52 kLine, //!< SkPath::RawIter returns 2 points enumerator
DSkPath.h1420 kLine_Verb = static_cast<int>(SkPathVerb::kLine),
1574 case SkPathVerb::kLine: return 1; in pts_advance_after_verb()
1585 case SkPathVerb::kLine: return -1; in pts_backset_for_verb()
/third_party/flutter/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp215 kLine = 0, enumerator
233 GR_STATIC_ASSERT(0 == kLine && 1 == kQuad); in countPoints()
238 GR_STATIC_ASSERT(0 == kLine && 1 == kQuad); in endPt()
255 if (fType == PathSegment::kLine) { in init()
365 segments->back().fType = PathSegment::kLine; in add_line_to_segment()
594 if (segment.fType == PathSegment::kLine) { in distance_to_segment()
/third_party/skia/src/core/
DSkEdgeBuilder.cpp247 case SkPathEdgeIter::Edge::kLine: { in buildPoly()
269 case SkPathEdgeIter::Edge::kLine: { in buildPoly()
333 case SkPathEdgeIter::Edge::kLine: in build()
DSkPathPriv.h447 kLine = SkPath::kLine_Verb, enumerator
472 return Result{ fScratch, Edge::kLine, false }; in next()
DSkPathBuilder.cpp59 case SkPathVerb::kLine: this->lineTo(pts[1]); break; in operator =()
104 fVerbs.push_back((uint8_t)SkPathVerb::kLine); in lineTo()
781 memset(fVerbs.append(count), (uint8_t)SkPathVerb::kLine, count); in polylineTo()
844 case SkPathVerb::kLine: in privateReverseAddPath()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGNode.h27 kLine, enumerator
DSkSVGLine.cpp13 SkSVGLine::SkSVGLine() : INHERITED(SkSVGTag::kLine) {} in SkSVGLine()
/third_party/skia/modules/svg/src/
DSkSVGLine.cpp13 SkSVGLine::SkSVGLine() : INHERITED(SkSVGTag::kLine) {} in SkSVGLine()
/third_party/skia/modules/skottie/src/text/
DTextAdapter.h49 kLine, enumerator

123