1 /* LIBGIMP - The GIMP Library 2 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball 3 * 4 * gimpdrawablecolor_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 3 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, see 18 * <https://www.gnu.org/licenses/>. 19 */ 20 21 /* NOTE: This file is auto-generated by pdbgen.pl */ 22 23 #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) 24 #error "Only <libgimp/gimp.h> can be included directly." 25 #endif 26 27 #ifndef __GIMP_DRAWABLE_COLOR_PDB_H__ 28 #define __GIMP_DRAWABLE_COLOR_PDB_H__ 29 30 G_BEGIN_DECLS 31 32 /* For information look into the C source or the html documentation */ 33 34 35 gboolean gimp_drawable_brightness_contrast (gint32 drawable_ID, 36 gdouble brightness, 37 gdouble contrast); 38 gboolean gimp_drawable_color_balance (gint32 drawable_ID, 39 GimpTransferMode transfer_mode, 40 gboolean preserve_lum, 41 gdouble cyan_red, 42 gdouble magenta_green, 43 gdouble yellow_blue); 44 gboolean gimp_drawable_colorize_hsl (gint32 drawable_ID, 45 gdouble hue, 46 gdouble saturation, 47 gdouble lightness); 48 gboolean gimp_drawable_curves_explicit (gint32 drawable_ID, 49 GimpHistogramChannel channel, 50 gint num_values, 51 const gdouble *values); 52 gboolean gimp_drawable_curves_spline (gint32 drawable_ID, 53 GimpHistogramChannel channel, 54 gint num_points, 55 const gdouble *points); 56 gboolean gimp_drawable_desaturate (gint32 drawable_ID, 57 GimpDesaturateMode desaturate_mode); 58 gboolean gimp_drawable_equalize (gint32 drawable_ID, 59 gboolean mask_only); 60 gboolean gimp_drawable_histogram (gint32 drawable_ID, 61 GimpHistogramChannel channel, 62 gdouble start_range, 63 gdouble end_range, 64 gdouble *mean, 65 gdouble *std_dev, 66 gdouble *median, 67 gdouble *pixels, 68 gdouble *count, 69 gdouble *percentile); 70 gboolean gimp_drawable_hue_saturation (gint32 drawable_ID, 71 GimpHueRange hue_range, 72 gdouble hue_offset, 73 gdouble lightness, 74 gdouble saturation, 75 gdouble overlap); 76 gboolean gimp_drawable_invert (gint32 drawable_ID, 77 gboolean linear); 78 gboolean gimp_drawable_levels (gint32 drawable_ID, 79 GimpHistogramChannel channel, 80 gdouble low_input, 81 gdouble high_input, 82 gboolean clamp_input, 83 gdouble gamma, 84 gdouble low_output, 85 gdouble high_output, 86 gboolean clamp_output); 87 gboolean gimp_drawable_levels_stretch (gint32 drawable_ID); 88 gboolean gimp_drawable_posterize (gint32 drawable_ID, 89 gint levels); 90 gboolean gimp_drawable_threshold (gint32 drawable_ID, 91 GimpHistogramChannel channel, 92 gdouble low_threshold, 93 gdouble high_threshold); 94 95 96 G_END_DECLS 97 98 #endif /* __GIMP_DRAWABLE_COLOR_PDB_H__ */ 99