pub fn units_from_double(d: f64) -> i32
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.
PANGO_SCALE
d
double floating-point value
the value in Pango units.