Name
cairo.FontOptions -- create new font options object
Synopsis
handle = cairo.FontOptions()
Function
Allocates a new font options object with all options initialized to default values.

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