7 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {30, 206}};
9 matrix.setPolyToPoly(bitmapBounds, perspect, 4);
11 paint.setAntiAlias(
true);
12 paint.setStrokeWidth(3);
REG_FIDDLE(Matrix_mapXY_2, 256, 256, false, 4)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPoint(SkScalar x, SkScalar y, const SkPaint &paint)
void concat(const SkMatrix &matrix)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< const SkImage > image
static SkRect Make(const SkISize &size)
void toQuad(SkPoint quad[4]) const