#include <paint.h>
Public Member Functions | |
| std::shared_ptr< FilterContents > | CreateMaskBlur (std::shared_ptr< TextureContents > texture_contents, FillRectGeometry *rect_geom) const |
| std::shared_ptr< FilterContents > | CreateMaskBlur (const FilterInput::Ref &input, bool is_solid_color, const Matrix &ctm) const |
| std::shared_ptr< Contents > | CreateMaskBlur (const Paint &paint, const Geometry *geometry, std::shared_ptr< ColorSourceContents > contents, bool needs_color_filter, FillRectGeometry *out_geom) const |
Public Attributes | |
| FilterContents::BlurStyle | style |
| Sigma | sigma |
| bool | respect_ctm = true |
| std::shared_ptr< FilterContents > impeller::Paint::MaskBlurDescriptor::CreateMaskBlur | ( | const FilterInput::Ref & | input, |
| bool | is_solid_color, | ||
| const Matrix & | ctm | ||
| ) | const |
Definition at line 450 of file paint.cc.
References impeller::Matrix::GetBasisX(), impeller::Matrix::GetBasisY(), impeller::Vector3::GetLength(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
| std::shared_ptr< Contents > impeller::Paint::MaskBlurDescriptor::CreateMaskBlur | ( | const Paint & | paint, |
| const Geometry * | geometry, | ||
| std::shared_ptr< ColorSourceContents > | contents, | ||
| bool | needs_color_filter, | ||
| FillRectGeometry * | out_geom | ||
| ) | const |
Definition at line 394 of file paint.cc.
References impeller::Paint::color_filter, impeller::Paint::CreateContents(), impeller::Paint::invert_colors, impeller::WrapWithGPUColorFilter(), and impeller::WrapWithInvertColors().
| std::shared_ptr< FilterContents > impeller::Paint::MaskBlurDescriptor::CreateMaskBlur | ( | std::shared_ptr< TextureContents > | texture_contents, |
| FillRectGeometry * | rect_geom | ||
| ) | const |
Definition at line 365 of file paint.cc.
| bool impeller::Paint::MaskBlurDescriptor::respect_ctm = true |
Text mask blurs need to not apply the CTM to the blur kernel. See: https://github.com/flutter/flutter/issues/115112
| Sigma impeller::Paint::MaskBlurDescriptor::sigma |
Definition at line 54 of file paint.h.
Referenced by impeller::testing::TEST_P().
| FilterContents::BlurStyle impeller::Paint::MaskBlurDescriptor::style |
Definition at line 53 of file paint.h.
Referenced by impeller::DlDispatcherBase::drawShadow().