4REG_FIDDLE(backdrop_blur_with_rrect_clip, 512, 512,
false, 3) {
16 p.setImageFilter(std::move(filter));
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
REG_FIDDLE(backdrop_blur_with_rrect_clip, 512, 512, false, 3)
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
@ kInitWithPrevious_SaveLayerFlag
initializes with previous contents
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
void clipRRect(const SkRRect &rrect, SkClipOp op, bool doAntiAlias)
static sk_sp< SkImageFilter > Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
static SkRRect MakeRectXY(const SkRect &rect, SkScalar xRad, SkScalar yRad)
sk_sp< const SkImage > image
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)