Inherits flutter::LayerStateStack::StateEntry.
Definition at line 281 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 283 of file layer_state_stack.cc.
286 : bounds_(bounds),
287 filter_(filter),
288 old_filter_(
prev.image_filter),
289 old_bounds_(
prev.save_layer_bounds) {}
static float prev(float f)
◆ ~ImageFilterEntry()
flutter::ImageFilterEntry::~ImageFilterEntry |
( |
| ) |
|
|
overridedefault |
◆ apply()
Definition at line 292 of file layer_state_stack.cc.
292 {
293 stack->outstanding_.save_layer_bounds = bounds_;
294 stack->outstanding_.image_filter = filter_;
295 }
◆ restore()
Definition at line 296 of file layer_state_stack.cc.
296 {
297 stack->outstanding_.save_layer_bounds = old_bounds_;
298 stack->outstanding_.image_filter = old_filter_;
299 }
The documentation for this class was generated from the following file: