5 {
15 };
18debugster("reset", matrix);
20debugster("postTranslate", matrix);
22debugster("postScale", matrix);
24debugster("postScale", matrix);
25SkPoint polys[][4] = {{{0, 0}, {0, 1}, {1, 1}, {1, 0}}, {{0, 0}, {0, 1}, {2, 1}, {1, 0}}};
26matrix.setPolyToPoly(polys[0], polys[1], 4);
27debugster("setPolyToPoly", matrix);
28}
29}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
@ kPerspective_Mask
perspective SkMatrix
@ kTranslate_Mask
translation SkMatrix
@ kScale_Mask
scale SkMatrix
@ kIdentity_Mask
identity SkMatrix; all bits clear
@ kAffine_Mask
skew or rotate SkMatrix
const char * c_str() const
unsigned useCenter Optional< SkMatrix > matrix