GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
gimpguides
Synopsis
|
Details
gimp_image_add_hguide ()
|
Add a horizontal guide to an image.
This procedure adds a horizontal guide to an image. It takes the input image and the y-position of the new guide as parameters. It returns the guide ID of the new guide.
gimp_image_add_vguide ()
|
Add a vertical guide to an image.
This procedure adds a vertical guide to an image. It takes the input image and the x-position of the new guide as parameters. It returns the guide ID of the new guide.
gimp_image_delete_guide ()
|
Deletes a guide from an image.
This procedure takes an image and a guide ID as input and removes the specified guide from the specified image.
gimp_image_find_next_guide ()
|
Find next guide on an image.
This procedure takes an image and a guide ID as input and finds the guide ID of the successor of the given guide ID in the image's guide list. If the supplied guide ID is 0, the procedure will return the first Guide. The procedure will return 0 if given the final guide ID as an argument or the image has no guides.
gimp_image_get_guide_orientation ()
GimpOrientationType gimp_image_get_guide_orientation ( |
Get orientation of a guide on an image.
This procedure takes an image and a guide ID as input and returns the orientations of the guide.