Lines Matching refs:PathSegment
440 struct PathSegment { struct in __anondd06c43e0111::SkVarWidthStroker
446 std::vector<PathSegment> fInner;
447 std::vector<PathSegment> fOuter;
454 OffsetSegments strokeSegment(const PathSegment& segment,
465 std::vector<PathSegment> strokeSegment(const PathSegment& seg,
483 static SkPoint unitNormal(const PathSegment& seg, float t, SkPoint* tangentOut);
486 static int segmentDegree(const PathSegment& seg);
489 static void splitSegment(const PathSegment& seg, float t, PathSegment* segA, PathSegment* segB);
495 static void approximateSegment(const PathSegment& seg,
497 PathSegment* approxQuad);
532 for (const PathSegment& seg : strokes.fOuter) { in getFillPath()
536 for (const PathSegment& seg : strokes.fInner) { in getFillPath()
554 PathSegment segment, prevSegment; in getFillPath()
627 const PathSegment& segment, in strokeSegment()
633 std::vector<PathSegment> outer = strokeSegment(segment, varWidth); in strokeSegment()
634 std::vector<PathSegment> inner = strokeSegment(segment, varWidthInner); in strokeSegment()
638 std::vector<SkVarWidthStroker::PathSegment> SkVarWidthStroker::strokeSegment( in strokeSegment()
639 const PathSegment& seg, const ScalarBezCurve& distFnc) const { in strokeSegment()
642 PathSegment fSeg; in strokeSegment()
646 Item(const PathSegment& seg, in strokeSegment()
664 std::vector<PathSegment> result; in strokeSegment()
677 PathSegment quadApprox; in strokeSegment()
722 PathSegment left, right; in strokeSegment()
885 int SkVarWidthStroker::segmentDegree(const PathSegment& seg) { in segmentDegree()
899 void SkVarWidthStroker::splitSegment(const PathSegment& seg, in splitSegment()
901 PathSegment* segA, in splitSegment()
902 PathSegment* segB) { in splitSegment()
922 void SkVarWidthStroker::approximateSegment(const PathSegment& seg, in approximateSegment()
924 PathSegment* approxQuad) { in approximateSegment()
970 SkPoint SkVarWidthStroker::unitNormal(const PathSegment& seg, float t, SkPoint* tangentOut) { in unitNormal()