Home
last modified time | relevance | path

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

/external/skia/gm/
Ddstreadshuffle.cpp47 static const SkRect kRect = SkRect::MakeXYWH(SkIntToScalar(-50), SkIntToScalar(-50), in drawShape() local
54 canvas->drawRoundRect(kRect, SkIntToScalar(10), SkIntToScalar(20), *paint); in drawShape()
57 canvas->drawRect(kRect, *paint); in drawShape()
62 kRect.toQuad(points); in drawShape()
Dmixedxfermodes.cpp45 static const SkRect kRect = SkRect::MakeXYWH(SkIntToScalar(-50), SkIntToScalar(-50), in drawShape() local
52 canvas->drawRoundRect(kRect, SkIntToScalar(10), SkIntToScalar(20), paint); in drawShape()
55 canvas->drawRect(kRect, paint); in drawShape()
60 kRect.toQuad(points); in drawShape()
Dgradients_no_texture.cpp96 SkRect kRect = { 0, 0, SkIntToScalar(50), SkIntToScalar(50) }; in onDraw() local
109 canvas->drawRect(kRect, paint); in onDraw()
110 canvas->translate(0, SkIntToScalar(kRect.height() + 20)); in onDraw()
113 canvas->translate(SkIntToScalar(kRect.width() + 20), 0); in onDraw()