Searched refs:totalPos (Results 1 – 2 of 2) sorted by relevance
158 SkScalar totalPos = 0; in fuzz_gradient_stops() local161 totalPos += pos[i]; in fuzz_gradient_stops()163 totalPos = 1.0f / totalPos; in fuzz_gradient_stops()165 pos[i] *= totalPos; in fuzz_gradient_stops()