RGtk2 (version 2.20.31)

cairoSetAntialias: cairoSetAntialias

Description

Set the antialiasing mode of the rasterizer used for drawing shapes. This value is a hint, and a particular backend may or may not support a particular value. At the current time, no backend supports CAIRO_ANTIALIAS_SUBPIXEL when drawing shapes.

Usage

cairoSetAntialias(cr, antialias)

Arguments

cr
antialias
[CairoAntialias] the new antialiasing mode

Details

Note that this option does not affect text rendering, instead see cairoFontOptionsSetAntialias.