Package: cairo

Function cairo-scaled-font-create

Lambda List

cairo-scaled-font-create (face matrix ctm options)

Arguments

face -- a cairo-font-face-t instance
matrix -- font space to user space transformation cairo-matrix-t 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 the cairo-set-font-matrix function
ctm -- user to device transformation cairo-matrix-t matrix with which the font will be used
options -- a cairo-font-options-t options to use when getting metrics for the font and rendering with it

Return Value

A newly created cairo-scaled-font-t instance. Destroy with the cairo-scaled-font-destroy function.

Details

Creates a cairo-scaled-font-t instance from a font face and matrices that describe the size of the font and the environment in which it will be used.
 

See also

2021-10-28