Lines Matching refs:fX
43 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutside()
44 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutside()
45 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside()
46 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside()
54 SkScalar radius = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideStrip()
55 center0.set(pts[0].fX, pts[0].fY); in Make2ConicalOutsideStrip()
56 center1.set(pts[1].fX, pts[1].fY); in Make2ConicalOutsideStrip()
64 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip()
65 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideFlip()
66 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip()
67 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip()
75 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInside()
77 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside()
79 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInside()
80 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInside()
88 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideFlip()
90 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideFlip()
92 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideFlip()
93 center1, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideFlip()
101 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideCenter()
103 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideCenter()
104 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideCenter()
112 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideCenterReversed()
114 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideCenterReversed()
115 center0, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideCenterReversed()
123 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRad()
125 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRad()
128 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRad()
136 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadFlip()
138 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadFlip()
140 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRadFlip()
149 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadCenter()
151 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadCenter()
153 return SkGradientShader::MakeTwoPointConical(center0, 0.f, center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRadCenter()
163 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadOutside()
164 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside()
165 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadOutside()
176 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadFlipOutside()
177 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadFlipOutside()
178 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadFlipOutside()
186 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalEdgeX()
187 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalEdgeX()
188 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalEdgeX()
190 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalEdgeX()
198 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalEdgeY()
199 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalEdgeY()
200 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalEdgeY()
202 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalEdgeY()
212 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadEdgeX()
213 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadEdgeX()
215 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalZeroRadEdgeX()
224 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadEdgeY()
225 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadEdgeY()
227 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalZeroRadEdgeY()
235 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalTouchX()
236 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalTouchX()
237 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalTouchX()
239 center0.set(center1.fX - radius1 + radius0, center1.fY); in Make2ConicalTouchX()
247 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalTouchY()
248 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalTouchY()
249 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalTouchY()
251 center0.set(center1.fX, center1.fY + radius1 - radius0); in Make2ConicalTouchY()
259 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideSmallRad()
261 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideSmallRad()
264 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideSmallRad()