gimp_unit_get_digits << INDEX >> gimp_unit_get_identifier

gimp_unit_get_factor (1999)

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


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