Function

GimpSelectionvalue

Declaration [src]

gint
gimp_selection_value (
  GimpImage* image,
  gint x,
  gint y
)

Description [src]

Find the value of the selection at the specified coordinates.

This procedure returns the value of the selection at the specified coordinates. If the coordinates lie out of bounds, 0 is returned.

Parameters

image

Type: GimpImage

The image.

The data is owned by the caller of the function.
x

Type: gint

X coordinate of value.

y

Type: gint

Y coordinate of value.

Return value

Type: gint

Value of the selection.