7 matrix.setRotate(35, 128, 128);
10 matrix.mapRectToQuad(pts, {40, 70, 180, 220} );
12 paint.setARGB(77, 23, 99, 154);
13 for (
int i = 0;
i < 5; ++
i) {
REG_FIDDLE(Matrix_mapPoints_2, 256, 256, false, 0)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint)
@ kPolygon_PointMode
draw the array of points as a open polygon
unsigned useCenter Optional< SkMatrix > matrix