Lines Matching refs:center0
42 SkPoint center0, center1; in Make2ConicalOutside() local
45 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside()
47 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalOutside()
55 SkPoint center0, center1; in Make2ConicalOutsideFlip() local
58 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip()
61 center0, radius0, in Make2ConicalOutsideFlip()
68 SkPoint center0, center1; in Make2ConicalInside() local
69 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInside()
74 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInside()
81 SkPoint center0, center1; in Make2ConicalInsideFlip() local
82 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideFlip()
86 return SkGradientShader::CreateTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideFlip()
94 SkPoint center0, center1; in Make2ConicalInsideCenter() local
95 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideCenter()
99 return SkGradientShader::CreateTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideCenter()
100 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideCenter()
107 SkPoint center0, center1; in Make2ConicalZeroRad() local
108 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRad()
113 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRad()
120 SkPoint center0, center1; in Make2ConicalZeroRadFlip() local
121 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadFlip()
126 center0, 0.f, in Make2ConicalZeroRadFlip()
133 SkPoint center0, center1; in Make2ConicalZeroRadCenter() local
134 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadCenter()
138 return SkGradientShader::CreateTwoPointConical(center0, 0.f, in Make2ConicalZeroRadCenter()
139 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRadCenter()
146 SkPoint center0, center1; in Make2ConicalZeroRadOutside() local
149 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside()
151 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalZeroRadOutside()
159 SkPoint center0, center1; in Make2ConicalZeroRadFlipOutside() local
162 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadFlipOutside()
165 center0, radius0, in Make2ConicalZeroRadFlipOutside()
172 SkPoint center0, center1; in Make2ConicalEdgeX() local
177 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalEdgeX()
178 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalEdgeX()
186 SkPoint center0, center1; in Make2ConicalEdgeY() local
191 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalEdgeY()
192 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalEdgeY()
200 SkPoint center0, center1; in Make2ConicalZeroRadEdgeX() local
205 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalZeroRadEdgeX()
206 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalZeroRadEdgeX()
214 SkPoint center0, center1; in Make2ConicalZeroRadEdgeY() local
219 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalZeroRadEdgeY()
220 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalZeroRadEdgeY()
228 SkPoint center0, center1; in Make2ConicalTouchX() local
233 center0.set(center1.fX - radius1 + radius0, center1.fY); in Make2ConicalTouchX()
234 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalTouchX()
242 SkPoint center0, center1; in Make2ConicalTouchY() local
247 center0.set(center1.fX, center1.fY + radius1 - radius0); in Make2ConicalTouchY()
248 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalTouchY()
256 SkPoint center0, center1; in Make2ConicalInsideSmallRad() local
257 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideSmallRad()
261 return SkGradientShader::CreateTwoPointConical(center0, 0.0000000000000000001f, in Make2ConicalInsideSmallRad()
262 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideSmallRad()