12 uint16_t* row0 = bitmap16.
getAddr16(0, 0);
13 uint16_t* row1 = bitmap16.
getAddr16(0, 1);
15 SkDebugf(
"addr interval %c= rowBytes\n", interval == bitmap16.
rowBytes() ?
'=' :
'!');
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kARGB_4444_SkColorType
pixel with 4 bits for alpha, red, green, blue; in 16-bit word
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void allocPixels(const SkImageInfo &info, size_t rowBytes)
int bytesPerPixel() const
bool readPixels(const SkImageInfo &dstInfo, void *dstPixels, size_t dstRowBytes, int srcX, int srcY) const
uint16_t * getAddr16(int x, int y) const
#define REG_FIDDLE(NAME, W, H, TEXT, I)
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)