7 for (
SkScalar angle: { 0, 90, 180, 270 } ) {
9 SkDebugf(
"rectStaysRect: %s\n",
matrix.rectStaysRect() ?
"true" :
"false");
REG_FIDDLE(Matrix_rectStaysRect, 256, 256, true, 0)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
unsigned useCenter Optional< SkMatrix > matrix