Context.setScaledFont

Replaces the current font face, font matrix, and font options in the cairo_t with those of the cairo_scaled_font_t. Except for some translation, the current CTM of the cairo_t should be the same as that of the cairo_scaled_font_t, which can be accessed using ScaledFont.getCtm. Since 1.2

class Context
void
setScaledFont

Parameters

scaledFont ScaledFont

a cairo_scaled_font_t