Function pango::functions::units_from_double[][src]

pub fn units_from_double(d: f64) -> i32
Expand description

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

d

double floating-point value

Returns

the value in Pango units.