unitsFromDouble

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.

int
unitsFromDouble
(
double d
)

Parameters

d double

double floating-point value

Return Value

Type: int

the value in Pango units.