5#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_IMAGE_FILTERS_DL_BLUR_IMAGE_FILTER_H_
6#define FLUTTER_DISPLAY_LIST_EFFECTS_IMAGE_FILTERS_DL_BLUR_IMAGE_FILTER_H_
48 std::optional<DlRect>
bounds = std::nullopt)
61 static std::shared_ptr<DlImageFilter>
Make(
65 std::optional<DlRect>
bounds = std::nullopt);
67 std::shared_ptr<DlImageFilter>
shared()
const override {
68 return std::make_shared<DlBlurImageFilter>(
this);
72 size_t size()
const override {
return sizeof(*this); }
79 DlRect& output_bounds)
const override;
83 DlIRect& output_bounds)
const override;
87 DlIRect& input_bounds)
const override;
92 std::optional<DlRect>
bounds()
const {
return bounds_; }
101 std::optional<DlRect> bounds_;
bool modifies_transparent_black() const override
static std::shared_ptr< DlImageFilter > Make(DlScalar sigma_x, DlScalar sigma_y, DlTileMode tile_mode, std::optional< DlRect > bounds=std::nullopt)
DlImageFilterType type() const override
std::optional< DlRect > bounds() const
DlIRect * get_input_device_bounds(const DlIRect &output_bounds, const DlMatrix &ctm, DlIRect &input_bounds) const override
DlBlurImageFilter(DlScalar sigma_x, DlScalar sigma_y, DlTileMode tile_mode, std::optional< DlRect > bounds=std::nullopt)
Creates an ImageFilter that applies a Gaussian blur to its input.
std::shared_ptr< DlImageFilter > shared() const override
bool equals_(const DlImageFilter &other) const override
const DlBlurImageFilter * asBlur() const override
size_t size() const override
DlRect * map_local_bounds(const DlRect &input_bounds, DlRect &output_bounds) const override
DlBlurImageFilter(const DlBlurImageFilter *filter)
DlTileMode tile_mode() const
DlBlurImageFilter(const DlBlurImageFilter &filter)
DlIRect * map_device_bounds(const DlIRect &input_bounds, const DlMatrix &ctm, DlIRect &output_bounds) const override
impeller::Scalar DlScalar
A 4x4 matrix using column-major storage.