Searched refs:kRect (Results 1 – 2 of 2) sorted by relevance
/external/skia/gm/ |
D | dstreadshuffle.cpp | 48 static const SkRect kRect = SkRect::MakeXYWH(SkIntToScalar(-50), SkIntToScalar(-50), in drawShape() local 55 canvas->drawRoundRect(kRect, SkIntToScalar(10), SkIntToScalar(20), *paint); in drawShape() 58 canvas->drawRect(kRect, *paint); in drawShape() 63 kRect.toQuad(points); in drawShape()
|
D | gradients_no_texture.cpp | 99 SkRect kRect = { 0, 0, SkIntToScalar(50), SkIntToScalar(50) }; in onDraw() local 113 canvas->drawRect(kRect, paint); in onDraw() 114 canvas->translate(0, SkIntToScalar(kRect.height() + 20)); in onDraw() 117 canvas->translate(SkIntToScalar(kRect.width() + 20), 0); in onDraw()
|