Lines Matching defs:center1
43 SkPoint center0, center1;
47 center1.set(pts[1].fX - radius1, pts[1].fY - radius1);
48 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors,
54 SkPoint center0, center1;
57 center1.set(pts[1].fX, pts[1].fY);
58 return SkGradientShader::MakeTwoPointConical(center0, radius, center1, radius, data.fColors,
64 SkPoint center0, center1;
68 center1.set(pts[1].fX - radius1, pts[1].fY - radius1);
69 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors,
75 SkPoint center0, center1;
78 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5),
80 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7,
88 SkPoint center0, center1;
91 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5),
94 center1, (pts[1].fX - pts[0].fX) / 7,
101 SkPoint center0, center1;
104 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5),
114 SkPoint center0, center1;
117 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5),
119 return SkGradientShader::MakeTwoPointConical(center1, 0.f,
127 SkPoint center0, center1;
130 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5),
132 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 2,
140 SkPoint center0, center1;
143 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5),
153 SkPoint center0, center1;
157 center1.set(pts[1].fX - radius1, pts[1].fY - radius1);
158 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1,
166 SkPoint center0, center1;
170 center1.set(pts[1].fX - radius1, pts[1].fY - radius1);
171 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors,
177 SkPoint center0, center1;
180 center1.set(SkScalarAve(pts[0].fX, pts[1].fX),
182 center0.set(center1.fX + radius1, center1.fY);
183 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors,
189 SkPoint center0, center1;
192 center1.set(SkScalarAve(pts[0].fX, pts[1].fX),
194 center0.set(center1.fX, center1.fY + radius1);
195 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors,
202 SkPoint center0, center1;
205 center1.set(SkScalarAve(pts[0].fX, pts[1].fX),
207 center0.set(center1.fX + radius1, center1.fY);
208 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors,
214 SkPoint center0, center1;
217 center1.set(SkScalarAve(pts[0].fX, pts[1].fX),
219 center0.set(center1.fX, center1.fY + radius1);
220 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors,
226 SkPoint center0, center1;
229 center1.set(SkScalarAve(pts[0].fX, pts[1].fX),
231 center0.set(center1.fX - radius1 + radius0, center1.fY);
232 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors,
238 SkPoint center0, center1;
241 center1.set(SkScalarAve(pts[0].fX, pts[1].fX),
243 center0.set(center1.fX, center1.fY + radius1 - radius0);
244 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors,
250 SkPoint center0, center1;
253 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5),