Go to the source code of this file.
|
| REG_FIDDLE (Matrix_setSinCos_2, 256, 128, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Matrix_setSinCos_2 |
, |
|
|
256 |
, |
|
|
128 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Matrix_setSinCos_2.cpp.
4 {
8 paint.setAntiAlias(
true);
13 matrix.setSinCos(.25f, .85f);
18}
19}
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 translate(SkScalar dx, SkScalar dy)
void concat(const SkMatrix &matrix)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< SkBlender > blender SkRect rect