Searched refs:posScale (Results 1 – 2 of 2) sorted by relevance
189 SkScalar posScale = SK_Scalar1 / (shader.fColorCount - 1); in make_gradient() local191 implicitPos.push_back(SkIntToScalar(i) * posScale); in make_gradient()
717 SkScalar posScale = SK_Scalar1 / (shader.fColorCount - 1); in make_gradient() local719 implicitPos.push_back(SkIntToScalar(i) * posScale); in make_gradient()