Gets the OpenType font variations for the font options object. See cairo_font_options_set_variations() for details about the string format.

cairo_font_options_get_variations(options)

Arguments

options

[cairo_font_options_t *] a #cairo_font_options_t

Value

[const char *]

Details

Return value: the font variations for the font options object. The returned string belongs to the options and must not be modified. It is valid until either the font options object is destroyed or the font variations in this object is modified with cairo_font_options_set_variations().

Since: 1.16

C function prototype: const char * cairo_font_options_get_variations (cairo_font_options_t *options)

See also