static constexpr SkColor SkColorSetA(SkColor c, U8CPU a)
constexpr SkColor SK_ColorRED
REG_FIDDLE(Src, 256, 256, false, 3)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
void setColor(SkColor color)
void setBlendMode(SkBlendMode mode)
sk_sp< const SkImage > image