Searched refs:kBounds (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/modules/sksg/samples/ |
D | SampleSVGPong.cpp | 27 static const SkRect kBounds = SkRect::MakeLTRB(0.1f, 0.1f, 0.9f, 0.9f); variable 87 const SkRect fieldBounds = kBounds.makeOutset(kBallSize / 2, kBallSize / 2); in onOnceBeforeDraw() 94 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw() 108 bgPath.moveTo(kBounds.left() , fieldBounds.top()) in onOnceBeforeDraw() 109 .lineTo(kBounds.right(), fieldBounds.top()) in onOnceBeforeDraw() 110 .moveTo(kBounds.left() , fieldBounds.bottom()) in onOnceBeforeDraw() 111 .lineTo(kBounds.right(), fieldBounds.bottom()); in onOnceBeforeDraw() 114 bgPath.moveTo(kBounds.centerX(), in onOnceBeforeDraw() 115 kBounds.top() + (i + 0.25f) * kBounds.height() / kBackgroundDashCount) in onOnceBeforeDraw() 116 .lineTo(kBounds.centerX(), in onOnceBeforeDraw() [all …]
|
/third_party/skia/bench/ |
D | PathBench.cpp | 864 xy.fX = rand.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth); in onDelayedSetup() 865 xy.fY = rand.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight); in onDelayedSetup() 874 static const SkRect kBounds; // bounds for all random query rects member in ConservativelyContainsBench 1148 const SkRect ConservativelyContainsBench::kBounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScala… member in ConservativelyContainsBench
|
/third_party/skia/gm/ |
D | dashcircle.cpp | 194 const SkRect kBounds = kThinCircle.makeOutset(kThinStrokeWidth / 2.f, in onDraw() local 198 m.mapRect(&devBounds, kBounds); in onDraw()
|