• Home
  • Raw
  • Download

Lines Matching refs:stopT

37                    SkScalar startT, SkScalar stopT, SkPath* dst) {  in SkPathMeasure_segTo()  argument
39 SkASSERT(stopT >= 0 && stopT <= SK_Scalar1); in SkPathMeasure_segTo()
40 SkASSERT(startT <= stopT); in SkPathMeasure_segTo()
42 if (startT == stopT) { in SkPathMeasure_segTo()
57 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo()
60 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in SkPathMeasure_segTo()
61 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in SkPathMeasure_segTo()
66 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo()
69 SkChopQuadAt(pts, tmp0, stopT); in SkPathMeasure_segTo()
74 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo()
77 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT)); in SkPathMeasure_segTo()
86 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo()
90 if (conic.chopAt(stopT, tmp)) { in SkPathMeasure_segTo()
95 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo()
102 conic.chopAt(startT, stopT, &tmp); in SkPathMeasure_segTo()
109 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo()
112 SkChopCubicAt(pts, tmp0, stopT); in SkPathMeasure_segTo()
117 if (SK_Scalar1 == stopT) { in SkPathMeasure_segTo()
120 SkChopCubicAt(&tmp0[3], tmp1, (stopT - startT) / (1 - startT)); in SkPathMeasure_segTo()
673 SkScalar startT, stopT; in getSegment() local
678 const Segment* stopSeg = this->distanceToSegment(stopD, &stopT); in getSegment()
679 if (!SkScalarIsFinite(stopT)) { in getSegment()
689 SkPathMeasure_segTo(&fPts[seg->fPtIndex], seg->fType, startT, stopT, dst); in getSegment()
696 SkPathMeasure_segTo(&fPts[seg->fPtIndex], seg->fType, 0, stopT, dst); in getSegment()