app: s/sprintf/g_snprintf/ in xcf_save_image()
[gimp.git] / libgimp / gimpselection_pdb.h
blob3e34d007bd2b0a7ba2599eadb61da5eeaed0347c
1 /* LIBGIMP - The GIMP Library
2 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
4 * gimpselection_pdb.h
6 * This library is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 3 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see
18 * <https://www.gnu.org/licenses/>.
21 /* NOTE: This file is auto-generated by pdbgen.pl */
23 #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
24 #error "Only <libgimp/gimp.h> can be included directly."
25 #endif
27 #ifndef __GIMP_SELECTION_PDB_H__
28 #define __GIMP_SELECTION_PDB_H__
30 G_BEGIN_DECLS
32 /* For information look into the C source or the html documentation */
35 gboolean gimp_selection_bounds (gint32 image_ID,
36 gboolean *non_empty,
37 gint *x1,
38 gint *y1,
39 gint *x2,
40 gint *y2);
41 gint gimp_selection_value (gint32 image_ID,
42 gint x,
43 gint y);
44 gboolean gimp_selection_is_empty (gint32 image_ID);
45 gboolean gimp_selection_translate (gint32 image_ID,
46 gint offx,
47 gint offy);
48 G_GNUC_INTERNAL gint32 _gimp_selection_float (gint32 drawable_ID,
49 gint offx,
50 gint offy);
51 gboolean gimp_selection_invert (gint32 image_ID);
52 gboolean gimp_selection_sharpen (gint32 image_ID);
53 gboolean gimp_selection_all (gint32 image_ID);
54 gboolean gimp_selection_none (gint32 image_ID);
55 gboolean gimp_selection_feather (gint32 image_ID,
56 gdouble radius);
57 gboolean gimp_selection_border (gint32 image_ID,
58 gint radius);
59 gboolean gimp_selection_grow (gint32 image_ID,
60 gint steps);
61 gboolean gimp_selection_shrink (gint32 image_ID,
62 gint steps);
63 gboolean gimp_selection_flood (gint32 image_ID);
64 gint32 gimp_selection_save (gint32 image_ID);
67 G_END_DECLS
69 #endif /* __GIMP_SELECTION_PDB_H__ */