Lines Matching full:radius
22 * In Sample mode this draws a single circle and almost-circle with animating radius and blur
23 * radius.
50 auto almostCircleMaker = [] (SkScalar radius, SkPath* dst) { in onDraw() argument
52 dst->addArc(SkRect::MakeXYWH(-radius, -radius, 2 * radius, 2 * radius), 0, 355); in onDraw()
57 auto blurMaker = [] (SkScalar radius) ->sk_sp<SkMaskFilter> { in onDraw() argument
59 SkBlurMask::ConvertRadiusToSigma(radius), in onDraw()
91 const SkScalar radius = r * kDeltaRadius + kMinRadius; in onDraw() local
92 lineWidth += 2 * (radius + kMaxBlurRadius) + kPad; in onDraw()
104 SkScalar radius = r * kDeltaRadius + kMinRadius; in onDraw() local
106 radius += fRandom.nextSScalar1() * kDeltaRadius; in onDraw()
110 almostCircleMaker(radius, &almostCircle); in onDraw()
113 canvas->drawCircle(0, 0, radius, paint); in onDraw()
119 const SkScalar maxColR = radius + kMaxBlurRadius; in onDraw()