Flutter Engine
The Flutter Engine
Static Public Member Functions | Public Attributes | List of all members
SkCubicResampler Struct Reference

#include <SkSamplingOptions.h>

Static Public Member Functions

static constexpr SkCubicResampler Mitchell ()
 
static constexpr SkCubicResampler CatmullRom ()
 

Public Attributes

float B
 
float C
 

Detailed Description

Definition at line 50 of file SkSamplingOptions.h.

Member Function Documentation

◆ CatmullRom()

static constexpr SkCubicResampler SkCubicResampler::CatmullRom ( )
inlinestaticconstexpr

Definition at line 55 of file SkSamplingOptions.h.

55{ return {0.0f, 1/2.0f}; }

◆ Mitchell()

static constexpr SkCubicResampler SkCubicResampler::Mitchell ( )
inlinestaticconstexpr

Definition at line 54 of file SkSamplingOptions.h.

54{ return {1/3.0f, 1/3.0f}; }

Member Data Documentation

◆ B

float SkCubicResampler::B

Definition at line 51 of file SkSamplingOptions.h.

◆ C

float SkCubicResampler::C

Definition at line 51 of file SkSamplingOptions.h.


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