2000-05-31 21:24:14 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-07-03 08:47:26 +08:00
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
2000-05-31 21:24:14 +08:00
|
|
|
*
|
2015-05-30 21:27:16 +08:00
|
|
|
* gimpimageguides_pdb.h
|
2000-05-31 21:24:14 +08:00
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This library is free software: you can redistribute it and/or
|
2000-05-31 21:24:14 +08:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2009-01-18 06:28:01 +08:00
|
|
|
* version 3 of the License, or (at your option) any later version.
|
2000-06-02 05:18:04 +08:00
|
|
|
*
|
2000-05-31 21:24:14 +08:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2000-06-02 05:18:04 +08:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-05-31 21:24:14 +08:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2009-01-18 06:28:01 +08:00
|
|
|
* License along with this library. If not, see
|
2018-07-12 05:27:07 +08:00
|
|
|
* <https://www.gnu.org/licenses/>.
|
2000-06-02 05:18:04 +08:00
|
|
|
*/
|
|
|
|
|
2007-01-09 18:52:47 +08:00
|
|
|
/* NOTE: This file is auto-generated by pdbgen.pl */
|
2000-05-31 21:24:14 +08:00
|
|
|
|
2011-04-29 01:59:52 +08:00
|
|
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
|
|
|
#error "Only <libgimp/gimp.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2015-05-30 21:27:16 +08:00
|
|
|
#ifndef __GIMP_IMAGE_GUIDES_PDB_H__
|
|
|
|
#define __GIMP_IMAGE_GUIDES_PDB_H__
|
2000-05-31 21:24:14 +08:00
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_BEGIN_DECLS
|
2000-05-31 21:24:14 +08:00
|
|
|
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
|
|
|
2019-08-13 00:00:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef GIMP_DEPRECATED_REPLACE_NEW_API
|
|
|
|
|
2019-08-14 03:36:03 +08:00
|
|
|
guint gimp_image_add_hguide (GimpImage *image,
|
2019-08-13 00:00:44 +08:00
|
|
|
gint yposition);
|
2019-08-14 03:36:03 +08:00
|
|
|
guint gimp_image_add_vguide (GimpImage *image,
|
2019-08-13 00:00:44 +08:00
|
|
|
gint xposition);
|
|
|
|
gboolean gimp_image_delete_guide (GimpImage *image,
|
2019-08-14 03:36:03 +08:00
|
|
|
guint guide);
|
|
|
|
guint gimp_image_find_next_guide (GimpImage *image,
|
|
|
|
guint guide);
|
2019-08-13 00:00:44 +08:00
|
|
|
GimpOrientationType gimp_image_get_guide_orientation (GimpImage *image,
|
2019-08-14 03:36:03 +08:00
|
|
|
guint guide);
|
2019-08-13 00:00:44 +08:00
|
|
|
gint gimp_image_get_guide_position (GimpImage *image,
|
2019-08-14 03:36:03 +08:00
|
|
|
guint guide);
|
2019-08-13 00:00:44 +08:00
|
|
|
|
|
|
|
#else /* GIMP_DEPRECATED_REPLACE_NEW_API */
|
|
|
|
|
|
|
|
#define gimp_image_add_hguide _gimp_image_add_hguide
|
|
|
|
#define gimp_image_add_vguide _gimp_image_add_vguide
|
|
|
|
#define gimp_image_delete_guide _gimp_image_delete_guide
|
|
|
|
#define gimp_image_find_next_guide _gimp_image_find_next_guide
|
|
|
|
#define gimp_image_get_guide_orientation _gimp_image_get_guide_orientation
|
|
|
|
#define gimp_image_get_guide_position _gimp_image_get_guide_position
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* GIMP_DEPRECATED_REPLACE_NEW_API */
|
|
|
|
|
|
|
|
/* Below API are deprecated and should not be used by new plug-ins.
|
|
|
|
* They are not marked internal as a trick to keep the old API alive for now.
|
|
|
|
*/
|
|
|
|
|
|
|
|
gint32 _gimp_image_add_hguide (gint32 image_ID,
|
|
|
|
gint yposition);
|
|
|
|
gint32 _gimp_image_add_vguide (gint32 image_ID,
|
|
|
|
gint xposition);
|
|
|
|
gboolean _gimp_image_delete_guide (gint32 image_ID,
|
|
|
|
gint32 guide_ID);
|
|
|
|
gint32 _gimp_image_find_next_guide (gint32 image_ID,
|
|
|
|
gint32 guide_ID);
|
|
|
|
GimpOrientationType _gimp_image_get_guide_orientation (gint32 image_ID,
|
|
|
|
gint32 guide_ID);
|
|
|
|
gint _gimp_image_get_guide_position (gint32 image_ID,
|
|
|
|
gint32 guide_ID);
|
2000-05-31 21:24:14 +08:00
|
|
|
|
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_END_DECLS
|
2000-05-31 21:24:14 +08:00
|
|
|
|
2015-05-30 21:27:16 +08:00
|
|
|
#endif /* __GIMP_IMAGE_GUIDES_PDB_H__ */
|