Create FontOptions from a existing cairo_font_options_t*. FontOptions is a reference counted struct. It will call cairo_font_options_destroy when it's reference count is 0. See https://github.com/jpf91/cairoD/wiki/Memory-Management#2.2-structs for more information.
convenience alias
Allocates a new font options object copying the option values from original.
Gets the antialiasing mode for the font options object.
Gets the metrics hinting mode for the font options object. See the documentation for HintMetrics for full details.
Gets the hint style for font outlines for the font options object. See the documentation for HintStyle for full details.
Gets the subpixel order for the font options object. See the documentation for SubpixelOrder for full details.
Merges non-default options from other into this object, replacing existing values. This operation can be thought of as somewhat similar to compositing other onto options with the operation of CAIRO_OPERATION_OVER.
Compares two font options objects for equality.
Sets the antialiasing mode for the font options object. This specifies the type of antialiasing to do when rendering text.
Sets the metrics hinting mode for the font options object. This controls whether metrics are quantized to integer values in device units. See the documentation for HintMetrics for full details.
Sets the hint style for font outlines for the font options object. This controls whether to fit font outlines to the pixel grid, and if so, whether to optimize for fidelity or contrast. See the documentation for HintStyle for full details.
Sets the subpixel order for the font options object. The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of CAIRO_ANTIALIAS_SUBPIXEL. See the documentation for SubpixelOrder for full details.
Compute a hash for the font options object; this value will be useful when storing an object containing a FontOptions in a hash table.
Convenience property
Enable / disable memory management debugging for this FontOptions instance. Only available if both cairoD and the cairoD user code were compiled with "debug=RefCounted"
Convenience property
Convenience property
The underlying cairo_font_options_t* handle
Allocates a new font options object with all options initialized to default values.
FontOptions - How a font should be rendered
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.
Warning: Instances must be created with the create static member function!