Package: cairo

Function cairo:antialias

Lambda List

cairo:antialias (cr)

Syntax

(cairo:antialias context) => antialias
(setf (cairo:antialias context) antialias)

Arguments

cr -- a cairo:context-t instance
antialias -- a cairo:antialias-t value

Details

The cairo:antialias function gets the current shape antialiasing mode of the rasterizer used for drawing shapes. The (setf cairo:antialias) function sets the antialiasing mode. This value is a hint, and a particular backend may or may not support a particular value. At the current time, no backend supports the :subpixel mode when drawing shapes.

Notes

This option does not affect text rendering, instead see the cairo:font-options-antialias function.
 

See also

2025-1-2