Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Pixmap_erase |
, |
|
|
256 |
, |
|
|
50 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Pixmap_erase.cpp.
4 {
6 uint32_t storage[2];
12 canvas->
scale(20, 20);
13 bitmap.installPixels(pixmap);
15}
16}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void scale(SkScalar sx, SkScalar sy)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static SkImageInfo MakeN32Premul(int width, int height)