#   Gimp-Python - allows the writing of Gimp plugins in Python.
#   Copyright (C) 1997  James Henstridge <james@daa.com.au>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# gimpenums.py -- constants for use with the gimp module
#
# this file contains constants that are useful for use in
# gimp plugins.  Just add 'from gimpenums import *' to the top
# of the script

# NOTE: This file is autogenerated by enumcode-py.pl.

TRUE = 1
FALSE = 0

# GimpAddMaskType
WHITE_MASK = 0
BLACK_MASK = 1
ALPHA_MASK = 2

# GimpBlendMode
FG_BG_RGB = 0
FG_BG_HSV = 1
FG_TRANS = 2
CUSTOM = 3

# GimpBrushApplicationMode
HARD = 0
SOFT = 1
PRESSURE = 2

# GimpBucketFillMode
FG_BUCKET_FILL = 0
BG_BUCKET_FILL = 1
PATTERN_BUCKET_FILL = 2

# GimpChannelLutType
VALUE_LUT = 0
RED_LUT = 1
GREEN_LUT = 2
BLUE_LUT = 3
ALPHA_LUT = 4

# GimpChannelOffsetType
OFFSET_BACKGROUND = 0
OFFSET_TRANSPARENT = 1

# GimpChannelOps
ADD = 0
SUB = 1
REPLACE = 2
INTERSECT = 3

# GimpChannelType
RED_CHANNEL = 0
GREEN_CHANNEL = 1
BLUE_CHANNEL = 2
GRAY_CHANNEL = 3
INDEXED_CHANNEL = 4
AUXILLARY_CHANNEL = 5

# GimpCloneType
IMAGE_CLONE = 0
PATTERN_CLONE = 1

# GimpConvertDitherType
NO_DITHER = 0
FS_DITHER = 1
FSLOWBLEED_DITHER = 2
FIXED_DITHER = 3
NODESTRUCT_DITHER = 4

# GimpConvertPaletteType
MAKE_PALETTE = 0
REUSE_PALETTE = 1
WEB_PALETTE = 2
MONO_PALETTE = 3
CUSTOM_PALETTE = 4

# GimpConvolutionType
NORMAL_CONVOL = 0
ABSOLUTE_CONVOL = 1
NEGATIVE_CONVOL = 2

# GimpConvolveType
BLUR_CONVOLVE = 0
SHARPEN_CONVOLVE = 1
CUSTOM_CONVOLVE = 2

# GimpDodgeBurnMode
DODGEBURN_HIGHLIGHTS = 0
DODGEBURN_MIDTONES = 1
DODGEBURN_SHADOWS = 2

# GimpDodgeBurnType
DODGE = 0
BURN = 1

# GimpFillType
FG_IMAGE_FILL = 0
BG_IMAGE_FILL = 1
WHITE_IMAGE_FILL = 2
TRANS_IMAGE_FILL = 3
NO_IMAGE_FILL = 4

# GImageType
RGB = 0
GRAY = 1
INDEXED = 2
U16_RGB     = 3
U16_GRAY    = 4
U16_INDEXED = 5
FLOAT_RGB   = 6
FLOAT_GRAY  = 7
FLOAT16_RGB   = 8
FLOAT16_GRAY  = 9
BFP_RGB       = 10
BFP_GRAY      = 11

# GDrawableType
RGB_IMAGE = 0
RGBA_IMAGE = 1
GRAY_IMAGE = 2
GRAYA_IMAGE = 3
INDEXED_IMAGE = 4
INDEXEDA_IMAGE = 5
U16_RGB_IMAGE      = 6
U16_RGBA_IMAGE     = 7
U16_GRAY_IMAGE     = 8
U16_GRAYA_IMAGE    = 9
U16_INDEXED_IMAGE  = 10
U16_INDEXEDA_IMAGE = 11
FLOAT_RGB_IMAGE    = 12
FLOAT_RGBA_IMAGE   = 13
FLOAT_GRAY_IMAGE   = 14
FLOAT_GRAYA_IMAGE  = 15
FLOAT16_RGB_IMAGE    = 16
FLOAT16_RGBA_IMAGE   = 17
FLOAT16_GRAY_IMAGE   = 18
FLOAT16_GRAYA_IMAGE  = 19
BFP_RGB_IMAGE    = 20
BFP_RGBA_IMAGE   = 21
BFP_GRAY_IMAGE   = 22
BFP_GRAYA_IMAGE  = 23


# GimpGradientPaintMode
ONCE_FORWARD = 0
ONCE_BACKWARDS = 1
LOOP_SAWTOOTH = 2
LOOP_TRIANGLE = 3
ONCE_END_COLOR = 4

# GimpGradientType
LINEAR = 0
BILINEAR = 1
RADIAL = 2
SQUARE = 3
CONICAL_SYMMETRIC = 4
CONICAL_ASYMMETRIC = 5
SHAPEBURST_ANGULAR = 6
SHAPEBURST_SPHERICAL = 7
SHAPEBURST_DIMPLED = 8
SPIRAL_CLOCKWISE = 9
SPIRAL_ANTICLOCKWISE = 10

# GimpHueRange
ALL_HUES = 0
RED_HUES = 1
YELLOW_HUES = 2
GREEN_HUES = 3
CYAN_HUES = 4
BLUE_HUES = 5
MAGENTA_HUES = 6

# GimpInterpolationType
LINEAR_INTERPOLATION = 0
CUBIC_INTERPOLATION = 1
NEAREST_NEIGHBOR_INTERPOLATION = 2

# GimpLayerModeEffects
NORMAL_MODE = 0
DISSOLVE_MODE = 1
BEHIND_MODE = 2
MULTIPLY_MODE = 3
SCREEN_MODE = 4
OVERLAY_MODE = 5
DIFFERENCE_MODE = 6
ADDITION_MODE = 7
SUBTRACT_MODE = 8
DARKEN_ONLY_MODE = 9
LIGHTEN_ONLY_MODE = 10
HUE_MODE = 11
SATURATION_MODE = 12
COLOR_MODE = 13
VALUE_MODE = 14
DIVIDE_MODE = 15

# GimpMaskApplyMode
APPLY = 0
DISCARD = 1

# GimpMergeType
EXPAND_AS_NECESSARY = 0
CLIP_TO_IMAGE = 1
CLIP_TO_BOTTOM_LAYER = 2
FLATTEN_IMAGE = 3

# GimpMessageHandlerType
MESSAGE_BOX = 0
CONSOLE = 1
ERROR_CONSOLE = 2

# GimpOrientationType
HORIZONTAL = 0
VERTICAL = 1
UNKNOWN = 2

# GimpPDBArgType
PDB_INT32 = 0
PDB_INT16 = 1
PDB_INT8 = 2
PDB_FLOAT = 3
PDB_STRING = 4
PDB_INT32ARRAY = 5
PDB_INT16ARRAY = 6
PDB_INT8ARRAY = 7
PDB_FLOATARRAY = 8
PDB_STRINGARRAY = 9
PDB_COLOR = 10
PDB_REGION = 11
PDB_DISPLAY = 12
PDB_IMAGE = 13
PDB_LAYER = 14
PDB_CHANNEL = 15
PDB_DRAWABLE = 16
PDB_SELECTION = 17
PDB_BOUNDARY = 18
PDB_PATH = 19
#PDB_PARASITE = 20
PDB_STATUS = 20
PDB_END = 21

# GimpPDBProcType
INTERNAL = 0
PLUGIN = 1
EXTENSION = 2
TEMPORARY = 3

# GimpPDBStatusType
PDB_EXECUTION_ERROR = 0
PDB_CALLING_ERROR = 1
PDB_PASS_THROUGH = 2
PDB_SUCCESS = 3
PDB_CANCEL = 4

# GimpPaintApplicationMode
CONTINUOUS = 0
INCREMENTAL = 1

# GimpRepeatMode
REPEAT_NONE = 0
REPEAT_SAWTOOTH = 1
REPEAT_TRIANGULAR = 2

# GimpRunModeType
RUN_INTERACTIVE = 0
RUN_NONINTERACTIVE = 1
RUN_WITH_LAST_VALS = 2

# GimpSizeType
PIXELS = 0
POINTS = 1

# GimpStackTraceMode
STACK_TRACE_NEVER = 0
STACK_TRACE_QUERY = 1
STACK_TRACE_ALWAYS = 2

# GimpTransferMode
SHADOWS = 0
MIDTONES = 1
HIGHLIGHTS = 2

