Method

GimpImageadd_sample_point

Declaration [src]

guint
gimp_image_add_sample_point (
  GimpImage* image,
  gint position_x,
  gint position_y
)

Description [src]

Add a sample point to an image.

This procedure adds a sample point to an image. It takes the input image and the position of the new sample points as parameters. It returns the sample point ID of the new sample point.

Available since:2.10

Parameters

position_x gint
 

The guide’sample points x-offset from left of image.

position_y gint
 

The guide’sample points y-offset from top of image.

Return value

Returns: guint
 

The new sample point.