Other items inpango::functions
pub fn units_from_double(d: f64) -> i32
Converts a floating-point number to Pango units: multiplies it by PANGO_SCALE and rounds to nearest integer.
PANGO_SCALE
d
double floating-point value
the value in Pango units.