/external/skqp/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 199 SkScalar innerRadius = 0.0f; in ShadowCircularRRectOp() local 213 innerRadius = devRadius - insetWidth; in ShadowCircularRRectOp() 214 type = innerRadius > 0 ? kStroke_RRectType : kFill_RRectType; in ShadowCircularRRectOp() 219 innerRadius = SkTMax(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp() 220 type = innerRadius > 0 ? kOverstroke_RRectType : kStroke_RRectType; in ShadowCircularRRectOp() 226 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp() 285 SkScalar innerRadius = args.fInnerRadius; in fillInCircleVerts() local 292 innerRadius = innerRadius / outerRadius; in fillInCircleVerts() 356 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts() 362 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts() [all …]
|
D | GrOvalOpFactory.cpp | 963 SkScalar innerRadius = -SK_ScalarHalf; in CircleOp() local 975 innerRadius = radius - halfWidth; in CircleOp() 984 innerRadius -= SK_ScalarHalf; in CircleOp() 985 bool stroked = isStrokeOnly && innerRadius > 0.0f; in CircleOp() 1020 SkScalar midRadius = (innerRadius + outerRadius) / (2 * outerRadius); in CircleOp() 1050 innerRadius, in CircleOp() 1063 innerRadius, in CircleOp() 1087 innerRadius, in CircleOp() 1102 innerRadius, in CircleOp() 1188 SkScalar innerRadius = circle.fInnerRadius; in onPrepareDraws() local [all …]
|
/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 199 SkScalar innerRadius = 0.0f; in ShadowCircularRRectOp() local 213 innerRadius = devRadius - insetWidth; in ShadowCircularRRectOp() 214 type = innerRadius > 0 ? kStroke_RRectType : kFill_RRectType; in ShadowCircularRRectOp() 219 innerRadius = SkTMax(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp() 220 type = innerRadius > 0 ? kOverstroke_RRectType : kStroke_RRectType; in ShadowCircularRRectOp() 226 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp() 286 SkScalar innerRadius = args.fInnerRadius; in fillInCircleVerts() local 293 innerRadius = innerRadius / outerRadius; in fillInCircleVerts() 357 (*verts)->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in fillInCircleVerts() 363 (*verts)->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in fillInCircleVerts() [all …]
|
D | GrOvalOpFactory.cpp | 1037 SkScalar innerRadius = -SK_ScalarHalf; in CircleOp() local 1049 innerRadius = radius - halfWidth; in CircleOp() 1058 innerRadius -= SK_ScalarHalf; in CircleOp() 1059 bool stroked = isStrokeOnly && innerRadius > 0.0f; in CircleOp() 1094 SkScalar midRadius = (innerRadius + outerRadius) / (2 * outerRadius); in CircleOp() 1124 innerRadius, in CircleOp() 1137 innerRadius, in CircleOp() 1161 innerRadius, in CircleOp() 1176 innerRadius, in CircleOp() 1263 SkScalar innerRadius = circle.fInnerRadius; in onPrepareDraws() local [all …]
|
/external/skqp/gm/ |
D | addarc.cpp | 272 SkScalar innerRadius = outerRadius - 20.0f; variable 281 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]), 282 centerY + innerRadius * sk_float_sin(startAngles[i])); 289 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 290 centerY + innerRadius * sk_float_sin(endAngle)); 291 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
|
D | wacky_yuv_formats.cpp | 97 static SkPath create_splat(const SkPoint& o, SkScalar innerRadius, SkScalar outerRadius, in create_splat() argument 115 circles->push_back(SkRect::MakeLTRB(o.fX - innerRadius, o.fY - innerRadius, in create_splat() 116 o.fX + innerRadius, o.fY + innerRadius)); in create_splat() 119 p.moveTo(o.fX + innerRadius * curV.fX, o.fY + innerRadius * curV.fY); in create_splat() 137 SkPoint bot = SkPoint::Make(o.fX + innerRadius * curV.fX, in create_splat() 138 o.fY + innerRadius * curV.fY); in create_splat() 139 SkPoint nextBot = SkPoint::Make(o.fX + innerRadius * nextV.fX, in create_splat() 140 o.fY + innerRadius * nextV.fY); in create_splat() 747 float innerRadius = 20.0f; in onOnceBeforeDraw() local 752 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 5, &circles); in onOnceBeforeDraw() [all …]
|
/external/skia/gm/ |
D | addarc.cpp | 272 SkScalar innerRadius = outerRadius - 20.0f; variable 281 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]), 282 centerY + innerRadius * sk_float_sin(startAngles[i])); 289 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 290 centerY + innerRadius * sk_float_sin(endAngle)); 291 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
|
D | wacky_yuv_formats.cpp | 97 static SkPath create_splat(const SkPoint& o, SkScalar innerRadius, SkScalar outerRadius, in create_splat() argument 115 circles->push_back(SkRect::MakeLTRB(o.fX - innerRadius, o.fY - innerRadius, in create_splat() 116 o.fX + innerRadius, o.fY + innerRadius)); in create_splat() 119 p.moveTo(o.fX + innerRadius * curV.fX, o.fY + innerRadius * curV.fY); in create_splat() 137 SkPoint bot = SkPoint::Make(o.fX + innerRadius * curV.fX, in create_splat() 138 o.fY + innerRadius * curV.fY); in create_splat() 139 SkPoint nextBot = SkPoint::Make(o.fX + innerRadius * nextV.fX, in create_splat() 140 o.fY + innerRadius * nextV.fY); in create_splat() 766 float innerRadius = 20.0f; in onOnceBeforeDraw() local 771 SkPath path = create_splat(origin, innerRadius, outerRadius, 1.0f, 5, &circles); in onOnceBeforeDraw() [all …]
|
/external/skia/tests/ |
D | RoundRectTest.cpp | 792 SkScalar* innerRadius = reinterpret_cast<SkScalar*>(&rrect) + 6; in test_read() local 793 SkASSERT(*innerRadius == 1.5f); in test_read() 794 *innerRadius = 400.f; in test_read() 796 *innerRadius = SK_ScalarInfinity; in test_read() 798 *innerRadius = SK_ScalarNaN; in test_read() 800 *innerRadius = -10.f; in test_read()
|
/external/skqp/tests/ |
D | RoundRectTest.cpp | 792 SkScalar* innerRadius = reinterpret_cast<SkScalar*>(&rrect) + 6; in test_read() local 793 SkASSERT(*innerRadius == 1.5f); in test_read() 794 *innerRadius = 400.f; in test_read() 796 *innerRadius = SK_ScalarInfinity; in test_read() 798 *innerRadius = SK_ScalarNaN; in test_read() 800 *innerRadius = -10.f; in test_read()
|