#include <dl_image_filter.h>
|
| DlLocalMatrixImageFilter (const SkMatrix &matrix, std::shared_ptr< DlImageFilter > filter) |
|
| DlLocalMatrixImageFilter (const DlLocalMatrixImageFilter *filter) |
|
| DlLocalMatrixImageFilter (const DlLocalMatrixImageFilter &filter) |
|
std::shared_ptr< DlImageFilter > | shared () const override |
|
DlImageFilterType | type () const override |
|
size_t | size () const override |
|
const SkMatrix & | matrix () const |
|
const std::shared_ptr< DlImageFilter > | image_filter () const |
|
const DlLocalMatrixImageFilter * | asLocalMatrix () const override |
|
bool | modifies_transparent_black () const override |
|
SkRect * | map_local_bounds (const SkRect &input_bounds, SkRect &output_bounds) const override |
|
SkIRect * | map_device_bounds (const SkIRect &input_bounds, const SkMatrix &ctm, SkIRect &output_bounds) const override |
|
SkIRect * | get_input_device_bounds (const SkIRect &output_bounds, const SkMatrix &ctm, SkIRect &input_bounds) const override |
|
virtual const DlBlurImageFilter * | asBlur () const |
|
virtual const DlDilateImageFilter * | asDilate () const |
|
virtual const DlErodeImageFilter * | asErode () const |
|
virtual const DlMatrixImageFilter * | asMatrix () const |
|
virtual const DlLocalMatrixImageFilter * | asLocalMatrix () const |
|
virtual std::shared_ptr< DlImageFilter > | makeWithLocalMatrix (const SkMatrix &matrix) const |
|
virtual const DlComposeImageFilter * | asCompose () const |
|
virtual const DlColorFilterImageFilter * | asColorFilter () const |
|
virtual bool | modifies_transparent_black () const =0 |
|
virtual SkRect * | map_local_bounds (const SkRect &input_bounds, SkRect &output_bounds) const =0 |
|
virtual SkIRect * | map_device_bounds (const SkIRect &input_bounds, const SkMatrix &ctm, SkIRect &output_bounds) const =0 |
|
virtual SkIRect * | get_input_device_bounds (const SkIRect &output_bounds, const SkMatrix &ctm, SkIRect &input_bounds) const =0 |
|
virtual MatrixCapability | matrix_capability () const |
|
virtual DlImageFilterType | type () const=0 |
|
virtual size_t | size () const=0 |
|
virtual std::shared_ptr< DlImageFilter > | shared () const=0 |
|
bool | operator== (DlImageFilter const &other) const |
|
bool | operator!= (DlImageFilter const &other) const |
|
virtual | ~DlAttribute ()=default |
|
|
enum class | MatrixCapability { kTranslate
, kScaleTranslate
, kComplex
} |
|
static SkVector | map_vectors_affine (const SkMatrix &ctm, SkScalar x, SkScalar y) |
|
static SkIRect * | inset_device_bounds (const SkIRect &input_bounds, SkScalar radius_x, SkScalar radius_y, const SkMatrix &ctm, SkIRect &output_bounds) |
|
static SkIRect * | outset_device_bounds (const SkIRect &input_bounds, SkScalar radius_x, SkScalar radius_y, const SkMatrix &ctm, SkIRect &output_bounds) |
|
Definition at line 665 of file dl_image_filter.h.
◆ DlLocalMatrixImageFilter() [1/3]
flutter::DlLocalMatrixImageFilter::DlLocalMatrixImageFilter |
( |
const SkMatrix & |
matrix, |
|
|
std::shared_ptr< DlImageFilter > |
filter |
|
) |
| |
|
inlineexplicit |
Definition at line 667 of file dl_image_filter.h.
669 : matrix_(
matrix), image_filter_(std::move(filter)) {}
const SkMatrix & matrix() const
◆ DlLocalMatrixImageFilter() [2/3]
Definition at line 670 of file dl_image_filter.h.
DlLocalMatrixImageFilter(const SkMatrix &matrix, std::shared_ptr< DlImageFilter > filter)
◆ DlLocalMatrixImageFilter() [3/3]
◆ asLocalMatrix()
◆ equals_()
bool flutter::DlLocalMatrixImageFilter::equals_ |
( |
const DlImageFilter & |
other | ) |
const |
|
inlineoverrideprotectedvirtual |
◆ get_input_device_bounds()
SkIRect * flutter::DlLocalMatrixImageFilter::get_input_device_bounds |
( |
const SkIRect & |
output_bounds, |
|
|
const SkMatrix & |
ctm, |
|
|
SkIRect & |
input_bounds |
|
) |
| const |
|
inlineoverridevirtual |
Implements flutter::DlImageFilter.
Definition at line 720 of file dl_image_filter.h.
722 {
723 if (!image_filter_) {
724 input_bounds = output_bounds;
725 return &input_bounds;
726 }
727 return image_filter_->get_input_device_bounds(
729 }
static SkMatrix Concat(const SkMatrix &a, const SkMatrix &b)
◆ image_filter()
const std::shared_ptr< DlImageFilter > flutter::DlLocalMatrixImageFilter::image_filter |
( |
| ) |
const |
|
inline |
◆ map_device_bounds()
SkIRect * flutter::DlLocalMatrixImageFilter::map_device_bounds |
( |
const SkIRect & |
input_bounds, |
|
|
const SkMatrix & |
ctm, |
|
|
SkIRect & |
output_bounds |
|
) |
| const |
|
inlineoverridevirtual |
Implements flutter::DlImageFilter.
Definition at line 709 of file dl_image_filter.h.
711 {
712 if (!image_filter_) {
713 output_bounds = input_bounds;
714 return &output_bounds;
715 }
716 return image_filter_->map_device_bounds(
718 }
◆ map_local_bounds()
SkRect * flutter::DlLocalMatrixImageFilter::map_local_bounds |
( |
const SkRect & |
input_bounds, |
|
|
SkRect & |
output_bounds |
|
) |
| const |
|
inlineoverridevirtual |
Implements flutter::DlImageFilter.
Definition at line 700 of file dl_image_filter.h.
701 {
702 if (!image_filter_) {
703 output_bounds = input_bounds;
704 return &output_bounds;
705 }
706 return image_filter_->map_local_bounds(input_bounds, output_bounds);
707 }
◆ matrix()
const SkMatrix & flutter::DlLocalMatrixImageFilter::matrix |
( |
| ) |
const |
|
inline |
◆ modifies_transparent_black()
bool flutter::DlLocalMatrixImageFilter::modifies_transparent_black |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ shared()
std::shared_ptr< DlImageFilter > flutter::DlLocalMatrixImageFilter::shared |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ size()
size_t flutter::DlLocalMatrixImageFilter::size |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ type()
The documentation for this class was generated from the following file: