Lines Matching refs:center1
43 SkPoint center0, center1; in Make2ConicalOutside() local
47 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside()
48 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside()
54 SkPoint center0, center1; in Make2ConicalOutsideFlip() local
58 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip()
59 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip()
65 SkPoint center0, center1; in Make2ConicalInside() local
68 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside()
70 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInside()
78 SkPoint center0, center1; in Make2ConicalInsideFlip() local
81 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideFlip()
84 center1, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideFlip()
91 SkPoint center0, center1; in Make2ConicalInsideCenter() local
94 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideCenter()
104 SkPoint center0, center1; in Make2ConicalZeroRad() local
107 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRad()
109 return SkGradientShader::MakeTwoPointConical(center1, 0.f, in Make2ConicalZeroRad()
117 SkPoint center0, center1; in Make2ConicalZeroRadFlip() local
120 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadFlip()
122 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRadFlip()
130 SkPoint center0, center1; in Make2ConicalZeroRadCenter() local
133 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadCenter()
143 SkPoint center0, center1; in Make2ConicalZeroRadOutside() local
147 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadOutside()
148 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside()
156 SkPoint center0, center1; in Make2ConicalZeroRadFlipOutside() local
160 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadFlipOutside()
161 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalZeroRadFlipOutside()
167 SkPoint center0, center1; in Make2ConicalEdgeX() local
170 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalEdgeX()
172 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalEdgeX()
173 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalEdgeX()
179 SkPoint center0, center1; in Make2ConicalEdgeY() local
182 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalEdgeY()
184 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalEdgeY()
185 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalEdgeY()
192 SkPoint center0, center1; in Make2ConicalZeroRadEdgeX() local
195 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadEdgeX()
197 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalZeroRadEdgeX()
198 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalZeroRadEdgeX()
204 SkPoint center0, center1; in Make2ConicalZeroRadEdgeY() local
207 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadEdgeY()
209 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalZeroRadEdgeY()
210 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalZeroRadEdgeY()
216 SkPoint center0, center1; in Make2ConicalTouchX() local
219 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalTouchX()
221 center0.set(center1.fX - radius1 + radius0, center1.fY); in Make2ConicalTouchX()
222 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalTouchX()
228 SkPoint center0, center1; in Make2ConicalTouchY() local
231 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalTouchY()
233 center0.set(center1.fX, center1.fY + radius1 - radius0); in Make2ConicalTouchY()
234 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalTouchY()
240 SkPoint center0, center1; in Make2ConicalInsideSmallRad() local
243 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideSmallRad()