Home
last modified time | relevance | path

Searched refs:startD (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkPathMeasure.cpp567 SkScalar startT = 0, startD = 0; in distanceToSegment() local
570 startD = seg[-1].fDistance; in distanceToSegment()
578 SkASSERT(distance >= startD); in distanceToSegment()
579 SkASSERT(seg->fDistance > startD); in distanceToSegment()
581 *t = startT + (seg->getScalarT() - startT) * (distance - startD) / (seg->fDistance - startD); in distanceToSegment()
636 bool SkPathMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, in getSegment() argument
642 if (startD < 0) { in getSegment()
643 startD = 0; in getSegment()
648 if (startD > stopD) { in getSegment()
657 const Segment* seg = this->distanceToSegment(startD, &startT); in getSegment()
/external/skia/include/core/
DSkPathMeasure.h70 bool getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo);