6 const char* alphas[] = {
"Unknown",
"Opaque",
"Premul",
"Unpremul"};
8 SkDebugf(
"alpha type: k" "%s" "_SkAlphaType\n", alphas[
info.alphaType()]);
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
REG_FIDDLE(ImageInfo_alphaType, 256, 256, true, 0)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
static SkImageInfo MakeA8(int width, int height)