Lines Matching refs:stopT
27 SkScalar startT, SkScalar stopT, SkPath* dst) { in SkContourMeasure_segTo() argument
29 SkASSERT(stopT >= 0 && stopT <= SK_Scalar1); in SkContourMeasure_segTo()
30 SkASSERT(startT <= stopT); in SkContourMeasure_segTo()
32 if (startT == stopT) { in SkContourMeasure_segTo()
47 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo()
50 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in SkContourMeasure_segTo()
51 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in SkContourMeasure_segTo()
56 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo()
59 SkChopQuadAt(pts, tmp0, stopT); in SkContourMeasure_segTo()
64 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo()
67 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT)); in SkContourMeasure_segTo()
76 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo()
80 if (conic.chopAt(stopT, tmp)) { in SkContourMeasure_segTo()
85 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo()
92 conic.chopAt(startT, stopT, &tmp); in SkContourMeasure_segTo()
99 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo()
102 SkChopCubicAt(pts, tmp0, stopT); in SkContourMeasure_segTo()
107 if (SK_Scalar1 == stopT) { in SkContourMeasure_segTo()
110 SkChopCubicAt(&tmp0[3], tmp1, (stopT - startT) / (1 - startT)); in SkContourMeasure_segTo()
618 SkScalar startT, stopT; in getSegment() local
623 const Segment* stopSeg = this->distanceToSegment(stopD, &stopT); in getSegment()
624 if (!SkScalarIsFinite(stopT)) { in getSegment()
634 SkContourMeasure_segTo(&fPts[seg->fPtIndex], seg->fType, startT, stopT, dst); in getSegment()
641 SkContourMeasure_segTo(&fPts[seg->fPtIndex], seg->fType, 0, stopT, dst); in getSegment()