1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
|
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
*
* gimpimage_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_PDB_H__
#define __GIMP_IMAGE_PDB_H__
G_BEGIN_DECLS
/* For information look into the C source or the html documentation */
gboolean gimp_image_id_is_valid (gint image_id);
GimpImage** gimp_get_images (void);
GimpImage* gimp_image_new (gint width,
gint height,
GimpImageBaseType type);
GimpImage* gimp_image_new_with_precision (gint width,
gint height,
GimpImageBaseType type,
GimpPrecision precision);
GimpImage* gimp_image_duplicate (GimpImage *image);
gboolean gimp_image_delete (GimpImage *image);
GimpImageBaseType gimp_image_get_base_type (GimpImage *image);
GimpPrecision gimp_image_get_precision (GimpImage *image);
GimpLayerMode gimp_image_get_default_new_layer_mode (GimpImage *image);
gint gimp_image_get_width (GimpImage *image);
gint gimp_image_get_height (GimpImage *image);
GimpLayer** gimp_image_get_layers (GimpImage *image);
GimpChannel** gimp_image_get_channels (GimpImage *image);
GimpPath** gimp_image_get_paths (GimpImage *image);
gboolean gimp_image_unset_active_channel (GimpImage *image);
GimpLayer* gimp_image_get_floating_sel (GimpImage *image);
GimpDrawable* gimp_image_floating_sel_attached_to (GimpImage *image);
gboolean gimp_image_pick_color (GimpImage *image,
const GimpDrawable **drawables,
gdouble x,
gdouble y,
gboolean sample_merged,
gboolean sample_average,
gdouble average_radius,
GeglColor **color);
GimpLayer* gimp_image_pick_correlate_layer (GimpImage *image,
gint x,
gint y);
gboolean gimp_image_insert_layer (GimpImage *image,
GimpLayer *layer,
GimpLayer *parent,
gint position);
gboolean gimp_image_remove_layer (GimpImage *image,
GimpLayer *layer);
gboolean gimp_image_freeze_layers (GimpImage *image);
gboolean gimp_image_thaw_layers (GimpImage *image);
gboolean gimp_image_insert_channel (GimpImage *image,
GimpChannel *channel,
GimpChannel *parent,
gint position);
gboolean gimp_image_remove_channel (GimpImage *image,
GimpChannel *channel);
gboolean gimp_image_freeze_channels (GimpImage *image);
gboolean gimp_image_thaw_channels (GimpImage *image);
gboolean gimp_image_insert_path (GimpImage *image,
GimpPath *path,
GimpPath *parent,
gint position);
gboolean gimp_image_remove_path (GimpImage *image,
GimpPath *path);
gboolean gimp_image_import_paths_from_file (GimpImage *image,
GFile *file,
gboolean merge,
gboolean scale,
GimpPath ***paths);
gboolean gimp_image_import_paths_from_string (GimpImage *image,
const gchar *string,
gint length,
gboolean merge,
gboolean scale,
GimpPath ***paths);
gboolean gimp_image_export_path_to_file (GimpImage *image,
GFile *file,
GimpPath *path);
gchar* gimp_image_export_path_to_string (GimpImage *image,
GimpPath *path);
gboolean gimp_image_freeze_paths (GimpImage *image);
gboolean gimp_image_thaw_paths (GimpImage *image);
gint gimp_image_get_item_position (GimpImage *image,
GimpItem *item);
gboolean gimp_image_raise_item (GimpImage *image,
GimpItem *item);
gboolean gimp_image_lower_item (GimpImage *image,
GimpItem *item);
gboolean gimp_image_raise_item_to_top (GimpImage *image,
GimpItem *item);
gboolean gimp_image_lower_item_to_bottom (GimpImage *image,
GimpItem *item);
gboolean gimp_image_reorder_item (GimpImage *image,
GimpItem *item,
GimpItem *parent,
gint position);
GimpLayer* gimp_image_flatten (GimpImage *image);
GimpLayer* gimp_image_merge_visible_layers (GimpImage *image,
GimpMergeType merge_type);
GimpLayer* gimp_image_merge_down (GimpImage *image,
GimpLayer *merge_layer,
GimpMergeType merge_type);
GimpPalette* gimp_image_get_palette (GimpImage *image);
GimpPalette* gimp_image_set_palette (GimpImage *image,
GimpPalette *new_palette);
G_GNUC_INTERNAL gchar* _gimp_image_get_metadata (GimpImage *image);
G_GNUC_INTERNAL gboolean _gimp_image_set_metadata (GimpImage *image,
const gchar *metadata_string);
gboolean gimp_image_clean_all (GimpImage *image);
gboolean gimp_image_is_dirty (GimpImage *image);
G_GNUC_INTERNAL gboolean _gimp_image_thumbnail (GimpImage *image,
gint width,
gint height,
gint *actual_width,
gint *actual_height,
gint *bpp,
GBytes **thumbnail_data);
GimpLayer** gimp_image_get_selected_layers (GimpImage *image);
gboolean gimp_image_set_selected_layers (GimpImage *image,
const GimpLayer **layers);
GimpChannel** gimp_image_get_selected_channels (GimpImage *image);
gboolean gimp_image_set_selected_channels (GimpImage *image,
const GimpChannel **channels);
GimpPath** gimp_image_get_selected_paths (GimpImage *image);
gboolean gimp_image_set_selected_paths (GimpImage *image,
const GimpPath **paths);
GimpDrawable** gimp_image_get_selected_drawables (GimpImage *image);
GimpSelection* gimp_image_get_selection (GimpImage *image);
gboolean gimp_image_get_component_active (GimpImage *image,
GimpChannelType component);
gboolean gimp_image_set_component_active (GimpImage *image,
GimpChannelType component,
gboolean active);
gboolean gimp_image_get_component_visible (GimpImage *image,
GimpChannelType component);
gboolean gimp_image_set_component_visible (GimpImage *image,
GimpChannelType component,
gboolean visible);
GFile* gimp_image_get_file (GimpImage *image);
gboolean gimp_image_set_file (GimpImage *image,
GFile *file);
GFile* gimp_image_get_xcf_file (GimpImage *image);
GFile* gimp_image_get_imported_file (GimpImage *image);
GFile* gimp_image_get_exported_file (GimpImage *image);
gchar* gimp_image_get_name (GimpImage *image);
gboolean gimp_image_get_resolution (GimpImage *image,
gdouble *xresolution,
gdouble *yresolution);
gboolean gimp_image_set_resolution (GimpImage *image,
gdouble xresolution,
gdouble yresolution);
GimpUnit* gimp_image_get_unit (GimpImage *image);
gboolean gimp_image_set_unit (GimpImage *image,
GimpUnit *unit);
guint gimp_image_get_tattoo_state (GimpImage *image);
gboolean gimp_image_set_tattoo_state (GimpImage *image,
guint tattoo_state);
GimpLayer* gimp_image_get_layer_by_tattoo (GimpImage *image,
guint tattoo);
GimpChannel* gimp_image_get_channel_by_tattoo (GimpImage *image,
guint tattoo);
GimpPath* gimp_image_get_path_by_tattoo (GimpImage *image,
guint tattoo);
GimpLayer* gimp_image_get_layer_by_name (GimpImage *image,
const gchar *name);
GimpChannel* gimp_image_get_channel_by_name (GimpImage *image,
const gchar *name);
GimpPath* gimp_image_get_path_by_name (GimpImage *image,
const gchar *name);
gboolean gimp_image_attach_parasite (GimpImage *image,
const GimpParasite *parasite);
gboolean gimp_image_detach_parasite (GimpImage *image,
const gchar *name);
GimpParasite* gimp_image_get_parasite (GimpImage *image,
const gchar *name);
gchar** gimp_image_get_parasite_list (GimpImage *image);
gboolean gimp_image_policy_rotate (GimpImage *image,
gboolean interactive);
gboolean gimp_image_policy_color_profile (GimpImage *image,
gboolean interactive);
G_END_DECLS
#endif /* __GIMP_IMAGE_PDB_H__ */
|