~ubuntu-branches/ubuntu/breezy/gimp/breezy

« back to all changes in this revision

Viewing changes to libgimp/gimpimage_pdb.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-10-04 19:04:46 UTC
  • Revision ID: james.westby@ubuntu.com-20051004190446-ukh32kwk56s4sjhu
Tags: upstream-2.2.8
ImportĀ upstreamĀ versionĀ 2.2.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* LIBGIMP - The GIMP Library
 
2
 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
 
3
 *
 
4
 * gimpimage_pdb.h
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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.
 
20
 */
 
21
 
 
22
/* NOTE: This file is autogenerated by pdbgen.pl */
 
23
 
 
24
#ifndef __GIMP_IMAGE_PDB_H__
 
25
#define __GIMP_IMAGE_PDB_H__
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
/* For information look into the C source or the html documentation */
 
30
 
 
31
 
 
32
gint*             gimp_image_list                     (gint                 *num_images);
 
33
gint32            gimp_image_new                      (gint                  width,
 
34
                                                       gint                  height,
 
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,
 
43
                                                       gint                  new_width,
 
44
                                                       gint                  new_height,
 
45
                                                       gint                  offx,
 
46
                                                       gint                  offy);
 
47
gboolean          gimp_image_resize_to_layers         (gint32                image_ID);
 
48
gboolean          gimp_image_scale                    (gint32                image_ID,
 
49
                                                       gint                  new_width,
 
50
                                                       gint                  new_height);
 
51
gboolean          gimp_image_crop                     (gint32                image_ID,
 
52
                                                       gint                  new_width,
 
53
                                                       gint                  new_height,
 
54
                                                       gint                  offx,
 
55
                                                       gint                  offy);
 
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,
 
61
                                                       gint                 *num_layers);
 
62
gint*             gimp_image_get_channels             (gint32                image_ID,
 
63
                                                       gint                 *num_channels);
 
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,
 
69
                                                       gint32                drawable_ID,
 
70
                                                       gdouble               x,
 
71
                                                       gdouble               y,
 
72
                                                       gboolean              sample_merged,
 
73
                                                       gboolean              sample_average,
 
74
                                                       gdouble               average_radius,
 
75
                                                       GimpRGB              *color);
 
76
gint32            gimp_image_pick_correlate_layer     (gint32                image_ID,
 
77
                                                       gint                  x,
 
78
                                                       gint                  y);
 
79
gboolean          gimp_image_add_layer                (gint32                image_ID,
 
80
                                                       gint32                layer_ID,
 
81
                                                       gint                  position);
 
82
gboolean          gimp_image_remove_layer             (gint32                image_ID,
 
83
                                                       gint32                layer_ID);
 
84
gboolean          gimp_image_raise_layer              (gint32                image_ID,
 
85
                                                       gint32                layer_ID);
 
86
gboolean          gimp_image_lower_layer              (gint32                image_ID,
 
87
                                                       gint32                layer_ID);
 
88
gboolean          gimp_image_raise_layer_to_top       (gint32                image_ID,
 
89
                                                       gint32                layer_ID);
 
90
gboolean          gimp_image_lower_layer_to_bottom    (gint32                image_ID,
 
91
                                                       gint32                layer_ID);
 
92
gboolean          gimp_image_add_channel              (gint32                image_ID,
 
93
                                                       gint32                channel_ID,
 
94
                                                       gint                  position);
 
95
gboolean          gimp_image_remove_channel           (gint32                image_ID,
 
96
                                                       gint32                channel_ID);
 
97
gboolean          gimp_image_raise_channel            (gint32                image_ID,
 
98
                                                       gint32                channel_ID);
 
99
gboolean          gimp_image_lower_channel            (gint32                image_ID,
 
100
                                                       gint32                layer_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,
 
108
                                                       gint                 *num_bytes);
 
109
gboolean          _gimp_image_set_colormap            (gint32                image_ID,
 
110
                                                       gint                  num_bytes,
 
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,
 
115
                                                       gint                  width,
 
116
                                                       gint                  height,
 
117
                                                       gint                 *ret_width,
 
118
                                                       gint                 *ret_height,
 
119
                                                       gint                 *bpp,
 
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,
 
133
                                                       gboolean              active);
 
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,
 
138
                                                       gboolean              visible);
 
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,
 
147
                                                       gdouble               xresolution,
 
148
                                                       gdouble               yresolution);
 
149
GimpUnit          gimp_image_get_unit                 (gint32                image_ID);
 
150
gboolean          gimp_image_set_unit                 (gint32                image_ID,
 
151
                                                       GimpUnit              unit);
 
152
gint              gimp_image_get_tattoo_state         (gint32                image_ID);
 
153
gboolean          gimp_image_set_tattoo_state         (gint32                image_ID,
 
154
                                                       gint                  tattoo_state);
 
155
gint32            gimp_image_get_layer_by_tattoo      (gint32                image_ID,
 
156
                                                       gint                  tattoo);
 
157
gint32            gimp_image_get_channel_by_tattoo    (gint32                image_ID,
 
158
                                                       gint                  tattoo);
 
159
 
 
160
 
 
161
G_END_DECLS
 
162
 
 
163
#endif /* __GIMP_IMAGE_PDB_H__ */