gimp-image-pick-correlate-layer

Spencer Kimball & Peter Mattis

Description

Find the layer visible at the specified coordinates.

Help

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.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image
PF_INT x The x coordinate for the pick
PF_INT y The y coordinate for the pick

Return

Type Name Description
PF_LAYER layer The layer found at the specified coordinates