#include <paint.h>
Public Member Functions | |
std::shared_ptr< FilterContents > | CreateMaskBlur (std::shared_ptr< ColorSourceContents > color_source_contents, const flutter::DlColorFilter *color_filter, bool invert_colors, FillRectGeometry *rect_geom) const |
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 |
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 451 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< FilterContents > impeller::Paint::MaskBlurDescriptor::CreateMaskBlur | ( | std::shared_ptr< ColorSourceContents > | color_source_contents, |
const flutter::DlColorFilter * | color_filter, | ||
bool | invert_colors, | ||
FillRectGeometry * | rect_geom | ||
) | const |
Definition at line 395 of file paint.cc.
References 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().