gimp-unit-get-digits

Michael Natterer <mitch@gimp.org>

Description

Returns the number of digits of the unit.

Help

This procedure returns the number of digits you should provide in input or output functions to get approximately the same accuracy as with two digits and inches. Note that asking for the digits 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_INT digits The unit's number of digits