Lines Matching refs:fRadius
19 SkScalar fRadius; member
21 VSphere(SkV2 center, SkScalar radius) : fCenter(center), fRadius(radius) {} in VSphere()
24 return (v - fCenter).length() <= fRadius; in contains()
29 if (v.length() > fRadius) { in pinLoc()
30 v *= (fRadius / v.length()); in pinLoc()
36 v = (v - fCenter) * (1 / fRadius); in computeUnitV3()
151 SkScalar fRadius; member
161 canvas->drawCircle(fLoc.x, fLoc.y, fRadius + 2, paint); in draw()
163 canvas->drawCircle(fLoc.x, fLoc.y, fRadius, paint); in draw()
307 canvas->drawCircle(fSphere.fCenter.x, fSphere.fCenter.y, fSphere.fRadius, paint); in onDrawContent()
308 canvas->drawLine(fSphere.fCenter.x, fSphere.fCenter.y - fSphere.fRadius, in onDrawContent()
309 fSphere.fCenter.x, fSphere.fCenter.y + fSphere.fRadius, paint); in onDrawContent()
310 canvas->drawLine(fSphere.fCenter.x - fSphere.fRadius, fSphere.fCenter.y, in onDrawContent()
311 fSphere.fCenter.x + fSphere.fRadius, fSphere.fCenter.y, paint); in onDrawContent()
317 if (p.length() <= fLight.fRadius) { in onFindClickHandler()