get_font_scale_factors


Description:

[ Version ( since = "1.38" ) ]
public void get_font_scale_factors (out double xscale, out double yscale)

Calculates the scale factor of a matrix on the width and height of the font.

That is, xscale is the scale factor in the direction of the X coordinate, and yscale is the scale factor in the direction perpendicular to the vector that the X coordinate is mapped to.

Note that output numbers will always be non-negative.

Parameters:

this

a `PangoMatrix`

xscale

output scale factor in the x direction

yscale

output scale factor perpendicular to the x direction




2022 vala-language.org