set_absolute_size


Description:

[ Version ( since = "1.8" ) ]
public void set_absolute_size (double size)

Sets the size field of a font description, in device units.

This is mutually exclusive with [[email protected]_size] which sets the font size in points.

Parameters:

this

a `PangoFontDescription`

size

the new size, in Pango units. There are pango_scale Pango units in one device unit. For an output backend where a device unit is a pixel, a size value of 10 * PANGO_SCALE gives a 10 pixel font.




2022 vala-language.org