REG_FIDDLE(Canvas_SaveLayerRec, 256, 160, false, 0)
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
static sk_sp< SkImageFilter > MatrixTransform(const SkMatrix &matrix, const SkSamplingOptions &sampling, sk_sp< SkImageFilter > input)
void setColor(SkColor color)
void setAntiAlias(bool aa)
unsigned useCenter Optional< SkMatrix > matrix
SkSamplingOptions(SkFilterMode::kLinear))