units_from_double


Description:


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

Converts a floating-point number to Pango units: multiplies it by SCALE and rounds to nearest integer.

Parameters:

d

double floating-point value

Returns:

the value in Pango units.


Namespace: Pango
Package: pango