Lines Matching refs:fX
56 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutside()
57 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutside()
58 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside()
59 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside()
67 SkScalar radius = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideStrip()
68 center0.set(pts[0].fX, pts[0].fY); in Make2ConicalOutsideStrip()
69 center1.set(pts[1].fX, pts[1].fY); in Make2ConicalOutsideStrip()
77 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip()
78 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideFlip()
79 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip()
80 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip()
88 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInside()
90 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside()
92 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInside()
93 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInside()
101 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideFlip()
103 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideFlip()
105 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideFlip()
106 center1, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideFlip()
114 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideCenter()
116 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideCenter()
117 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideCenter()
125 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideCenterReversed()
127 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideCenterReversed()
128 center0, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalInsideCenterReversed()
136 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRad()
138 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRad()
141 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRad()
149 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadFlip()
151 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadFlip()
153 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRadFlip()
162 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadCenter()
164 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadCenter()
166 return SkGradientShader::MakeTwoPointConical(center0, 0.f, center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalZeroRadCenter()
176 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadOutside()
177 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside()
178 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadOutside()
189 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadFlipOutside()
190 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadFlipOutside()
191 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadFlipOutside()
199 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalEdgeX()
200 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalEdgeX()
201 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalEdgeX()
203 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalEdgeX()
211 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalEdgeY()
212 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalEdgeY()
213 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalEdgeY()
215 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalEdgeY()
225 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadEdgeX()
226 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadEdgeX()
228 center0.set(center1.fX + radius1, center1.fY); in Make2ConicalZeroRadEdgeX()
237 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadEdgeY()
238 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalZeroRadEdgeY()
240 center0.set(center1.fX, center1.fY + radius1); in Make2ConicalZeroRadEdgeY()
248 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalTouchX()
249 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalTouchX()
250 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalTouchX()
252 center0.set(center1.fX - radius1 + radius0, center1.fY); in Make2ConicalTouchX()
260 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 7; in Make2ConicalTouchY()
261 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalTouchY()
262 center1.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalTouchY()
264 center0.set(center1.fX, center1.fY + radius1 - radius0); in Make2ConicalTouchY()
272 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInsideSmallRad()
274 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideSmallRad()
277 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInsideSmallRad()