PgMatrix.getFontScaleFactor

Returns the scale factor of a matrix on the height of the font.

That is, the scale factor in the direction perpendicular to the vector that the X coordinate is mapped to. If the scale in the X coordinate is needed as well, use [method@Pango.Matrix.get_font_scale_factors].

class PgMatrix
double
getFontScaleFactor
()

Return Value

Type: double

the scale factor of @matrix on the height of the font, or 1.0 if @matrix is %NULL.

Meta

Since

1.12