Searched refs:endingInt (Results 1 – 1 of 1) sorted by relevance
132 SkScalar phase, SkScalar* endingInt) { in calc_end_adjustment() argument140 *endingInt = totalLen - numFullIntervals * srcIntervalLen + phase; in calc_end_adjustment()141 temp = *endingInt / srcIntervalLen; in calc_end_adjustment()142 *endingInt = *endingInt - SkScalarFloorToScalar(temp) * srcIntervalLen; in calc_end_adjustment()143 if (0 == *endingInt) { in calc_end_adjustment()144 *endingInt = srcIntervalLen; in calc_end_adjustment()146 if (*endingInt > intervals[0]) { in calc_end_adjustment()148 *endingInt -= 0.01f; // make sure we capture the last zero size pnt (used if has caps) in calc_end_adjustment()150 return *endingInt - intervals[0]; in calc_end_adjustment()