REG_FIDDLE(Bitmap_setPixelRef, 256, 140, false, 5)
@ kOpaque_SkAlphaType
pixel is opaque
@ kGray_8_SkColorType
pixel with grayscale level in 8-bit byte
sk_sp< T > sk_ref_sp(T *obj)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
SkPixelRef * pixelRef() const
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)