Searched refs:innerRadius (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 196 SkScalar innerRadius = 0.0f; in ShadowCircularRRectOp() local 214 innerRadius = devRadius - insetWidth; in ShadowCircularRRectOp() 215 type = innerRadius > 0 ? kStroke_RRectType : kFill_RRectType; in ShadowCircularRRectOp() 220 innerRadius = SkTMax(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp() 221 type = innerRadius > 0 ? kOverstroke_RRectType : kStroke_RRectType; in ShadowCircularRRectOp() 227 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp() 286 SkScalar innerRadius = args.fInnerRadius; in fillInCircleVerts() local 294 innerRadius = innerRadius / outerRadius; in fillInCircleVerts() 366 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts() 373 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts() [all …]
|
D | GrOvalOpFactory.cpp | 645 SkScalar innerRadius = -SK_ScalarHalf; in CircleOp() local 657 innerRadius = radius - halfWidth; in CircleOp() 666 innerRadius -= SK_ScalarHalf; in CircleOp() 667 bool stroked = isStrokeOnly && innerRadius > 0.0f; in CircleOp() 715 innerRadius, in CircleOp() 727 innerRadius, in CircleOp() 750 innerRadius, in CircleOp() 764 innerRadius, in CircleOp() 857 SkScalar innerRadius = circle.fInnerRadius; in onPrepareDraws() local 872 innerRadius = innerRadius / outerRadius; in onPrepareDraws() [all …]
|
/external/skia/gm/ |
D | addarc.cpp | 309 SkScalar innerRadius = outerRadius - 20.0f; in onDraw() local 318 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]), in onDraw() 319 centerY + innerRadius * sk_float_sin(startAngles[i])); in onDraw() 326 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), in onDraw() 327 centerY + innerRadius * sk_float_sin(endAngle)); in onDraw() 328 html_canvas_arc(&path, centerX, outerRadius, innerRadius, in onDraw()
|