pangoFunction units_from_double
Source pub fn units_from_double(d: f64) -> i32
Expand description
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.
double floating-point value
§Returns
the value in Pango units.