Go to the source code of this file.
|
| REG_FIDDLE (Matrix_dirtyMatrixTypeCache, 256, 256, true, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_dirtyMatrixTypeCache |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Matrix_dirtyMatrixTypeCache.cpp.
5 {
9 SkDebugf(
"with identity matrix: x = %g\n",
matrix.mapXY(24, 42).fX);
11 skewRef = 0;
13 skewRef = 1;
14 SkDebugf(
"after 2nd skew x mod: x = %g\n",
matrix.mapXY(24, 42).fX);
15 matrix.dirtyMatrixTypeCache();
17}
18}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
static constexpr int kMSkewX
horizontal skew factor
unsigned useCenter Optional< SkMatrix > matrix