unitsFromDouble
fn
int unitsFromDouble(double d)Converts a floating-point number to Pango units.
The conversion is done by multiplying d by pango.types.SCALE and rounding the result to nearest integer.
Parameters
d | double floating-point value |
Returns
the value in Pango units.