Home
last modified time | relevance | path

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

/external/skia/gm/
Dimagealphathreshold.cpp19 SkPaint rectPaint; in draw_rects() local
20 rectPaint.setColor(0xFF0000FF); in draw_rects()
21 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
22 rectPaint.setColor(0xBFFF0000); in draw_rects()
23 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
24 rectPaint.setColor(0x3F00FF00); in draw_rects()
25 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
26 rectPaint.setColor(0x00000000); in draw_rects()
27 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
Dquadpaths.cpp122 SkPaint rectPaint; in onDraw() local
123 rectPaint.setColor(SK_ColorBLACK); in onDraw()
124 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
125 rectPaint.setStrokeWidth(-1); in onDraw()
126 rectPaint.setAntiAlias(true); in onDraw()
127 canvas->drawRect(rect, rectPaint); in onDraw()
266 SkPaint rectPaint; in onDraw() local
267 rectPaint.setColor(SK_ColorBLACK); in onDraw()
268 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
269 rectPaint.setStrokeWidth(-1); in onDraw()
[all …]
Dovals.cpp149 SkPaint rectPaint; in onDraw() local
150 rectPaint.setAntiAlias(true); in onDraw()
151 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
152 rectPaint.setStrokeWidth(SkIntToScalar(0)); in onDraw()
153 rectPaint.setColor(sk_tool_utils::color_to_565(SK_ColorLTGRAY)); in onDraw()
170 canvas->drawRect(oval, rectPaint); in onDraw()
192 canvas->drawRect(oval, rectPaint); in onDraw()
209 canvas->drawRect(oval, rectPaint); in onDraw()
267 canvas->drawRect(oval, rectPaint); in onDraw()
Dcomplexclip2.cpp141 SkPaint rectPaint; in onDraw() local
142 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
143 rectPaint.setStrokeWidth(-1); in onDraw()
158 rectPaint.setColor(fRectColors[k]); in onDraw()
161 canvas->drawRect(fRects[k], rectPaint); in onDraw()
164 canvas->drawRRect(fRRects[k], rectPaint); in onDraw()
167 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
Dcubicpaths.cpp234 SkPaint rectPaint; in onDraw() local
235 rectPaint.setColor(SK_ColorBLACK); in onDraw()
236 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
237 rectPaint.setStrokeWidth(-1); in onDraw()
238 rectPaint.setAntiAlias(true); in onDraw()
239 canvas->drawRect(rect, rectPaint); in onDraw()
379 SkPaint rectPaint; in onDraw() local
380 rectPaint.setColor(SK_ColorBLACK); in onDraw()
381 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
382 rectPaint.setStrokeWidth(-1); in onDraw()
[all …]
Dlinepaths.cpp115 SkPaint rectPaint; in draw() local
116 rectPaint.setColor(SK_ColorBLACK); in draw()
117 rectPaint.setStyle(SkPaint::kStroke_Style); in draw()
118 rectPaint.setStrokeWidth(-1); in draw()
119 rectPaint.setAntiAlias(true); in draw()
120 canvas->drawRect(rect, rectPaint); in draw()
Droundrects.cpp152 SkPaint rectPaint; in onDraw() local
153 rectPaint.setAntiAlias(true); in onDraw()
154 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
155 rectPaint.setStrokeWidth(SkIntToScalar(0)); in onDraw()
156 rectPaint.setColor(sk_tool_utils::color_to_565(SK_ColorLTGRAY)); in onDraw()
173 canvas->drawRect(rect, rectPaint); in onDraw()
198 canvas->drawRect(rect, rectPaint); in onDraw()
218 canvas->drawRect(rect, rectPaint); in onDraw()
282 canvas->drawRect(rect, rectPaint); in onDraw()
Demptypath.cpp100 SkPaint rectPaint; in onDraw() local
101 rectPaint.setColor(SK_ColorBLACK); in onDraw()
102 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
103 rectPaint.setStrokeWidth(-1); in onDraw()
104 rectPaint.setAntiAlias(true); in onDraw()
105 canvas->drawRect(rect, rectPaint); in onDraw()
Dtextblobuseaftergpufree.cpp54 SkPaint rectPaint; in onDraw() local
55 rectPaint.setColor(0xffffffff); in onDraw()
56 canvas->drawRect(rect, rectPaint); in onDraw()
Dtextblobgeometrychange.cpp53 SkPaint rectPaint; in onDraw() local
54 rectPaint.setColor(0xffffffff); in onDraw()
55 canvas->drawRect(rect, rectPaint); in onDraw()
Ddegeneratesegments.cpp341 SkPaint rectPaint; in onDraw() local
342 rectPaint.setColor(SK_ColorBLACK); in onDraw()
343 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
344 rectPaint.setStrokeWidth(-1); in onDraw()
345 rectPaint.setAntiAlias(true); in onDraw()
346 canvas->drawRect(rect, rectPaint); in onDraw()
/external/skia/tests/
DImageFilterTest.cpp799 SkPaint rectPaint; in DEF_TEST() local
801 canvas.drawRect(rect, rectPaint); in DEF_TEST()