Lines Matching refs:SkPath
52 static SkPathFirstDirection ComputeFirstDirection(const SkPath&);
54 static bool IsClosedSingleContour(const SkPath& path) { in IsClosedSingleContour()
62 case SkPath::Verb::kMove_Verb: in IsClosedSingleContour()
68 case SkPath::Verb::kClose_Verb: in IsClosedSingleContour()
82 static int LeadingMoveToCount(const SkPath& path) { in LeadingMoveToCount()
86 if (verbs[i] != SkPath::Verb::kMove_Verb) { in LeadingMoveToCount()
93 static void AddGenIDChangeListener(const SkPath& path, sk_sp<SkIDChangeListener> listener) { in AddGenIDChangeListener()
102 static bool IsSimpleRect(const SkPath& path, bool isSimpleFill, SkRect* rect,
109 static void CreateDrawArcPath(SkPath* path, const SkRect& oval, SkScalar startAngle,
118 static void ShrinkToFit(SkPath* path) { in ShrinkToFit()
131 Verbs(const SkPath& path) : fPathRef(path.fPathRef.get()) {} in Verbs()
135 SkPath::Verb operator*() { return static_cast<SkPath::Verb>(*fVerb); }
152 using RangeIter = SkPath::RangeIter;
163 Iterate(const SkPath& path) in Iterate()
174 SkPath::RangeIter begin() { return {fVerbsBegin, fPoints, fWeights}; } in begin()
175 SkPath::RangeIter end() { return {fVerbsEnd, nullptr, nullptr}; } in end()
186 static const uint8_t* VerbData(const SkPath& path) { in VerbData()
191 static const SkPoint* PointData(const SkPath& path) { in PointData()
196 static int ConicWeightCnt(const SkPath& path) { in ConicWeightCnt()
201 static const SkScalar* ConicWeightData(const SkPath& path) { in ConicWeightData()
206 static bool TestingOnly_unique(const SkPath& path) { in TestingOnly_unique()
211 static bool HasComputedBounds(const SkPath& path) { in HasComputedBounds()
233 static bool IsOval(const SkPath& path, SkRect* rect, SkPathDirection* dir, unsigned* start) { in IsOval()
260 static bool IsRRect(const SkPath& path, SkRRect* rrect, SkPathDirection* dir, in IsRRect()
288 static bool TooBigForMath(const SkPath& path) { in TooBigForMath()
325 static bool IsAxisAligned(const SkPath& path);
336 static bool IsRectContour(const SkPath&, bool allowPartial, int* currVerb,
351 static bool IsNestedFillRects(const SkPath&, SkRect rect[2],
377 static bool PerspectiveClip(const SkPath& src, const SkMatrix&, SkPath* result);
384 static int GenIDChangeListenersCount(const SkPath&);
386 static void UpdatePathPoint(SkPath* path, int index, const SkPoint& pt) { in UpdatePathPoint()
393 static SkPathConvexity GetConvexity(const SkPath& path) { in GetConvexity()
396 static SkPathConvexity GetConvexityOrUnknown(const SkPath& path) { in GetConvexityOrUnknown()
399 static void SetConvexity(const SkPath& path, SkPathConvexity c) { in SetConvexity()
405 static void ForceComputeConvexity(const SkPath& path) { in ForceComputeConvexity()
410 static void ReverseAddPath(SkPathBuilder* builder, const SkPath& reverseMe) { in ReverseAddPath()
436 SkPathEdgeIter(const SkPath& path);
444 kLine = SkPath::kLine_Verb,
445 kQuad = SkPath::kQuad_Verb,
446 kConic = SkPath::kConic_Verb,
447 kCubic = SkPath::kCubic_Verb,
450 static SkPath::Verb EdgeToVerb(Edge e) { in EdgeToVerb()
451 return SkPath::Verb(e); in EdgeToVerb()
484 case SkPath::kMove_Verb: { in next()
493 case SkPath::kClose_Verb: in next()
506 SkDEBUGCODE(fIsConic = (v == SkPath::kConic_Verb);) in next()