Lines Matching defs:radius
16 static bool ComputeStep(const SkPoint& a, const SkPoint& b, SkScalar radius,
21 if (dist <= radius * 2) {
25 *step *= radius / dist;
32 explicit SkCornerPathEffectImpl(SkScalar radius) : fRadius(radius) {
33 SkASSERT(radius > 0);
172 sk_sp<SkPathEffect> SkCornerPathEffect::Make(SkScalar radius) {
173 return SkScalarIsFinite(radius) && (radius > 0) ?
174 sk_sp<SkPathEffect>(new SkCornerPathEffectImpl(radius)) : nullptr;