7 canvas->
clear(0x8055aaff);
8 uint32_t pixels[1] = { 0 };
11 SkDebugf(
"pixel = %08x\n", pixels[0]);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
bool readPixels(const SkImageInfo &dstInfo, void *dstPixels, size_t dstRowBytes, int srcX, int srcY)
#define REG_FIDDLE(NAME, W, H, TEXT, I)
static SkImageInfo MakeN32Premul(int width, int height)