24 :
fIter(path, forceClosed, resScale)
26 fContour =
fIter.next();
33 fContour =
fIter.next();
37 return fContour ? fContour->
length() : 0;
41 return fContour && fContour->
getPosTan(distance, position, tangent);
49 return fContour && fContour->
getSegment(startD, stopD, dst, startWithMoveTo);
53 return fContour && fContour->
isClosed();
57 fContour =
fIter.next();
62void SkPathMeasure::dump() {}
69 return cntr->fSegments.size();
std::unique_ptr< SkLatticeIter > fIter
bool getMatrix(SkScalar distance, SkMatrix *matrix, MatrixFlags flags=kGetPosAndTan_MatrixFlag) const
bool getSegment(SkScalar startD, SkScalar stopD, SkPath *dst, bool startWithMoveTo) const
bool getPosTan(SkScalar distance, SkPoint *position, SkVector *tangent) const
static size_t CountSegments(const SkPathMeasure &)
bool getMatrix(SkScalar distance, SkMatrix *matrix, MatrixFlags flags=kGetPosAndTan_MatrixFlag)
void setPath(const SkPath *, bool forceClosed)
const SkContourMeasure * currentMeasure() const
bool getSegment(SkScalar startD, SkScalar stopD, SkPath *dst, bool startWithMoveTo)
bool getPosTan(SkScalar distance, SkPoint *position, SkVector *tangent)
void reset(T *ptr=nullptr)
FlutterSemanticsFlag flags