PgMatrix.unitsFromDouble

Converts a floating-point number to Pango units: multiplies it by PANGO_SCALE and rounds 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