Name
pcontext:GetFontOptions -- get font options
Synopsis
handle = pcontext:GetFontOptions()
Function
Retrieves any font rendering options previously set with pcontext:SetFontOptions().

This function does not report options that are derived from the target surface by pcontext:UpdateContext().

This function returns the Cairo font options object previously set on the context, or NULL if no options have been set. The return object is owned by the context and must not be modified or freed. You can use cfontoptions:IsNull() to check if the returned object is NULL.

Inputs
none

Results
handle
a Cairo font options object

Show TOC