Lines Matching defs:center2
44 // translate to center1, rotate so center2 is on x axis.
46 const SkPoint& center2 = shader.getEndCenter();
50 SkPoint diff = center2 - center1;
188 SkPoint center2;
191 center2.set(d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1());
194 } while (center1 == center2);
198 SkPoint diff = center2 - center1;
204 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
207 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
470 SkPoint center2;
473 center2.set(d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1());
475 } while (center1 == center2);
477 SkPoint diff = center2 - center1;
484 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
487 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
674 SkPoint center2;
677 center2.set(d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1());
681 SkPoint diff = center2 - center1;
685 } while (radius1 == radius2 && center1 == center2);
689 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
692 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
922 SkPoint center2;
925 center2.set(d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1());
928 SkPoint diff = center2 - center1;
932 } while (radius1 == radius2 && center1 == center2);
936 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
939 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
1155 SkPoint center2;
1159 center2.set(d->fRandom->nextUScalar1(), d->fRandom->nextUScalar1());
1161 } while (center1 == center2);
1162 SkPoint diff = center2 - center1;
1170 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
1173 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,