Lines Matching defs:radius

162     // The inner rect is the rrect bounds inset by the radius. Its left, top, right, and bottom
189 // the rrect will have a (0,0) vector at all four corners. So long as the radius > 0.5 they will
300 SkScalar radius = 0;
304 radius = SkRRectPriv::GetSimpleRadii(rrect).fX;
305 SkASSERT(radius >= kRadiusMin);
306 rect.inset(radius, radius);
309 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX;
310 rect.fLeft += radius;
311 rect.fTop += radius;
316 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX;
318 rect.fTop += radius;
319 rect.fRight -= radius;
323 radius = rrect.radii(SkRRect::kLowerRight_Corner).fX;
326 rect.fRight -= radius;
327 rect.fBottom -= radius;
330 radius = rrect.radii(SkRRect::kLowerLeft_Corner).fX;
331 rect.fLeft += radius;
334 rect.fBottom -= radius;
337 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX;
338 rect.fLeft += radius;
339 rect.fTop += radius;
341 rect.fBottom -= radius;
344 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX;
345 rect.fLeft += radius;
346 rect.fTop += radius;
347 rect.fRight -= radius;
351 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX;
353 rect.fTop += radius;
354 rect.fRight -= radius;
355 rect.fBottom -= radius;
358 radius = rrect.radii(SkRRect::kLowerLeft_Corner).fX;
359 rect.fLeft += radius;
361 rect.fRight -= radius;
362 rect.fBottom -= radius;
368 radius += 0.5f;
369 pdman.set2f(fRadiusPlusHalfUniform, radius, 1.f / radius);
545 // that is normalized by the largest radius. The scale uniform will be scale, 1/scale. The
619 // If we're using a scale factor to work around precision issues, choose the largest radius