Function

Pango-1.0Pangounits_from_doubleSince 1.16

  • 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.

    Parameters

    • d: number

      double floating-point value

    Returns number

    the value in Pango units.

    1.16