#include <layer_state_stack.h>
Public Member Functions | |
| ~MutatorContext () | |
| void | saveLayer (const DlRect &bounds) |
| void | applyOpacity (const DlRect &bounds, DlScalar opacity) |
| void | applyImageFilter (const DlRect &bounds, const std::shared_ptr< DlImageFilter > &filter) |
| void | applyColorFilter (const DlRect &bounds, const std::shared_ptr< const DlColorFilter > &filter) |
| void | applyBackdropFilter (const DlRect &bounds, const std::shared_ptr< DlImageFilter > &filter, DlBlendMode blend_mode, std::optional< int64_t > backdrop_id) |
| void | translate (DlScalar tx, DlScalar ty) |
| void | translate (const DlPoint &tp) |
| void | transform (const DlMatrix &matrix) |
| void | integralTransform () |
| void | clipRect (const DlRect &rect, bool is_aa) |
| void | clipRRect (const DlRoundRect &rrect, bool is_aa) |
| void | clipRSuperellipse (const DlRoundSuperellipse &rse, bool is_aa) |
| void | clipPath (const DlPath &path, bool is_aa) |
Friends | |
| class | LayerStateStack |
Definition at line 156 of file layer_state_stack.h.
|
inline |
Definition at line 158 of file layer_state_stack.h.
| void flutter::MutatorContext::applyBackdropFilter | ( | const DlRect & | bounds, |
| const std::shared_ptr< DlImageFilter > & | filter, | ||
| DlBlendMode | blend_mode, | ||
| std::optional< int64_t > | backdrop_id | ||
| ) |
Definition at line 562 of file layer_state_stack.cc.
Referenced by flutter::BackdropFilterLayer::Paint().
| void flutter::MutatorContext::applyColorFilter | ( | const DlRect & | bounds, |
| const std::shared_ptr< const DlColorFilter > & | filter | ||
| ) |
Definition at line 554 of file layer_state_stack.cc.
Referenced by flutter::testing::TEST().
| void flutter::MutatorContext::applyImageFilter | ( | const DlRect & | bounds, |
| const std::shared_ptr< DlImageFilter > & | filter | ||
| ) |
Definition at line 546 of file layer_state_stack.cc.
Referenced by flutter::testing::TEST().
Definition at line 540 of file layer_state_stack.cc.
Referenced by flutter::testing::TEST(), and flutter::testing::TEST().
| void flutter::MutatorContext::clipPath | ( | const DlPath & | path, |
| bool | is_aa | ||
| ) |
Definition at line 613 of file layer_state_stack.cc.
References flutter::path.
Referenced by flutter::ClipPathLayer::ApplyClip().
| void flutter::MutatorContext::clipRect | ( | const DlRect & | rect, |
| bool | is_aa | ||
| ) |
Definition at line 594 of file layer_state_stack.cc.
Referenced by flutter::ClipPathLayer::ApplyClip(), flutter::ClipRectLayer::ApplyClip(), and flutter::ClipRRectLayer::ApplyClip().
| void flutter::MutatorContext::clipRRect | ( | const DlRoundRect & | rrect, |
| bool | is_aa | ||
| ) |
Definition at line 600 of file layer_state_stack.cc.
Referenced by flutter::ClipPathLayer::ApplyClip(), and flutter::ClipRRectLayer::ApplyClip().
| void flutter::MutatorContext::clipRSuperellipse | ( | const DlRoundSuperellipse & | rse, |
| bool | is_aa | ||
| ) |
Definition at line 606 of file layer_state_stack.cc.
Referenced by flutter::ClipRSuperellipseLayer::ApplyClip().
| void flutter::MutatorContext::integralTransform | ( | ) |
Definition at line 588 of file layer_state_stack.cc.
Referenced by flutter::ColorFilterLayer::Paint(), and flutter::ShaderMaskLayer::Paint().
| void flutter::MutatorContext::saveLayer | ( | const DlRect & | bounds | ) |
Definition at line 536 of file layer_state_stack.cc.
| void flutter::MutatorContext::transform | ( | const DlMatrix & | matrix | ) |
Definition at line 578 of file layer_state_stack.cc.
References impeller::Matrix::IsIdentity(), impeller::Matrix::IsTranslationOnly(), impeller::Matrix::m, flutter::LayerStateStack::matrix(), and translate().
Referenced by flutter::TransformLayer::Paint(), and flutter::TransformLayer::Preroll().
|
inline |
Definition at line 204 of file layer_state_stack.h.
References translate(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by translate().
|
friend |
Definition at line 217 of file layer_state_stack.h.