| Flutter Impeller |

Public Member Functions | Static Public Member Functions | List of all members
IMPELLER_HPP_NAMESPACE::ImageFilter Class Referencefinal

`#include <impeller.hpp>`

Inheritance diagram for IMPELLER_HPP_NAMESPACE::ImageFilter:

## Public Member Functions
| ImageFilter (ImpellerImageFilter filter, AdoptTag tag)
Public Member Functions inherited from IMPELLER_HPP_NAMESPACE::Object< ImpellerImageFilter, ImpellerImageFilterTraits >
| Object ()=default
| Object (ImpellerImageFilter object)
| Object (ImpellerImageFilter object, AdoptTag)
| Object (Object &&other)
| Object (const Object &other)
| ~Object ()
Object & | operator= (Object &&other)
Object & | operator= (const Object &other)
ImpellerImageFilter | Get () const
| operator bool () const

## Static Public Member Functions
static ImageFilter | Blur (float x_sigma, float y_sigma, ImpellerTileMode tile_mode)
static ImageFilter | Compose (const ImageFilter &outer, const ImageFilter &inner)
static ImageFilter | Dilate (float x_radius, float y_radius)
static ImageFilter | Erode (float x_radius, float y_radius)
static ImageFilter | Matrix (const ImpellerMatrix &matrix, ImpellerTextureSampling sampling)

## Detailed Description

See also
  ImpellerImageFilter

Definition at line 595 of file impeller.hpp.

## Constructor & Destructor Documentation

## ◆ ImageFilter()

IMPELLER_HPP_NAMESPACE::ImageFilter::ImageFilter | ( | ImpellerImageFilter | filter,
|  | AdoptTag | tag
| ) |  |
| inline

Definition at line 598 of file impeller.hpp.

598 : Object(filter, tag) {}
IMPELLER_HPP_NAMESPACE::Object< ImpellerImageFilter, ImpellerImageFilterTraits >::Object
Object()=default

Referenced by Blur(), Compose(), Dilate(), Erode(), and Matrix().

## Member Function Documentation

## ◆ Blur()

static ImageFilter IMPELLER_HPP_NAMESPACE::ImageFilter::Blur | ( | float | x_sigma,
|  | float | y_sigma,
|  | ImpellerTileMode | tile_mode
| ) |  |
| inline static

See also
  ImpellerImageFilterCreateBlurNew

Definition at line 603 of file impeller.hpp.

605 {
606 return ImageFilter(gGlobalProcTable.ImpellerImageFilterCreateBlurNew(
607 x_sigma, y_sigma, tile_mode),
608 AdoptTag::kAdopt);
609 }
IMPELLER_HPP_NAMESPACE::ImageFilter::ImageFilter
ImageFilter(ImpellerImageFilter filter, AdoptTag tag)
Definition: impeller.hpp:598
IMPELLER_HPP_NAMESPACE::AdoptTag::kAdopt
@ kAdopt
IMPELLER_HPP_NAMESPACE::gGlobalProcTable
ProcTable gGlobalProcTable
Definition: playground_test.cc:25

References IMPELLER_HPP_NAMESPACE::gGlobalProcTable, ImageFilter(), and IMPELLER_HPP_NAMESPACE::kAdopt.

## ◆ Compose()

static ImageFilter IMPELLER_HPP_NAMESPACE::ImageFilter::Compose | ( | const ImageFilter & | outer,
|  | const ImageFilter & | inner
| ) |  |
| inline static

See also
  ImpellerImageFilterCreateComposeNew

Definition at line 614 of file impeller.hpp.

615 {
616 return ImageFilter(gGlobalProcTable.ImpellerImageFilterCreateComposeNew(
617 outer.Get(), inner.Get()),
618 AdoptTag::kAdopt);
619 }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::gGlobalProcTable, ImageFilter(), and IMPELLER_HPP_NAMESPACE::kAdopt.

## ◆ Dilate()

static ImageFilter IMPELLER_HPP_NAMESPACE::ImageFilter::Dilate | ( | float | x_radius,
|  | float | y_radius
| ) |  |
| inline static

See also
  ImpellerImageFilterCreateDilateNew

Definition at line 624 of file impeller.hpp.

624 {
625 return ImageFilter(
626 gGlobalProcTable.ImpellerImageFilterCreateDilateNew(x_radius, y_radius),
627 AdoptTag::kAdopt);
628 }

References IMPELLER_HPP_NAMESPACE::gGlobalProcTable, ImageFilter(), and IMPELLER_HPP_NAMESPACE::kAdopt.

## ◆ Erode()

static ImageFilter IMPELLER_HPP_NAMESPACE::ImageFilter::Erode | ( | float | x_radius,
|  | float | y_radius
| ) |  |
| inline static

See also
  ImpellerImageFilterCreateErodeNew

Definition at line 633 of file impeller.hpp.

633 {
634 return ImageFilter(
635 gGlobalProcTable.ImpellerImageFilterCreateErodeNew(x_radius, y_radius),
636 AdoptTag::kAdopt);
637 }

References IMPELLER_HPP_NAMESPACE::gGlobalProcTable, ImageFilter(), and IMPELLER_HPP_NAMESPACE::kAdopt.

## ◆ Matrix()

static ImageFilter IMPELLER_HPP_NAMESPACE::ImageFilter::Matrix | ( | const ImpellerMatrix & | matrix,
|  | ImpellerTextureSampling | sampling
| ) |  |
| inline static

See also
  ImpellerImageFilterCreateMatrixNew

Definition at line 642 of file impeller.hpp.

643 {
644 return ImageFilter(
645 gGlobalProcTable.ImpellerImageFilterCreateMatrixNew(&matrix, sampling),
646 AdoptTag::kAdopt);
647 }

References IMPELLER_HPP_NAMESPACE::gGlobalProcTable, ImageFilter(), and IMPELLER_HPP_NAMESPACE::kAdopt.

The documentation for this class was generated from the following file:

- impeller/toolkit/interop/impeller.hpp