Searched refs:segmentX (Results 1 – 1 of 1) sorted by relevance
96 SkScalar segmentX = (x - rangeMin) / (rangeMax - rangeMin); in eval() local97 if (!SkScalarIsFinite(segmentX)) { in eval()98 segmentX = rangeMin; in eval()100 SkASSERT(0.0f <= segmentX && segmentX <= 1.0f); in eval()106 return fSegments[i].eval(segmentX, t, negate); in eval()169 SkScalar segmentX = (x - rangeMin) / (rangeMax - rangeMin); in eval() local170 if (!SkScalarIsFinite(segmentX)) { in eval()171 segmentX = rangeMin; in eval()173 SkASSERT(0.0f <= segmentX && segmentX <= 1.0f); in eval()174 return fSegments[i].eval(segmentX, ps.fRandom.nextF()); in eval()