Searched refs:invRad (Results 1 – 1 of 1) sorted by relevance
65 SkScalar invRad = 1.0f/rad; in compute_rrect_normalized_dist() local72 float scaledDist = delta.length() * invRad; in compute_rrect_normalized_dist()73 return SkTPin(halfW * invRad - scaledDist, 0.0f, 1.0f); in compute_rrect_normalized_dist()76 SkScalar xDist = (halfW - delta.fX) * invRad; in compute_rrect_normalized_dist()77 SkScalar yDist = (halfH - delta.fY) * invRad; in compute_rrect_normalized_dist()95 SkScalar maxValue = insetDist * invRad; in compute_rrect_normalized_dist()108 SkScalar xDist = (halfW - delta.fX) * invRad; in compute_rrect_normalized_dist()109 SkScalar yDist = (halfH - delta.fY) * invRad; in compute_rrect_normalized_dist()