Home
last modified time | relevance | path

Searched refs:fieldBounds (Results 1 – 1 of 1) sorted by relevance

/external/skia/samplecode/
DSampleSVGPong.cpp84 const SkRect fieldBounds = kBounds.makeOutset(kBallSize / 2, kBallSize / 2); in onOnceBeforeDraw() local
97 SkPoint::Make(fieldBounds.left() - kPaddleSize.width() / 2, in onOnceBeforeDraw()
98 fieldBounds.centerY()), in onOnceBeforeDraw()
102 SkPoint::Make(fieldBounds.right() + kPaddleSize.width() / 2, in onOnceBeforeDraw()
103 fieldBounds.centerY()), in onOnceBeforeDraw()
108 bgPath.moveTo(kBounds.left() , fieldBounds.top()); in onOnceBeforeDraw()
109 bgPath.lineTo(kBounds.right(), fieldBounds.top()); in onOnceBeforeDraw()
110 bgPath.moveTo(kBounds.left() , fieldBounds.bottom()); in onOnceBeforeDraw()
111 bgPath.lineTo(kBounds.right(), fieldBounds.bottom()); in onOnceBeforeDraw()