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

Values

ValueMeaning
FAST
GOOD
BEST
NEAREST
BILINEAR
GAUSSIAN

Meta