PgMatrix.unitsFromDouble

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.

class PgMatrix
static
int
unitsFromDouble
(
double d
)

Parameters

d double

double floating-point value

Return Value

Type: int

the value in Pango units.

Meta

Since

1.16