4REG_FIDDLE(Pixmap_writable_addr64, 256, 40,
false, 0) {
12 canvas->
scale(10, 10);
13 bitmap.installPixels(pixmap);
16 bitmap.installPixels(pixmap);
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
REG_FIDDLE(Pixmap_writable_addr64, 256, 40, false, 0)
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kRGBA_F16_SkColorType
pixel with half floats for red, green, blue, alpha;
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void scale(SkScalar sx, SkScalar sy)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
uint64_t * writable_addr64(int x, int y) const
bool erase(SkColor color, const SkIRect &subset) const
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)