#include <image_filter.h>
Definition at line 42 of file image_filter.h.
◆ ImageFilter()
impeller::ImageFilter::ImageFilter |
( |
| ) |
|
|
default |
◆ ~ImageFilter()
impeller::ImageFilter::~ImageFilter |
( |
| ) |
|
|
virtualdefault |
◆ Clone()
virtual std::shared_ptr< ImageFilter > impeller::ImageFilter::Clone |
( |
| ) |
const |
|
pure virtual |
◆ GetFilterContents()
std::shared_ptr< FilterContents > impeller::ImageFilter::GetFilterContents |
( |
| ) |
const |
Generate a new FilterContents using this filter's configuration.
This is the same as WrapInput, except no input is set. The input
for the filter chain can be set later using.
FilterContents::SetLeafInputs().
- See also
FilterContents::SetLeafInputs
Definition at line 63 of file image_filter.cc.
63 {
65}
virtual std::shared_ptr< FilterContents > WrapInput(const FilterInput::Ref &input) const =0
Wraps the given filter input with a GPU-based image filter.
◆ MakeBlur()
Definition at line 20 of file image_filter.cc.
24 {
25 return std::make_shared<BlurImageFilter>(sigma_x, sigma_y, blur_style,
26 tile_mode);
27}
◆ MakeCompose()
Definition at line 46 of file image_filter.cc.
48 {
49 return std::make_shared<ComposeImageFilter>(inner, outer);
50}
◆ MakeDilate()
Definition at line 29 of file image_filter.cc.
30 {
31 return std::make_shared<DilateImageFilter>(radius_x, radius_y);
32}
◆ MakeErode()
Definition at line 34 of file image_filter.cc.
35 {
36 return std::make_shared<ErodeImageFilter>(radius_x, radius_y);
37}
◆ MakeFromColorFilter()
Definition at line 52 of file image_filter.cc.
53 {
55}
static sk_sp< SkImage > color_filter(const SkImage *image, SkColorFilter *colorFilter)
◆ MakeLocalMatrix()
Definition at line 57 of file image_filter.cc.
59 {
60 return std::make_shared<LocalMatrixImageFilter>(
matrix, internal_filter);
61}
unsigned useCenter Optional< SkMatrix > matrix
◆ MakeMatrix()
Definition at line 39 of file image_filter.cc.
41 {
42 return std::make_shared<MatrixImageFilter>(
matrix,
43 std::move(sampler_descriptor));
44}
◆ Visit()
◆ WrapInput()
The documentation for this class was generated from the following files: