1999-09-25 01:59:43 +00:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-07-03 00:47:26 +00:00
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
1998-01-25 10:26:47 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
1999-11-17 21:13:50 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
1998-01-25 10:26:47 +00:00
|
|
|
* License as published by the Free Software Foundation; either
|
1999-09-25 01:59:43 +00:00
|
|
|
* version 2 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
|
1999-12-26 07:54:39 +00:00
|
|
|
* Lesser General Public License for more details.
|
1998-01-25 10:26:47 +00:00
|
|
|
*
|
1999-11-17 21:13:50 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
1998-04-13 05:44:11 +00:00
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
1999-09-25 01:59:43 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* NOTE: This file is autogenerated by enumcode.pl */
|
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
#ifndef __GIMP_ENUMS_H__
|
|
|
|
#define __GIMP_ENUMS_H__
|
|
|
|
|
2001-11-22 23:46:13 +00:00
|
|
|
G_BEGIN_DECLS
|
1997-11-24 22:05:25 +00:00
|
|
|
|
2002-03-18 11:07:34 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_ADD_WHITE_MASK,
|
|
|
|
GIMP_ADD_BLACK_MASK,
|
|
|
|
GIMP_ADD_ALPHA_MASK,
|
2003-11-26 16:00:14 +00:00
|
|
|
GIMP_ADD_ALPHA_TRANSFER_MASK,
|
2002-03-18 11:07:34 +00:00
|
|
|
GIMP_ADD_SELECTION_MASK,
|
2003-03-06 13:22:11 +00:00
|
|
|
GIMP_ADD_COPY_MASK
|
2002-03-18 11:07:34 +00:00
|
|
|
} GimpAddMaskType;
|
|
|
|
|
2001-12-11 18:53:03 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
2002-03-17 22:54:26 +00:00
|
|
|
GIMP_FG_BG_RGB_MODE,
|
|
|
|
GIMP_FG_BG_HSV_MODE,
|
|
|
|
GIMP_FG_TRANSPARENT_MODE,
|
|
|
|
GIMP_CUSTOM_MODE
|
2001-12-11 18:53:03 +00:00
|
|
|
} GimpBlendMode;
|
|
|
|
|
2002-03-19 15:05:38 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_BRUSH_HARD,
|
2002-03-19 19:17:31 +00:00
|
|
|
GIMP_BRUSH_SOFT
|
2002-03-19 15:05:38 +00:00
|
|
|
} GimpBrushApplicationMode;
|
|
|
|
|
2002-03-18 11:07:34 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_FG_BUCKET_FILL,
|
|
|
|
GIMP_BG_BUCKET_FILL,
|
|
|
|
GIMP_PATTERN_BUCKET_FILL
|
|
|
|
} GimpBucketFillMode;
|
|
|
|
|
2002-03-18 16:22:14 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_CHANNEL_OP_ADD,
|
|
|
|
GIMP_CHANNEL_OP_SUBTRACT,
|
|
|
|
GIMP_CHANNEL_OP_REPLACE,
|
|
|
|
GIMP_CHANNEL_OP_INTERSECT
|
|
|
|
} GimpChannelOps;
|
|
|
|
|
2001-12-13 20:19:41 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_RED_CHANNEL,
|
|
|
|
GIMP_GREEN_CHANNEL,
|
|
|
|
GIMP_BLUE_CHANNEL,
|
|
|
|
GIMP_GRAY_CHANNEL,
|
|
|
|
GIMP_INDEXED_CHANNEL,
|
|
|
|
GIMP_ALPHA_CHANNEL
|
|
|
|
} GimpChannelType;
|
|
|
|
|
2002-03-19 15:05:38 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_IMAGE_CLONE,
|
|
|
|
GIMP_PATTERN_CLONE
|
|
|
|
} GimpCloneType;
|
|
|
|
|
2002-03-18 13:55:19 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_NO_DITHER,
|
|
|
|
GIMP_FS_DITHER,
|
|
|
|
GIMP_FSLOWBLEED_DITHER,
|
2002-03-20 15:02:30 +00:00
|
|
|
GIMP_FIXED_DITHER
|
2002-03-18 13:55:19 +00:00
|
|
|
} GimpConvertDitherType;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_MAKE_PALETTE,
|
|
|
|
GIMP_REUSE_PALETTE,
|
|
|
|
GIMP_WEB_PALETTE,
|
|
|
|
GIMP_MONO_PALETTE,
|
|
|
|
GIMP_CUSTOM_PALETTE
|
|
|
|
} GimpConvertPaletteType;
|
|
|
|
|
2001-12-08 23:12:59 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_NORMAL_CONVOL,
|
|
|
|
GIMP_ABSOLUTE_CONVOL,
|
|
|
|
GIMP_NEGATIVE_CONVOL
|
|
|
|
} GimpConvolutionType;
|
|
|
|
|
2002-03-19 15:05:38 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_BLUR_CONVOLVE,
|
2002-03-19 19:17:31 +00:00
|
|
|
GIMP_SHARPEN_CONVOLVE
|
2002-03-19 15:05:38 +00:00
|
|
|
} GimpConvolveType;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_DODGE,
|
|
|
|
GIMP_BURN
|
|
|
|
} GimpDodgeBurnType;
|
|
|
|
|
1999-09-25 01:59:43 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
2002-03-17 22:54:26 +00:00
|
|
|
GIMP_FOREGROUND_FILL,
|
|
|
|
GIMP_BACKGROUND_FILL,
|
|
|
|
GIMP_WHITE_FILL,
|
|
|
|
GIMP_TRANSPARENT_FILL,
|
2004-01-06 14:02:08 +00:00
|
|
|
GIMP_PATTERN_FILL
|
1999-09-25 01:59:43 +00:00
|
|
|
} GimpFillType;
|
|
|
|
|
2001-12-11 18:53:03 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
2003-08-26 18:12:42 +00:00
|
|
|
GIMP_GRADIENT_LINEAR,
|
|
|
|
GIMP_GRADIENT_BILINEAR,
|
|
|
|
GIMP_GRADIENT_RADIAL,
|
|
|
|
GIMP_GRADIENT_SQUARE,
|
|
|
|
GIMP_GRADIENT_CONICAL_SYMMETRIC,
|
|
|
|
GIMP_GRADIENT_CONICAL_ASYMMETRIC,
|
|
|
|
GIMP_GRADIENT_SHAPEBURST_ANGULAR,
|
|
|
|
GIMP_GRADIENT_SHAPEBURST_SPHERICAL,
|
|
|
|
GIMP_GRADIENT_SHAPEBURST_DIMPLED,
|
|
|
|
GIMP_GRADIENT_SPIRAL_CLOCKWISE,
|
|
|
|
GIMP_GRADIENT_SPIRAL_ANTICLOCKWISE
|
2001-12-11 18:53:03 +00:00
|
|
|
} GimpGradientType;
|
|
|
|
|
2004-01-13 16:19:50 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_HISTOGRAM_VALUE,
|
|
|
|
GIMP_HISTOGRAM_RED,
|
|
|
|
GIMP_HISTOGRAM_GREEN,
|
|
|
|
GIMP_HISTOGRAM_BLUE,
|
|
|
|
GIMP_HISTOGRAM_ALPHA
|
|
|
|
} GimpHistogramChannel;
|
|
|
|
|
2002-08-26 11:35:56 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_ALL_HUES,
|
|
|
|
GIMP_RED_HUES,
|
|
|
|
GIMP_YELLOW_HUES,
|
|
|
|
GIMP_GREEN_HUES,
|
|
|
|
GIMP_CYAN_HUES,
|
|
|
|
GIMP_BLUE_HUES,
|
|
|
|
GIMP_MAGENTA_HUES
|
|
|
|
} GimpHueRange;
|
|
|
|
|
1999-09-25 01:59:43 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_RGB,
|
|
|
|
GIMP_GRAY,
|
|
|
|
GIMP_INDEXED
|
|
|
|
} GimpImageBaseType;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_RGB_IMAGE,
|
|
|
|
GIMP_RGBA_IMAGE,
|
|
|
|
GIMP_GRAY_IMAGE,
|
|
|
|
GIMP_GRAYA_IMAGE,
|
|
|
|
GIMP_INDEXED_IMAGE,
|
|
|
|
GIMP_INDEXEDA_IMAGE
|
|
|
|
} GimpImageType;
|
|
|
|
|
2001-12-08 23:12:59 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_NORMAL_MODE,
|
|
|
|
GIMP_DISSOLVE_MODE,
|
|
|
|
GIMP_BEHIND_MODE,
|
|
|
|
GIMP_MULTIPLY_MODE,
|
|
|
|
GIMP_SCREEN_MODE,
|
|
|
|
GIMP_OVERLAY_MODE,
|
|
|
|
GIMP_DIFFERENCE_MODE,
|
|
|
|
GIMP_ADDITION_MODE,
|
|
|
|
GIMP_SUBTRACT_MODE,
|
|
|
|
GIMP_DARKEN_ONLY_MODE,
|
|
|
|
GIMP_LIGHTEN_ONLY_MODE,
|
|
|
|
GIMP_HUE_MODE,
|
|
|
|
GIMP_SATURATION_MODE,
|
|
|
|
GIMP_COLOR_MODE,
|
|
|
|
GIMP_VALUE_MODE,
|
|
|
|
GIMP_DIVIDE_MODE,
|
|
|
|
GIMP_DODGE_MODE,
|
|
|
|
GIMP_BURN_MODE,
|
|
|
|
GIMP_HARDLIGHT_MODE,
|
2002-11-05 19:33:59 +00:00
|
|
|
GIMP_SOFTLIGHT_MODE,
|
|
|
|
GIMP_GRAIN_EXTRACT_MODE,
|
|
|
|
GIMP_GRAIN_MERGE_MODE,
|
2001-12-08 23:12:59 +00:00
|
|
|
GIMP_COLOR_ERASE_MODE
|
|
|
|
} GimpLayerModeEffects;
|
|
|
|
|
2002-03-18 11:07:34 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_MASK_APPLY,
|
|
|
|
GIMP_MASK_DISCARD
|
|
|
|
} GimpMaskApplyMode;
|
|
|
|
|
2002-03-18 17:24:52 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_EXPAND_AS_NECESSARY,
|
|
|
|
GIMP_CLIP_TO_IMAGE,
|
|
|
|
GIMP_CLIP_TO_BOTTOM_LAYER,
|
|
|
|
GIMP_FLATTEN_IMAGE
|
|
|
|
} GimpMergeType;
|
|
|
|
|
2001-04-18 20:41:15 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_OFFSET_BACKGROUND,
|
|
|
|
GIMP_OFFSET_TRANSPARENT
|
|
|
|
} GimpOffsetType;
|
|
|
|
|
2003-02-07 17:12:21 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
2003-02-09 21:03:36 +00:00
|
|
|
GIMP_ORIENTATION_HORIZONTAL,
|
|
|
|
GIMP_ORIENTATION_VERTICAL,
|
|
|
|
GIMP_ORIENTATION_UNKNOWN
|
2003-02-07 17:12:21 +00:00
|
|
|
} GimpOrientationType;
|
|
|
|
|
2002-03-19 15:05:38 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_PAINT_CONSTANT,
|
|
|
|
GIMP_PAINT_INCREMENTAL
|
|
|
|
} GimpPaintApplicationMode;
|
|
|
|
|
2001-12-11 18:53:03 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_REPEAT_NONE,
|
|
|
|
GIMP_REPEAT_SAWTOOTH,
|
|
|
|
GIMP_REPEAT_TRIANGULAR
|
|
|
|
} GimpRepeatMode;
|
|
|
|
|
2003-12-09 09:03:52 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_ROTATE_90,
|
|
|
|
GIMP_ROTATE_180,
|
|
|
|
GIMP_ROTATE_270
|
|
|
|
} GimpRotationType;
|
|
|
|
|
2001-12-19 00:13:16 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_RUN_INTERACTIVE,
|
|
|
|
GIMP_RUN_NONINTERACTIVE,
|
|
|
|
GIMP_RUN_WITH_LAST_VALS
|
|
|
|
} GimpRunMode;
|
|
|
|
|
2001-08-01 02:01:49 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GIMP_SHADOWS,
|
|
|
|
GIMP_MIDTONES,
|
|
|
|
GIMP_HIGHLIGHTS
|
|
|
|
} GimpTransferMode;
|
|
|
|
|
1999-09-25 01:59:43 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
2002-12-01 22:29:57 +00:00
|
|
|
GIMP_PIXELS,
|
|
|
|
GIMP_POINTS
|
1999-09-25 01:59:43 +00:00
|
|
|
} GimpSizeType;
|
|
|
|
|
2001-11-22 23:46:13 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
1999-10-24 22:08:11 +00:00
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
#endif /* __GIMP_ENUMS_H__ */
|