Go to the source code of this file.
|
| REG_FIDDLE (Matrix_preRotate_2, 256, 256, false, 3) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_preRotate_2 |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 4 of file Matrix_preRotate_2.cpp.
4 {
7 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}};
9 matrix.setPolyToPoly(bitmapBounds, perspect, 4);
13}
14}
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)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< const SkImage > image
static SkRect Make(const SkISize &size)
void toQuad(SkPoint quad[4]) const