Gimp.Image.prototype.get_sample_point_position

function get_sample_point_position(sample_point: Number(guint)): [return_value: Number(gint), position_y: Number(gint)] {
    // Gjs wrapper for gimp_image_get_sample_point_position()
}
  

Get position of a sample point on an image.

This procedure takes an image and a sample point ID as input and returns the position of the sample point relative to the top and left of the image.

Since 2.10

sample_point

The guide.

return_value

The sample points's position relative to top of image.

position_y

The sample points's position relative to top of image.