Home
last modified time | relevance | path

Searched refs:coneDist (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/effects/
DSkRRectsGaussianEdgeMaskFilter.cpp125 SkScalar coneDist = SkTMax(0.0f, 0.5f * (-b + SkScalarSqrt(b*b - 4*c))); in compute_rrect_normalized_dist() local
128 coneDist = (maxValue*coneDist) / (coneDist+distToPtInConeSpace); in compute_rrect_normalized_dist()
129 return SkTPin(coneDist, 0.0f, 1.0f); in compute_rrect_normalized_dist()