Lines Matching refs:radius2
236 SkScalar radius2 = d->fRandom->nextRangeScalar(0.0f, scale);
251 if (SkScalarNearlyZero(radius1 - radius2)) {
252 radius2 += offset;
256 radius2 = radius1;
271 radius2 = radius1 + SkPoint::Distance(center1, center2);
274 std::swap(radius1, radius2);
275 radius2 = 0;
279 if (SkScalarNearlyZero(radius1 - radius2)) {
280 radius2 += offset;
284 if (SkScalarNearlyZero(radius1 - radius2) &&
286 radius2 += offset; // make sure that we're not degenerated
291 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
294 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,