gimp_drawable_is_rgb << INDEX >> gimp_drawable_merge_shadow

gimp_drawable_mask_bounds (1995-1996)

NAME
gimp_drawable_mask_bounds - Find the bounding box of the current selection in relation to the specified drawable.
SYNOPSIS
(non_empty,x1,y1,x2,y2) = gimp_drawable_mask_bounds (drawable)
DESCRIPTION
This procedure returns the whether there is a selection. If there is one, the upper left and lower righthand corners of its bounding box are returned. These coordinates are specified relative to the drawable's origin, and bounded by the drawable's extents.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe drawable
RETURN VALUES
TYPENAMEDESCRIPTION
INT32non_emptyTRUE if there is a selection
INT32x1x coordinate of the upper left corner of selection bounds
INT32y1y coordinate of the upper left corner of selection bounds
INT32x2x coordinate of the lower right corner of selection bounds
INT32y2y coordinate of the lower right corner of selection bounds
SOME SYNTAX ALTERNATIVES
(non_empty,x1,y1,x2,y2) = $drawable->mask_bounds
AUTHOR
Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis


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