Go to the source code of this file.
|
| REG_FIDDLE (Pixmap_writable_addr64, 256, 40, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Pixmap_writable_addr64 |
, |
|
|
256 |
, |
|
|
40 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Pixmap_writable_addr64.cpp.
4 {
7 uint64_t storage[9];
10 pixmap.erase(c4);
12 canvas->
scale(10, 10);
13 bitmap.installPixels(pixmap);
15 *pixmap.writable_addr64(1, 1) |= 0x00ff000000000000LL;
16 bitmap.installPixels(pixmap);
18}
19}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kRGBA_F16_SkColorType
pixel with half floats for red, green, blue, alpha;
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 Make(int width, int height, SkColorType ct, SkAlphaType at)