#include <paint.h>
Public Member Functions | |
| std::shared_ptr< FilterContents > | CreateMaskBlur (std::shared_ptr< ColorSourceContents > color_source_contents, const std::shared_ptr< ColorFilter > &color_filter) const |
| std::shared_ptr< FilterContents > | CreateMaskBlur (std::shared_ptr< TextureContents > texture_contents) const |
| std::shared_ptr< FilterContents > | CreateMaskBlur (const FilterInput::Ref &input, bool is_solid_color, const Matrix &ctm) 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 205 of file paint.cc.
References impeller::Matrix::GetBasisX(), impeller::Matrix::GetBasisY(), impeller::Entity::kDecal, impeller::Vector3::Length(), impeller::FilterContents::MakeBorderMaskBlur(), impeller::FilterContents::MakeGaussianBlur(), impeller::Paint::style, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
| std::shared_ptr< FilterContents > impeller::Paint::MaskBlurDescriptor::CreateMaskBlur | ( | std::shared_ptr< ColorSourceContents > | color_source_contents, |
| const std::shared_ptr< ColorFilter > & | color_filter | ||
| ) | const |
Definition at line 155 of file paint.cc.
References impeller::Paint::color_filter, impeller::Entity::kDecal, impeller::kSourceIn, impeller::ColorFilterContents::kYes, impeller::FilterInput::Make(), impeller::ColorFilterContents::MakeBlend(), impeller::FilterContents::MakeGaussianBlur(), impeller::Geometry::MakeRect(), impeller::Paint::style, and impeller::Color::White().
| std::shared_ptr< FilterContents > impeller::Paint::MaskBlurDescriptor::CreateMaskBlur | ( | std::shared_ptr< TextureContents > | texture_contents | ) | const |
Definition at line 127 of file paint.cc.
References impeller::GaussianBlurFilterContents::CalculateBlurRadius(), impeller::Entity::kDecal, impeller::kSourceIn, impeller::FilterInput::Make(), impeller::ColorFilterContents::MakeBlend(), impeller::FilterContents::MakeGaussianBlur(), impeller::Geometry::MakeRect(), impeller::GaussianBlurFilterContents::ScaleSigma(), impeller::Sigma::sigma, sigma, style, and impeller::Color::White().
| 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 50 of file paint.h.
Referenced by CreateMaskBlur().
| FilterContents::BlurStyle impeller::Paint::MaskBlurDescriptor::style |
Definition at line 49 of file paint.h.
Referenced by CreateMaskBlur(), impeller::DlDispatcherBase::drawShadow(), impeller::testing::MaskBlurVariantTest(), and impeller::testing::TEST_P().