6 std::vector<uint32_t> srcPixels;
7 constexpr int width = 256;
16 bitmap.installPixels(pixmap);
REG_FIDDLE(Color_Constants_b, 256, 256, false, 3)
constexpr SkColor SK_ColorTRANSPARENT
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
bool erase(SkColor color, const SkIRect &subset) const
static SkImageInfo MakeN32Premul(int width, int height)
size_t minRowBytes() const