Go to the source code of this file.
|
| REG_FIDDLE (backdrop_blur_with_rrect_clip, 512, 512, false, 3) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
backdrop_blur_with_rrect_clip |
, |
|
|
512 |
, |
|
|
512 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 4 of file backdrop_blur_with_rrect_clip.cpp.
4 {
8
10
13
16 p.setImageFilter(std::move(filter));
17
23}
24}
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
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)