4REG_FIDDLE(Matrix_mapRectToQuad, 256, 192,
false, 0) {
7 paint.setAntiAlias(
true);
9 matrix.setRotate(60, 128, 128);
13 for (
int i = 0;
i < 4; ++
i) {
REG_FIDDLE(Matrix_mapRectToQuad, 256, 192, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void concat(const SkMatrix &matrix)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< SkBlender > blender SkRect rect