| 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 550 of file impeller.hpp.

## Constructor & Destructor Documentation

## ◆ ImageFilter()

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

Definition at line 553 of file impeller.hpp.

553 : 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 558 of file impeller.hpp.

560 {
561 return ImageFilter(gGlobalProcTable.ImpellerImageFilterCreateBlurNew(
562 x_sigma, y_sigma, tile_mode),
563 AdoptTag::kAdopt);
564 }
IMPELLER_HPP_NAMESPACE::ImageFilter::ImageFilter
ImageFilter(ImpellerImageFilter filter, AdoptTag tag)
Definition: impeller.hpp:553
IMPELLER_HPP_NAMESPACE::AdoptTag::kAdopt
@ kAdopt
IMPELLER_HPP_NAMESPACE::gGlobalProcTable
ProcTable gGlobalProcTable
Definition: playground_test.cc:10

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 569 of file impeller.hpp.

570 {
571 return ImageFilter(gGlobalProcTable.ImpellerImageFilterCreateComposeNew(
572 outer.Get(), inner.Get()),
573 AdoptTag::kAdopt);
574 }

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 579 of file impeller.hpp.

579 {
580 return ImageFilter(
581 gGlobalProcTable.ImpellerImageFilterCreateDilateNew(x_radius, y_radius),
582 AdoptTag::kAdopt);
583 }

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 588 of file impeller.hpp.

588 {
589 return ImageFilter(
590 gGlobalProcTable.ImpellerImageFilterCreateErodeNew(x_radius, y_radius),
591 AdoptTag::kAdopt);
592 }

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 597 of file impeller.hpp.

598 {
599 return ImageFilter(
600 gGlobalProcTable.ImpellerImageFilterCreateMatrixNew(&matrix, sampling),
601 AdoptTag::kAdopt);
602 }

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