1
/* LIBGIMP - The GIMP Library
2
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
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 2 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, write to the
18
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
22
/* NOTE: This file is autogenerated by pdbgen.pl */
24
#ifndef __GIMP_IMAGE_PDB_H__
25
#define __GIMP_IMAGE_PDB_H__
29
/* For information look into the C source or the html documentation */
32
gint* gimp_image_list (gint *num_images);
33
gint32 gimp_image_new (gint width,
35
GimpImageBaseType type);
36
gint32 gimp_image_duplicate (gint32 image_ID);
37
gboolean gimp_image_delete (gint32 image_ID);
38
GimpImageBaseType gimp_image_base_type (gint32 image_ID);
39
gint gimp_image_width (gint32 image_ID);
40
gint gimp_image_height (gint32 image_ID);
41
gboolean gimp_image_free_shadow (gint32 image_ID);
42
gboolean gimp_image_resize (gint32 image_ID,
47
gboolean gimp_image_resize_to_layers (gint32 image_ID);
48
gboolean gimp_image_scale (gint32 image_ID,
51
gboolean gimp_image_crop (gint32 image_ID,
56
gboolean gimp_image_flip (gint32 image_ID,
57
GimpOrientationType flip_type);
58
gboolean gimp_image_rotate (gint32 image_ID,
59
GimpRotationType rotate_type);
60
gint* gimp_image_get_layers (gint32 image_ID,
62
gint* gimp_image_get_channels (gint32 image_ID,
64
gint32 gimp_image_get_active_drawable (gint32 image_ID);
65
gboolean gimp_image_unset_active_channel (gint32 image_ID);
66
gint32 gimp_image_get_floating_sel (gint32 image_ID);
67
gint32 gimp_image_floating_sel_attached_to (gint32 image_ID);
68
gboolean gimp_image_pick_color (gint32 image_ID,
72
gboolean sample_merged,
73
gboolean sample_average,
74
gdouble average_radius,
76
gint32 gimp_image_pick_correlate_layer (gint32 image_ID,
79
gboolean gimp_image_add_layer (gint32 image_ID,
82
gboolean gimp_image_remove_layer (gint32 image_ID,
84
gboolean gimp_image_raise_layer (gint32 image_ID,
86
gboolean gimp_image_lower_layer (gint32 image_ID,
88
gboolean gimp_image_raise_layer_to_top (gint32 image_ID,
90
gboolean gimp_image_lower_layer_to_bottom (gint32 image_ID,
92
gboolean gimp_image_add_channel (gint32 image_ID,
95
gboolean gimp_image_remove_channel (gint32 image_ID,
97
gboolean gimp_image_raise_channel (gint32 image_ID,
99
gboolean gimp_image_lower_channel (gint32 image_ID,
101
gint32 gimp_image_flatten (gint32 image_ID);
102
gint32 gimp_image_merge_visible_layers (gint32 image_ID,
103
GimpMergeType merge_type);
104
gint32 gimp_image_merge_down (gint32 image_ID,
105
gint32 merge_layer_ID,
106
GimpMergeType merge_type);
107
guint8* _gimp_image_get_colormap (gint32 image_ID,
109
gboolean _gimp_image_set_colormap (gint32 image_ID,
111
const guint8 *colormap);
112
gboolean gimp_image_clean_all (gint32 image_ID);
113
gboolean gimp_image_is_dirty (gint32 image_ID);
114
gboolean _gimp_image_thumbnail (gint32 image_ID,
120
gint *thumbnail_data_count,
121
guint8 **thumbnail_data);
122
gint32 gimp_image_get_active_layer (gint32 image_ID);
123
gboolean gimp_image_set_active_layer (gint32 image_ID,
124
gint32 active_layer_ID);
125
gint32 gimp_image_get_active_channel (gint32 image_ID);
126
gboolean gimp_image_set_active_channel (gint32 image_ID,
127
gint32 active_channel_ID);
128
gint32 gimp_image_get_selection (gint32 image_ID);
129
gboolean gimp_image_get_component_active (gint32 image_ID,
130
GimpChannelType component);
131
gboolean gimp_image_set_component_active (gint32 image_ID,
132
GimpChannelType component,
134
gboolean gimp_image_get_component_visible (gint32 image_ID,
135
GimpChannelType component);
136
gboolean gimp_image_set_component_visible (gint32 image_ID,
137
GimpChannelType component,
139
gchar* gimp_image_get_filename (gint32 image_ID);
140
gboolean gimp_image_set_filename (gint32 image_ID,
141
const gchar *filename);
142
gchar* gimp_image_get_name (gint32 image_ID);
143
gboolean gimp_image_get_resolution (gint32 image_ID,
144
gdouble *xresolution,
145
gdouble *yresolution);
146
gboolean gimp_image_set_resolution (gint32 image_ID,
148
gdouble yresolution);
149
GimpUnit gimp_image_get_unit (gint32 image_ID);
150
gboolean gimp_image_set_unit (gint32 image_ID,
152
gint gimp_image_get_tattoo_state (gint32 image_ID);
153
gboolean gimp_image_set_tattoo_state (gint32 image_ID,
155
gint32 gimp_image_get_layer_by_tattoo (gint32 image_ID,
157
gint32 gimp_image_get_channel_by_tattoo (gint32 image_ID,
163
#endif /* __GIMP_IMAGE_PDB_H__ */