6 std::vector<int32_t> srcPixels;
REG_FIDDLE(Alpha_Constants_b, 256, 128, false, 1)
constexpr SkAlpha SK_AlphaOPAQUE
constexpr SkColor SK_ColorGREEN
#define SkColorGetA(color)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
bool readPixels(const SkImageInfo &dstInfo, void *dstPixels, size_t dstRowBytes, int srcX, int srcY) const
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static SkColor PMColorToColor(SkPMColor c)
SK_API sk_sp< SkImage > RasterFromPixmapCopy(const SkPixmap &pixmap)
static SkImageInfo MakeN32Premul(int width, int height)