Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_mapXY_2 |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
4 |
|
|
) |
| |
Definition at line 4 of file Matrix_mapXY_2.cpp.
4 {
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);
16 }
17 }
20}
21}
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