#include <dl_image_filter.h>
|
| DlMatrixImageFilter (const SkMatrix &matrix, DlImageSampling sampling) |
|
| DlMatrixImageFilter (const DlMatrixImageFilter *filter) |
|
| DlMatrixImageFilter (const DlMatrixImageFilter &filter) |
|
std::shared_ptr< DlImageFilter > | shared () const override |
|
DlImageFilterType | type () const override |
|
size_t | size () const override |
|
const SkMatrix & | matrix () const |
|
DlImageSampling | sampling () const |
|
const DlMatrixImageFilter * | asMatrix () 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 422 of file dl_image_filter.h.
◆ DlMatrixImageFilter() [1/3]
Definition at line 424 of file dl_image_filter.h.
const SkMatrix & matrix() const
DlImageSampling sampling() const
◆ DlMatrixImageFilter() [2/3]
Definition at line 426 of file dl_image_filter.h.
DlMatrixImageFilter(const SkMatrix &matrix, DlImageSampling sampling)
◆ DlMatrixImageFilter() [3/3]
◆ asMatrix()
◆ equals_()
bool flutter::DlMatrixImageFilter::equals_ |
( |
const DlImageFilter & |
other | ) |
const |
|
inlineoverrideprotectedvirtual |
◆ get_input_device_bounds()
SkIRect * flutter::DlMatrixImageFilter::get_input_device_bounds |
( |
const SkIRect & |
output_bounds, |
|
|
const SkMatrix & |
ctm, |
|
|
SkIRect & |
input_bounds |
|
) |
| const |
|
inlineoverridevirtual |
Implements flutter::DlImageFilter.
Definition at line 475 of file dl_image_filter.h.
477 {
481 input_bounds = output_bounds;
482 return nullptr;
483 }
486 bounds.set(output_bounds);
488 input_bounds =
bounds.roundOut();
489 return &input_bounds;
490 }
SkMatrix & postConcat(const SkMatrix &other)
static SkMatrix Concat(const SkMatrix &a, const SkMatrix &b)
bool invert(SkMatrix *inverse) const
bool mapRect(SkRect *dst, const SkRect &src, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const
Optional< SkRect > bounds
◆ Make()
◆ map_device_bounds()
Implements flutter::DlImageFilter.
Definition at line 459 of file dl_image_filter.h.
461 {
464 output_bounds = input_bounds;
465 return nullptr;
466 }
471 output_bounds = device_rect.
roundOut();
472 return &output_bounds;
473 }
static SkRect Make(const SkISize &size)
void roundOut(SkIRect *dst) const
◆ map_local_bounds()
SkRect * flutter::DlMatrixImageFilter::map_local_bounds |
( |
const SkRect & |
input_bounds, |
|
|
SkRect & |
output_bounds |
|
) |
| const |
|
inlineoverridevirtual |
◆ matrix()
const SkMatrix & flutter::DlMatrixImageFilter::matrix |
( |
| ) |
const |
|
inline |
◆ modifies_transparent_black()
bool flutter::DlMatrixImageFilter::modifies_transparent_black |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ sampling()
◆ shared()
std::shared_ptr< DlImageFilter > flutter::DlMatrixImageFilter::shared |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ size()
size_t flutter::DlMatrixImageFilter::size |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ type()
The documentation for this class was generated from the following file: