Go to the source code of this file.
|
| REG_FIDDLE (Bitmap_tryAllocPixelsFlags, 256, 256, true, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Bitmap_tryAllocPixelsFlags |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Bitmap_tryAllocPixelsFlags.cpp.
5 {
10 SkDebugf(
"bitmap allocation failed!\n");
11 } else {
12 SkDebugf(
"bitmap allocation succeeded!\n");
13 }
14}
15}
@ kOpaque_SkAlphaType
pixel is opaque
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
@ kZeroPixels_AllocFlag
zero pixel memory. No effect. This is the default.
static SkImageInfo MakeN32(int width, int height, SkAlphaType at)