Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_Concat |
, |
|
|
256 |
, |
|
|
64 |
, |
|
|
false |
, |
|
|
4 |
|
|
) |
| |
Definition at line 4 of file Matrix_Concat.cpp.
4 {
7 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}};
9 matrix.setPolyToPoly(bitmapBounds, perspect, 4);
14}
15}
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void concat(const SkMatrix &matrix)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static SkMatrix Concat(const SkMatrix &a, const SkMatrix &b)
bool setPolyToPoly(const SkPoint src[], const SkPoint dst[], int count)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< const SkImage > image
static SkRect Make(const SkISize &size)
void toQuad(SkPoint quad[4]) const