Flutter Impeller
IMPELLER_HPP_NAMESPACE::ImageFilter Class Referencefinal

#include <impeller.hpp>

Inheritance diagram for IMPELLER_HPP_NAMESPACE::ImageFilter:
IMPELLER_HPP_NAMESPACE::Object< ImpellerImageFilter, ImpellerImageFilterTraits >

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 ()
 
Objectoperator= (Object &&other)
 
Objectoperator= (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.

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 
)
inlinestatic
See also
ImpellerImageFilterCreateBlurNew

Definition at line 558 of file impeller.hpp.

560  {
561  return ImageFilter(gGlobalProcTable.ImpellerImageFilterCreateBlurNew(
562  x_sigma, y_sigma, tile_mode),
564  }
ImageFilter(ImpellerImageFilter filter, AdoptTag tag)
Definition: impeller.hpp:553

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 
)
inlinestatic
See also
ImpellerImageFilterCreateComposeNew

Definition at line 569 of file impeller.hpp.

570  {
571  return ImageFilter(gGlobalProcTable.ImpellerImageFilterCreateComposeNew(
572  outer.Get(), inner.Get()),
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 
)
inlinestatic
See also
ImpellerImageFilterCreateDilateNew

Definition at line 579 of file impeller.hpp.

579  {
580  return ImageFilter(
581  gGlobalProcTable.ImpellerImageFilterCreateDilateNew(x_radius, y_radius),
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 
)
inlinestatic
See also
ImpellerImageFilterCreateErodeNew

Definition at line 588 of file impeller.hpp.

588  {
589  return ImageFilter(
590  gGlobalProcTable.ImpellerImageFilterCreateErodeNew(x_radius, y_radius),
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 
)
inlinestatic
See also
ImpellerImageFilterCreateMatrixNew

Definition at line 597 of file impeller.hpp.

598  {
599  return ImageFilter(
600  gGlobalProcTable.ImpellerImageFilterCreateMatrixNew(&matrix, sampling),
602  }

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


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