Go to the source code of this file.
|
| REG_FIDDLE (Matrix_preTranslate, 256, 160, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_preTranslate |
, |
|
|
256 |
, |
|
|
160 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Matrix_preTranslate.cpp.
4 {
7 paint.setAntiAlias(
true);
9 for (
int i = 0;
i < 2; ++
i ) {
12 {
17 }
19 for (int j = 0; j < 2; ++j ) {
21 matrix.preTranslate(40, 40);
24 }
25 }
26}
27}
constexpr SkColor SK_ColorGRAY
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void concat(const SkMatrix &matrix)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< SkBlender > blender SkRect rect