Class Cairo.FontOptions

Description

The font options specify how fonts should be rendered. Most of the time the font options implied by a surface are just right and do not need any changes, but for pixel-based targets tweaking font options may result in superior output on a particular display.


Method create

Cairo.FontOptions Cairo.FontOptions(FontOptions|void original)

Description

Allocates a new font options object with all options initialized either to default values, or to values taken from original.

Parameter original

If specified, a set of font options to copy