Name
cfontface:GetWeight -- get font weight
Synopsis
weight = cfontface:GetWeight()
Function
Gets the weight a toy font. This will be one of the following constants:

 
#CAIRO_FONT_WEIGHT_NORMAL
#CAIRO_FONT_WEIGHT_BOLD

Inputs
none

Results
weight
the weight value (see above)

Show TOC