7 SkPoint rectPts[] = { {64, 48}, {192, 160} };
9 paint.setAntiAlias(
true);
11 paint.setStrokeWidth(20);
18 rect.set(rectPts[0], rectPts[1]);
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 drawRect(const SkRect &rect, const SkPaint &paint)
void mapPoints(SkPoint dst[], const SkPoint src[], int count) const
SkMatrix & setRotate(SkScalar degrees, SkScalar px, SkScalar py)
@ kStroke_Style
set to stroke geometry
#define REG_FIDDLE(NAME, W, H, TEXT, I)