Lines Matching refs:radius1
57 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutside() local
59 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside()
60 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside()
78 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideFlip() local
80 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip()
81 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip()
176 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadOutside() local
178 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadOutside()
179 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside()
189 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadFlipOutside() local
191 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadFlipOutside()
192 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalZeroRadFlipOutside()
200 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalEdgeX() local
203 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalEdgeX()
204 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalEdgeX()
212 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalEdgeY() local
215 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalEdgeY()
216 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalEdgeY()
225 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadEdgeX() local
228 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalZeroRadEdgeX()
229 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalZeroRadEdgeX()
237 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadEdgeY() local
240 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalZeroRadEdgeY()
241 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalZeroRadEdgeY()
249 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalTouchX() local
252 center0.set(center1.fX - radius1 + radius0, center1.fY); in Make2ConicalTouchX()
253 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalTouchX()
261 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalTouchY() local
264 center0.set(center1.fX, center1.fY + radius1 - radius0); in Make2ConicalTouchY()
265 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalTouchY()