gimp-unit-get-factor

Michael Natterer <mitch@gimp.org>

Description

Returns the factor of the unit.

Help

This procedure returns the unit's factor which indicates how many units make up an inch. Note that asking for the factor of "pixels" will produce an error.


Type

unknown

Parameters

Type Name Description
PF_INT unit-id The unit's integer ID

Return

Type Name Description
PF_FLOAT factor The unit's factor