Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Bitmap_installPixels |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Bitmap_installPixels.cpp.
4 {
7 delete[] (uint32_t*)
addr;
8}
9
12 void* pixels = new uint32_t[8 * 8];
16 SkDebugf(
"install " "%s" "successful\n", installed ?
"" :
"not ");
17}
18}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
@ kOpaque_SkAlphaType
pixel is opaque
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void releaseProc(const void *ptr, void *context)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
static SkImageInfo MakeN32(int width, int height, SkAlphaType at)