/third_party/skia/gm/ |
D | bigrect.cpp | 16 static void draw_big_rect(SkCanvas* canvas, SkScalar big, const SkPaint& rectPaint) { in draw_big_rect() argument 36 canvas->drawRect(horiz, rectPaint); in draw_big_rect() 39 canvas->drawRect(vert, rectPaint); in draw_big_rect() 42 canvas->drawRect(fromLeft, rectPaint); in draw_big_rect() 45 canvas->drawRect(fromTop, rectPaint); in draw_big_rect() 48 canvas->drawRect(fromRight, rectPaint); in draw_big_rect() 51 canvas->drawRect(fromBottom, rectPaint); in draw_big_rect() 54 canvas->drawRect(leftBorder, rectPaint); in draw_big_rect() 57 canvas->drawRect(topBorder, rectPaint); in draw_big_rect() 60 canvas->drawRect(rightBorder, rectPaint); in draw_big_rect() [all …]
|
D | imagealphathreshold.cpp | 34 SkPaint rectPaint; in draw_rects() local 35 rectPaint.setColor(SK_ColorBLUE); in draw_rects() 36 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 37 rectPaint.setColor(0xBFFF0000); in draw_rects() 38 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 39 rectPaint.setColor(0x3F00FF00); in draw_rects() 40 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 41 rectPaint.setColor(SK_ColorTRANSPARENT); in draw_rects() 42 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
|
D | quadpaths.cpp | 127 SkPaint rectPaint; in onDraw() local 128 rectPaint.setColor(SK_ColorBLACK); in onDraw() 129 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 130 rectPaint.setStrokeWidth(-1); in onDraw() 131 rectPaint.setAntiAlias(true); in onDraw() 132 canvas->drawRect(rect, rectPaint); in onDraw() 257 SkPaint rectPaint; in onDraw() local 258 rectPaint.setColor(SK_ColorBLACK); in onDraw() 259 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 260 rectPaint.setStrokeWidth(-1); in onDraw() [all …]
|
D | ovals.cpp | 157 SkPaint rectPaint; in onDraw() local 158 rectPaint.setAntiAlias(true); in onDraw() 159 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 160 rectPaint.setStrokeWidth(SkIntToScalar(0)); in onDraw() 161 rectPaint.setColor(SK_ColorLTGRAY); in onDraw() 178 canvas->drawRect(kOval, rectPaint); in onDraw() 200 canvas->drawRect(oval, rectPaint); in onDraw() 217 canvas->drawRect(oval, rectPaint); in onDraw() 271 canvas->drawRect(kOval, rectPaint); in onDraw() 294 canvas->drawRect(oval, rectPaint); in onDraw()
|
D | complexclip2.cpp | 143 SkPaint rectPaint; in onDraw() local 144 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 145 rectPaint.setStrokeWidth(-1); in onDraw() 160 rectPaint.setColor(fRectColors[k]); in onDraw() 163 canvas->drawRect(fRects[k], rectPaint); in onDraw() 166 canvas->drawRRect(fRRects[k], rectPaint); in onDraw() 169 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
|
D | linepaths.cpp | 120 SkPaint rectPaint; in draw() local 121 rectPaint.setColor(SK_ColorBLACK); in draw() 122 rectPaint.setStyle(SkPaint::kStroke_Style); in draw() 123 rectPaint.setStrokeWidth(-1); in draw() 124 rectPaint.setAntiAlias(true); in draw() 125 canvas->drawRect(rect, rectPaint); in draw()
|
D | cubicpaths.cpp | 217 SkPaint rectPaint; in onDraw() local 218 rectPaint.setColor(SK_ColorBLACK); in onDraw() 219 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 220 rectPaint.setStrokeWidth(-1); in onDraw() 221 rectPaint.setAntiAlias(true); in onDraw() 222 canvas->drawRect(rect, rectPaint); in onDraw() 337 SkPaint rectPaint; in onDraw() local 338 rectPaint.setColor(SK_ColorBLACK); in onDraw() 339 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 340 rectPaint.setStrokeWidth(-1); in onDraw() [all …]
|
D | emptypath.cpp | 97 SkPaint rectPaint; in onDraw() local 98 rectPaint.setColor(SK_ColorBLACK); in onDraw() 99 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 100 rectPaint.setStrokeWidth(-1); in onDraw() 101 rectPaint.setAntiAlias(true); in onDraw() 102 canvas->drawRect(rect, rectPaint); in onDraw()
|
D | roundrects.cpp | 160 SkPaint rectPaint; in onDraw() local 161 rectPaint.setAntiAlias(true); in onDraw() 162 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 163 rectPaint.setStrokeWidth(SkIntToScalar(0)); in onDraw() 164 rectPaint.setColor(SK_ColorLTGRAY); in onDraw() 181 canvas->drawRect(kRect, rectPaint); in onDraw() 206 canvas->drawRect(rect, rectPaint); in onDraw() 226 canvas->drawRect(rect, rectPaint); in onDraw() 286 canvas->drawRect(kRect, rectPaint); in onDraw()
|
D | textblobuseaftergpufree.cpp | 48 SkPaint rectPaint; in onDraw() local 49 rectPaint.setColor(0xffffffff); in onDraw() 50 canvas->drawRect(rect, rectPaint); in onDraw()
|
/third_party/flutter/skia/gm/ |
D | bigrect.cpp | 16 static void draw_big_rect(SkCanvas* canvas, SkScalar big, const SkPaint& rectPaint) { in draw_big_rect() argument 36 canvas->drawRect(horiz, rectPaint); in draw_big_rect() 39 canvas->drawRect(vert, rectPaint); in draw_big_rect() 42 canvas->drawRect(fromLeft, rectPaint); in draw_big_rect() 45 canvas->drawRect(fromTop, rectPaint); in draw_big_rect() 48 canvas->drawRect(fromRight, rectPaint); in draw_big_rect() 51 canvas->drawRect(fromBottom, rectPaint); in draw_big_rect() 54 canvas->drawRect(leftBorder, rectPaint); in draw_big_rect() 57 canvas->drawRect(topBorder, rectPaint); in draw_big_rect() 60 canvas->drawRect(rightBorder, rectPaint); in draw_big_rect() [all …]
|
D | imagealphathreshold.cpp | 34 SkPaint rectPaint; in draw_rects() local 35 rectPaint.setColor(SK_ColorBLUE); in draw_rects() 36 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 37 rectPaint.setColor(0xBFFF0000); in draw_rects() 38 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 39 rectPaint.setColor(0x3F00FF00); in draw_rects() 40 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 41 rectPaint.setColor(SK_ColorTRANSPARENT); in draw_rects() 42 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
|
D | quadpaths.cpp | 127 SkPaint rectPaint; in onDraw() local 128 rectPaint.setColor(SK_ColorBLACK); in onDraw() 129 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 130 rectPaint.setStrokeWidth(-1); in onDraw() 131 rectPaint.setAntiAlias(true); in onDraw() 132 canvas->drawRect(rect, rectPaint); in onDraw() 257 SkPaint rectPaint; in onDraw() local 258 rectPaint.setColor(SK_ColorBLACK); in onDraw() 259 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 260 rectPaint.setStrokeWidth(-1); in onDraw() [all …]
|
D | ovals.cpp | 157 SkPaint rectPaint; in onDraw() local 158 rectPaint.setAntiAlias(true); in onDraw() 159 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 160 rectPaint.setStrokeWidth(SkIntToScalar(0)); in onDraw() 161 rectPaint.setColor(SK_ColorLTGRAY); in onDraw() 178 canvas->drawRect(oval, rectPaint); in onDraw() 200 canvas->drawRect(oval, rectPaint); in onDraw() 217 canvas->drawRect(oval, rectPaint); in onDraw() 271 canvas->drawRect(oval, rectPaint); in onDraw() 294 canvas->drawRect(oval, rectPaint); in onDraw()
|
D | complexclip2.cpp | 148 SkPaint rectPaint; in onDraw() local 149 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 150 rectPaint.setStrokeWidth(-1); in onDraw() 165 rectPaint.setColor(fRectColors[k]); in onDraw() 168 canvas->drawRect(fRects[k], rectPaint); in onDraw() 171 canvas->drawRRect(fRRects[k], rectPaint); in onDraw() 174 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
|
D | linepaths.cpp | 120 SkPaint rectPaint; in draw() local 121 rectPaint.setColor(SK_ColorBLACK); in draw() 122 rectPaint.setStyle(SkPaint::kStroke_Style); in draw() 123 rectPaint.setStrokeWidth(-1); in draw() 124 rectPaint.setAntiAlias(true); in draw() 125 canvas->drawRect(rect, rectPaint); in draw()
|
D | cubicpaths.cpp | 217 SkPaint rectPaint; in onDraw() local 218 rectPaint.setColor(SK_ColorBLACK); in onDraw() 219 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 220 rectPaint.setStrokeWidth(-1); in onDraw() 221 rectPaint.setAntiAlias(true); in onDraw() 222 canvas->drawRect(rect, rectPaint); in onDraw() 337 SkPaint rectPaint; in onDraw() local 338 rectPaint.setColor(SK_ColorBLACK); in onDraw() 339 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 340 rectPaint.setStrokeWidth(-1); in onDraw() [all …]
|
D | emptypath.cpp | 97 SkPaint rectPaint; in onDraw() local 98 rectPaint.setColor(SK_ColorBLACK); in onDraw() 99 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 100 rectPaint.setStrokeWidth(-1); in onDraw() 101 rectPaint.setAntiAlias(true); in onDraw() 102 canvas->drawRect(rect, rectPaint); in onDraw()
|
D | roundrects.cpp | 160 SkPaint rectPaint; in onDraw() local 161 rectPaint.setAntiAlias(true); in onDraw() 162 rectPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 163 rectPaint.setStrokeWidth(SkIntToScalar(0)); in onDraw() 164 rectPaint.setColor(SK_ColorLTGRAY); in onDraw() 181 canvas->drawRect(rect, rectPaint); in onDraw() 206 canvas->drawRect(rect, rectPaint); in onDraw() 226 canvas->drawRect(rect, rectPaint); in onDraw() 286 canvas->drawRect(rect, rectPaint); in onDraw()
|
D | textblobuseaftergpufree.cpp | 48 SkPaint rectPaint; in onDraw() local 49 rectPaint.setColor(0xffffffff); in onDraw() 50 canvas->drawRect(rect, rectPaint); in onDraw()
|
D | textblobgeometrychange.cpp | 59 SkPaint rectPaint; in onDraw() local 60 rectPaint.setColor(0xffffffff); in onDraw() 61 canvas->drawRect(rect, rectPaint); in onDraw()
|
/third_party/flutter/skia/docs/examples/ |
D | Path_Direction.cpp | 10 SkPaint rectPaint; 11 rectPaint.setAntiAlias(true); 12 SkPaint textPaint(rectPaint); 13 rectPaint.setStyle(SkPaint::kStroke_Style); 14 SkPaint arrowPaint(rectPaint); 20 canvas->drawRect(rect, rectPaint);
|
D | Path_addRect_2.cpp | 9 SkPaint rectPaint; in draw() local 10 rectPaint.setAntiAlias(true); in draw() 11 rectPaint.setStyle(SkPaint::kStroke_Style); in draw() 12 SkPaint arrowPaint(rectPaint); in draw() 21 canvas->drawPath(path, rectPaint); in draw()
|
/third_party/skia/docs/examples/ |
D | Path_Direction.cpp | 10 SkPaint rectPaint; 11 rectPaint.setAntiAlias(true); 12 SkPaint textPaint(rectPaint); 13 rectPaint.setStyle(SkPaint::kStroke_Style); 14 SkPaint arrowPaint(rectPaint); 20 canvas->drawRect(rect, rectPaint);
|
D | Path_addRect_2.cpp | 9 SkPaint rectPaint; in draw() local 10 rectPaint.setAntiAlias(true); in draw() 11 rectPaint.setStyle(SkPaint::kStroke_Style); in draw() 12 SkPaint arrowPaint(rectPaint); in draw() 21 canvas->drawPath(path, rectPaint); in draw()
|