unitsFromDouble

fun unitsFromDouble(d: <Error class: unknown class>): <Error class: unknown class>

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.

Return

the value in Pango units.

Since

1.16

Parameters

d

double floating-point value