Inherits flutter::LayerStateStack::StateEntry.
Definition at line 277 of file layer_state_stack.cc.
◆ ImageFilterEntry()
| flutter::ImageFilterEntry::ImageFilterEntry |
( |
const DlRect & |
bounds, |
|
|
const std::shared_ptr< DlImageFilter > & |
filter, |
|
|
const LayerStateStack::RenderingAttributes & |
prev |
|
) |
| |
|
inline |
Definition at line 279 of file layer_state_stack.cc.
282 : bounds_(bounds),
283 filter_(filter),
284 old_filter_(prev.image_filter),
285 old_bounds_(prev.save_layer_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: