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 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.

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

605  {
606  return ImageFilter(gGlobalProcTable.ImpellerImageFilterCreateBlurNew(
607  x_sigma, y_sigma, tile_mode),
609  }
ImageFilter(ImpellerImageFilter filter, AdoptTag tag)
Definition: impeller.hpp:598

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

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

Definition at line 624 of file impeller.hpp.

624  {
625  return ImageFilter(
626  gGlobalProcTable.ImpellerImageFilterCreateDilateNew(x_radius, y_radius),
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 
)
inlinestatic
See also
ImpellerImageFilterCreateErodeNew

Definition at line 633 of file impeller.hpp.

633  {
634  return ImageFilter(
635  gGlobalProcTable.ImpellerImageFilterCreateErodeNew(x_radius, y_radius),
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 
)
inlinestatic
See also
ImpellerImageFilterCreateMatrixNew

Definition at line 642 of file impeller.hpp.

643  {
644  return ImageFilter(
645  gGlobalProcTable.ImpellerImageFilterCreateMatrixNew(&matrix, sampling),
647  }

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


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