Searched refs:kRadius (Results 1 – 5 of 5) sorted by relevance
/external/skia/gm/ |
D | tallstretchedbitmaps.cpp | 15 static const int kRadius = 22; in make_bm() local 22 int count = (height / (2 * kRadius + kMargin)); in make_bm() 23 height = count * (2 * kRadius + kMargin); in make_bm() 25 bm->allocN32Pixels(2 * (kRadius + kMargin), height); in make_bm() 36 SkIRect subRect = SkIRect::MakeXYWH(0, i * (kMargin + 2 * kRadius), in make_bm() 37 2 * kRadius + kMargin, 2 * kRadius + kMargin); in make_bm() 40 canvas.translate(kMargin + kRadius, kMargin + kRadius); in make_bm() 47 SkScalar radius = kRadius - kThickness / 2; in make_bm()
|
D | convexpolyclip.cpp | 104 static const SkScalar kRadius = 45.f; in onOnceBeforeDraw() local 105 const SkPoint center = { kRadius, kRadius }; in onOnceBeforeDraw() 110 point.scale(kRadius); in onOnceBeforeDraw() 121 scaleM.setScale(1.1f, 0.4f, kRadius, kRadius); in onOnceBeforeDraw()
|
D | convexpolyeffect.cpp | 111 static const SkScalar kRadius = 50.f; in onOnceBeforeDraw() local 112 const SkPoint center = { kRadius, kRadius }; in onOnceBeforeDraw() 117 point.scale(kRadius); in onOnceBeforeDraw()
|
D | hairlines.cpp | 29 kRadius = 40, in onOnceBeforeDraw() enumerator 33 SkScalar x = kRadius * SkScalarCos(angle); in onOnceBeforeDraw() 34 SkScalar y = kRadius * SkScalarSin(angle); in onOnceBeforeDraw()
|
D | gradients.cpp | 446 const SkScalar kRadius = 3000; in onOnceBeforeDraw() local 448 fShader.reset(SkGradientShader::CreateRadial(center, kRadius, gColors, NULL, 2, in onOnceBeforeDraw()
|