This procedure finds the layer which is visible at the specified coordinates. Layers which do not qualify are those whose extents do not pass within the specified coordinates, or which are transparent at the specified coordinates. This procedure will return -1 if no layer is found.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
IMAGE
image
The image
INT32
x
The x coordinate for the pick
INT32
y
The y coordinate for the pick
RETURN VALUES
TYPE
NAME
DESCRIPTION
LAYER
layer
The layer found at the specified coordinates
SOME SYNTAX ALTERNATIVES
layer = $image->pick_correlate_layer (x,y)
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis