Scholar Repository
Home>Manual>The CairoAntialias class

The CairoAntialias class

The CairoAntialias class


Enum class that specifies the type of antialiasing to do when rendering text or shapes.

Class synopsis

CairoAntialias {
/* Constants */
const integer CairoAntialias::MODE_DEFAULT = 0 ;
const integer CairoAntialias::MODE_NONE = 1 ;
const integer CairoAntialias::MODE_GRAY = 2 ;
const integer CairoAntialias::MODE_SUBPIXEL = 3 ;

Predefined Constants

CairoAntialias Node Types


Use the default antialiasing for the subsystem and target device


Use a bilevel alpha mask


Perform single-color antialiasing (using shades of gray for black text on a white background, for example).


Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels.

Home>Manual>The CairoAntialias class