units_from_double


Description:


[ Version ( since = "1.16" ) ]
public int units_from_double (double d)

Converts a floating-point number to Pango units.

The conversion is done by multiplying d by pango_scale and rounding the result to nearest integer.

Parameters:

d

double floating-point value

Returns:

the value in Pango units.


Namespace: Pango
Package: pango



2022 vala-language.org