Package: cairo

Function cairo-font-options-copy

Lambda List

cairo-font-options-copy (options)

Arguments

options -- a cairo-font-options-t instance

Return Value

A newly allocated cairo-font-options-t instance.

Details

Allocates a new font options object copying the option values from original. Free with the cairo-font-options-destroy function. This function always returns a valid pointer. If memory cannot be allocated, then a special error object is returned where all operations on the object do nothing. You can check for this with the cairo-font-options-status function.
 

See also

2021-10-27