Name
ccontext:SetScaledFont -- set scaled font
Synopsis
ccontext:SetScaledFont(scaled_font)
Function
Replaces the current font face, font matrix, and font options in the Cairo context with those of the scaled_font. Except for some translation, the current CTM of the Cairo context should be the same as that of the scale_font, which can be accessed using cscaledfont:GetCTM().

Inputs
scaled_font
a scaled font object

Show TOC