10 matrix.mapRectToQuad(
src, {40, 70, 180, 220} );
12 paint.setARGB(77, 23, 99, 154);
13 for (
int i = 0;
i < 5; ++
i) {
17 matrix.preRotate(35, 128, 128);
REG_FIDDLE(Matrix_mapPoints, 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