Enum cairo_filter_t

cairo_filter_t is used to indicate what filtering should be applied when reading pixel values from patterns. See cairo_pattern_set_source() for indicating the desired filter to be used with a particular pattern.

The enum base type is int .

Enum members

Name Description
CAIRO_FILTER_BEST The highest-quality available, performance may not be suitable for interactive use.
CAIRO_FILTER_BILINEAR Linear interpolation in two dimensions
CAIRO_FILTER_FAST A high-performance filter, with quality similar to %CAIRO_FILTER_NEAREST
CAIRO_FILTER_GAUSSIAN This filter value is currently unimplemented, and should not be used in current code.
CAIRO_FILTER_GOOD A reasonable-performance filter, with quality similar to %CAIRO_FILTER_BILINEAR
CAIRO_FILTER_NEAREST Nearest-neighbor filtering

Authors

Johannes Pfau cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1