Method Cairo.Context()->set_scaled_font()
- Method
set_scaled_font
void
set_scaled_font(ScaledFont
scaled_font
)- Description
Replaces the current font face, font matrix, and font options in the Context with those of the ScaledFont. Except for some translation, the current CTM of the Context should be the same as that of the ScaledFont, which can be accessed using ScaledFont->get_ctm().
- Parameter
scaled_font