Name
cfontface:GetType -- get font backend
Synopsis
type = cfontface:GetType()
Function
This function returns the type of the backend used to create a font face. This will be one of the following constants:

#CAIRO_FONT_TYPE_TOY
The font was created using cairo's toy font api.
#CAIRO_FONT_TYPE_FT:
The font is of type FreeType.
#CAIRO_FONT_TYPE_WIN32
The font is of type Win32.
#CAIRO_FONT_TYPE_QUARTZ
The font is of type Quartz.
#CAIRO_FONT_TYPE_USER
The font was create using cairo's user font api.
#CAIRO_FONT_TYPE_DWRITE
The font is of type Win32 DWrite.

Inputs
none

Results
type
the font face type (see above)

Show TOC