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 5 of file Matrix_preTranslate.cpp.
5 {
8 paint.setAntiAlias(
true);
10 for (int i = 0; i < 2; ++i ) {
13 {
18 }
20 for (int j = 0; j < 2; ++j ) {
22 matrix.preTranslate(40, 40);
25 }
26 }
27}
28}
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