Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_drawIRect |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Canvas_drawIRect.cpp.
4 {
8 paint.setAntiAlias(
true);
10 paint.setStrokeWidth(20);
15 canvas->
rotate(30, 128, 128);
16 }
17}
18}
constexpr SkColor SK_ColorYELLOW
constexpr SkColor SK_ColorMAGENTA
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawIRect(const SkIRect &rect, const SkPaint &paint)
void rotate(SkScalar degrees)
@ kStroke_Style
set to stroke geometry
sk_sp< SkBlender > blender SkRect rect