Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_setConcat |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 5 of file Matrix_setConcat.cpp.
5 {
8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}};
10 matrix.setPolyToPoly(bitmapBounds, perspect, 4);
12 matrix.setConcat(matrix, matrix2);
15}
16}
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)
bool setPolyToPoly(const SkPoint src[], const SkPoint dst[], int count)
unsigned useCenter Optional< SkMatrix > matrix
static SkRect Make(const SkISize &size)
void toQuad(SkPoint quad[4]) const