Go to the source code of this file.
|
| REG_FIDDLE (Canvas_drawDRRect_b, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_drawDRRect_b |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Canvas_drawDRRect_b.cpp.
4 {
9 paint.setAntiAlias(
true);
11 paint.setStrokeWidth(20);
14 paint.setStrokeWidth(1);
17}
18}
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawDRRect(const SkRRect &outer, const SkRRect &inner, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
static SkRRect MakeRect(const SkRect &r)
static SkRRect MakeRectXY(const SkRect &rect, SkScalar xRad, SkScalar yRad)