8 paint.setAntiAlias(
true);
10 paint.setStrokeWidth(20);
15 canvas->
rotate(30, 128, 128);
REG_FIDDLE(Canvas_drawIRect, 256, 256, false, 0)
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