Searched refs:implicitPos (Results 1 – 2 of 2) sorted by relevance
183 SkTArray<SkScalar, true> implicitPos; in make_gradient() local188 implicitPos.reserve(shader.fColorCount); in make_gradient()191 implicitPos.push_back(SkIntToScalar(i) * posScale); in make_gradient()193 positions = implicitPos.begin(); in make_gradient()
711 SkTArray<SkScalar, true> implicitPos; in make_gradient() local716 implicitPos.reserve_back(shader.fColorCount); in make_gradient()719 implicitPos.push_back(SkIntToScalar(i) * posScale); in make_gradient()721 positions = implicitPos.begin(); in make_gradient()