Skia
2D Graphics Library
SkFilterQuality.h File Reference
Include dependency graph for SkFilterQuality.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  SkFilterQuality {
  kNone_SkFilterQuality, kLow_SkFilterQuality, kMedium_SkFilterQuality, kHigh_SkFilterQuality,
  kLast_SkFilterQuality = kHigh_SkFilterQuality
}
 Controls how much filtering to be done when scaling/transforming complex colors e.g. More...
 

Enumeration Type Documentation

◆ SkFilterQuality

Controls how much filtering to be done when scaling/transforming complex colors e.g.

images

Enumerator
kNone_SkFilterQuality 

fastest but lowest quality, typically nearest-neighbor

kLow_SkFilterQuality 

typically bilerp

kMedium_SkFilterQuality 

typically bilerp + mipmaps for down-scaling

kHigh_SkFilterQuality 

slowest but highest quality, typically bicubic or better

kLast_SkFilterQuality