enum Cairo::Filter
Overview
Filter
is used to indicate what filtering should be applied when reading pixel values from patterns.
See Pattern#filter=
for indicating the desired filter to be used with a particular pattern.
Defined in:
cairo/filter.crEnum Members
-
Fast =
0
-
A high-performance filter, with quality similar to
Filter::Nearest
. -
Good =
1
-
A reasonable-performance filter, with quality similar to
Filter::Bilinear
. -
Best =
2
-
The highest-quality available, performance may not be suitable for interactive use.
-
Nearest =
3
-
Nearest-neighbor filtering.
-
Bilinear =
4
-
Linear interpolation in two dimensions.
-
Gaussian =
5
-
This filter value is currently unimplemented, and should not be used in current code.