scaledFontCreate

Creates a #cairo_scaled_font_t object from a font face and matrices that describe the size of the font and the environment in which it will be used.

Parameters

fontFacea #cairo_font_face_t
fontMatrixfont space to user space transformation matrix for the font. In the simplest case of a N point font, this matrix is just a scale by N, but it can also be used to shear the font or stretch it unequally along the two axes. See [cairo.context.Context.setFontMatrix].
ctmuser to device transformation matrix with which the font will be used.
optionsoptions to use when getting metrics for the font and rendering with it.

Returns

a newly created #cairo_scaled_font_t. Destroy with

[cairo.scaled_font.ScaledFont.destroy]