4REG_FIDDLE(Bitmap_notifyPixelsChanged, 256, 20,
false, 0) {
10 canvas->
scale(16, 16);
14 bitmap.notifyPixelsChanged();
REG_FIDDLE(Bitmap_notifyPixelsChanged, 256, 20, false, 0)
@ kOpaque_SkAlphaType
pixel is opaque
@ kRGBA_8888_SkColorType
pixel with 8 bits for red, green, blue, alpha; in 32-bit word
SK_API SkPMColor SkPreMultiplyColor(SkColor c)
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorGREEN
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)
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)