gimp_unit_get_deletion_flag << INDEX >> gimp_unit_get_factor

gimp_unit_get_digits (1999)

NAME
gimp_unit_get_digits - Returns the number of digits of the unit.
SYNOPSIS
digits = gimp_unit_get_digits (unit_id)
DESCRIPTION
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.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
INT32unit_idThe unit's integer ID
RETURN VALUES
TYPENAMEDESCRIPTION
INT32digitsThe unit's number of digits
SOME SYNTAX ALTERNATIVES
digits = Gimp->unit_get_digits (unit_id)
digits = unit_get_digits Layer (unit_id)
digits = unit_get_digits Image (unit_id)
digits = unit_get_digits Channel (unit_id)
digits = unit_get_digits Display (unit_id)
digits = unit_get_digits Drawable (unit_id)
AUTHOR
Michael Natterer
(c)1999 Michael Natterer


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>