Go to the source code of this file.
|
| REG_FIDDLE (Canvas_empty_constructor, 256, 256, true, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_empty_constructor |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Canvas_empty_constructor.cpp.
5 {
6static void check_for_rotated_ctm(
const SkCanvas* canvas) {
8 SkDebugf(
"ctm is identity = %s\n", matrix ==
SkM44() ?
"true" :
"false");
9}
10
12 check_for_rotated_ctm(canvas);
14 check_for_rotated_ctm(canvas);
16 check_for_rotated_ctm(&defaultCanvas);
17}
18}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
SkM44 getLocalToDevice() const
void rotate(SkScalar degrees)
unsigned useCenter Optional< SkMatrix > matrix