Name
cfontoptions:Copy -- copy font options object
Synopsis
handle = cfontoptions:Copy()
Function
Allocates a new font options object copying the option values from the original.

This function returns a newly allocated Cairo font options object. Free with cfontoptions:Free(). This function always returns a valid handle; 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 cfontoptions:Status().

Inputs
none

Results
handle
a newly allocated Cairo font options object

Show TOC