Inherits flutter::LayerStateStack::StateEntry.
Definition at line 277 of file layer_state_stack.cc.
◆ ImageFilterEntry()
flutter::ImageFilterEntry::ImageFilterEntry |
( |
const SkRect & |
bounds, |
|
|
const std::shared_ptr< const DlImageFilter > & |
filter, |
|
|
const LayerStateStack::RenderingAttributes & |
prev |
|
) |
| |
|
inline |
Definition at line 279 of file layer_state_stack.cc.
283 filter_(filter),
284 old_filter_(
prev.image_filter),
285 old_bounds_(
prev.save_layer_bounds) {}
static float prev(float f)
Optional< SkRect > bounds
◆ ~ImageFilterEntry()
flutter::ImageFilterEntry::~ImageFilterEntry |
( |
| ) |
|
|
overridedefault |
◆ apply()
Definition at line 288 of file layer_state_stack.cc.
288 {
289 stack->outstanding_.save_layer_bounds = bounds_;
290 stack->outstanding_.image_filter = filter_;
291 }
◆ restore()
Definition at line 292 of file layer_state_stack.cc.
292 {
293 stack->outstanding_.save_layer_bounds = old_bounds_;
294 stack->outstanding_.image_filter = old_filter_;
295 }
The documentation for this class was generated from the following file: