8 #ifndef SkImageSampling_DEFINED
9 #define SkImageSampling_DEFINED
59 const int maxAniso = 0;
60 const bool useCubic =
false;
101 bool isAniso()
const {
return maxAniso != 0; }
@ kNone
glyph outlines unchanged
SkFilterMode
Definition: SkSamplingOptions.h:16
SkMipmapMode
Definition: SkSamplingOptions.h:24
static constexpr int kSkFilterModeCount
Definition: SkSamplingOptions.h:22
static constexpr int kSkMipmapModeCount
Definition: SkSamplingOptions.h:31
Definition: SkSamplingOptions.h:50
static constexpr SkCubicResampler CatmullRom()
Definition: SkSamplingOptions.h:55
float C
Definition: SkSamplingOptions.h:51
float B
Definition: SkSamplingOptions.h:51
static constexpr SkCubicResampler Mitchell()
Definition: SkSamplingOptions.h:54
Definition: SkSamplingOptions.h:58
constexpr SkSamplingOptions(SkFilterMode fm, SkMipmapMode mm)
Definition: SkSamplingOptions.h:73
bool operator==(const SkSamplingOptions &other) const
Definition: SkSamplingOptions.h:91
bool isAniso() const
Definition: SkSamplingOptions.h:101
static constexpr SkSamplingOptions Aniso(int maxAniso)
Definition: SkSamplingOptions.h:87
constexpr SkSamplingOptions(const SkCubicResampler &c)
Definition: SkSamplingOptions.h:83
const SkCubicResampler cubic
Definition: SkSamplingOptions.h:61
constexpr SkSamplingOptions()=default
bool operator!=(const SkSamplingOptions &other) const
Definition: SkSamplingOptions.h:99
const SkFilterMode filter
Definition: SkSamplingOptions.h:62
SkSamplingOptions(const SkSamplingOptions &)=default
SkSamplingOptions & operator=(const SkSamplingOptions &that)
Definition: SkSamplingOptions.h:67
constexpr SkSamplingOptions(SkFilterMode fm)
Definition: SkSamplingOptions.h:79
const SkMipmapMode mipmap
Definition: SkSamplingOptions.h:63
const bool useCubic
Definition: SkSamplingOptions.h:60
const int maxAniso
Definition: SkSamplingOptions.h:59