Searched refs:coneDist (Results 1 – 1 of 1) sorted by relevance
125 SkScalar coneDist = SkTMax(0.0f, 0.5f * (-b + SkScalarSqrt(b*b - 4*c))); in compute_rrect_normalized_dist() local128 coneDist = (maxValue*coneDist) / (coneDist+distToPtInConeSpace); in compute_rrect_normalized_dist()129 return SkTPin(coneDist, 0.0f, 1.0f); in compute_rrect_normalized_dist()