2004
Michael Natterer
Find the bounding box of the current selection in relation to the specified drawable.
This procedure returns whether there is an intersection between the drawable and the selection. Unlike 'gimp-drawable-mask-bounds', the intersection's bounds are returned as x, y, width, height. If there is no selection this function returns TRUE and the returned bounds are the extents of the whole drawable.
unknown
Type | Name | Description |
---|---|---|
PF_DRAWABLE | drawable | The drawable |
Type | Name | Description |
---|---|---|
PF_INT | non-empty | TRUE if the returned area is not empty (TRUE or FALSE) |
PF_INT | x | x coordinate of the upper left corner of the intersection |
PF_INT | y | y coordinate of the upper left corner of the intersection |
PF_INT | width | width of the intersection |
PF_INT | height | height of the intersection |