gimp/libgimp/gimpimageguides_pdb.h

85 lines
3.5 KiB
C

/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
*
* gimpimageguides_pdb.h
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <https://www.gnu.org/licenses/>.
*/
/* NOTE: This file is auto-generated by pdbgen.pl */
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly."
#endif
#ifndef __GIMP_IMAGE_GUIDES_PDB_H__
#define __GIMP_IMAGE_GUIDES_PDB_H__
G_BEGIN_DECLS
/* For information look into the C source or the html documentation */
#ifndef GIMP_DEPRECATED_REPLACE_NEW_API
guint gimp_image_add_hguide (GimpImage *image,
gint yposition);
guint gimp_image_add_vguide (GimpImage *image,
gint xposition);
gboolean gimp_image_delete_guide (GimpImage *image,
guint guide);
guint gimp_image_find_next_guide (GimpImage *image,
guint guide);
GimpOrientationType gimp_image_get_guide_orientation (GimpImage *image,
guint guide);
gint gimp_image_get_guide_position (GimpImage *image,
guint guide);
#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);
G_END_DECLS
#endif /* __GIMP_IMAGE_GUIDES_PDB_H__ */