pango

Function units_to_double

Source
pub fn units_to_double(i: i32) -> f64
Expand description

Converts a number in Pango units to floating-point.

The conversion is done by dividing @i by PANGO_SCALE.

§i

value in Pango units

§Returns

the double value.