core-enums

core-enums

Synopsis

enum                GimpAlignReferenceType;
enum                GimpAlignmentType;
enum                GimpBrushGeneratedShape;
enum                GimpCapStyle;
enum                GimpColorProfilePolicy;
enum                GimpContainerPolicy;
enum                GimpContextPropMask;
enum                GimpContextPropType;
enum                GimpConvertDitherType;
enum                GimpConvertPaletteType;
enum                GimpDashPreset;
enum                GimpDirtyMask;
enum                GimpDynamicsOutputType;
enum                GimpFillStyle;
enum                GimpFillType;
enum                GimpGradientColor;
enum                GimpGradientSegmentColor;
enum                GimpGradientSegmentType;
enum                GimpGravityType;
enum                GimpImageScaleCheckType;
enum                GimpItemSet;
enum                GimpItemTypeMask;
enum                GimpJoinStyle;
enum                GimpMaskApplyMode;
enum                GimpMergeType;
enum                GimpMessageSeverity;
enum                GimpOffsetType;
enum                GimpOrientationType;
enum                GimpRotationType;
enum                GimpSelectCriterion;
enum                GimpStrokeMethod;
enum                GimpThumbnailSize;
enum                GimpUndoEvent;
enum                GimpUndoMode;
enum                GimpUndoType;
enum                GimpViewSize;
enum                GimpViewType;

Description

Details

enum GimpAlignReferenceType

typedef enum {
  GIMP_ALIGN_REFERENCE_FIRST,          /*< desc="First item"     >*/
  GIMP_ALIGN_REFERENCE_IMAGE,          /*< desc="Image"          >*/
  GIMP_ALIGN_REFERENCE_SELECTION,      /*< desc="Selection"      >*/
  GIMP_ALIGN_REFERENCE_ACTIVE_LAYER,   /*< desc="Active layer"   >*/
  GIMP_ALIGN_REFERENCE_ACTIVE_CHANNEL, /*< desc="Active channel" >*/
  GIMP_ALIGN_REFERENCE_ACTIVE_PATH     /*< desc="Active path"    >*/
} GimpAlignReferenceType;

GIMP_ALIGN_REFERENCE_FIRST

GIMP_ALIGN_REFERENCE_IMAGE

GIMP_ALIGN_REFERENCE_SELECTION

GIMP_ALIGN_REFERENCE_ACTIVE_LAYER

GIMP_ALIGN_REFERENCE_ACTIVE_CHANNEL

GIMP_ALIGN_REFERENCE_ACTIVE_PATH


enum GimpAlignmentType

typedef enum {
  GIMP_ALIGN_LEFT,
  GIMP_ALIGN_HCENTER,
  GIMP_ALIGN_RIGHT,
  GIMP_ALIGN_TOP,
  GIMP_ALIGN_VCENTER,
  GIMP_ALIGN_BOTTOM,
  GIMP_ARRANGE_LEFT,
  GIMP_ARRANGE_HCENTER,
  GIMP_ARRANGE_RIGHT,
  GIMP_ARRANGE_TOP,
  GIMP_ARRANGE_VCENTER,
  GIMP_ARRANGE_BOTTOM
} GimpAlignmentType;

GIMP_ALIGN_LEFT

GIMP_ALIGN_HCENTER

GIMP_ALIGN_RIGHT

GIMP_ALIGN_TOP

GIMP_ALIGN_VCENTER

GIMP_ALIGN_BOTTOM

GIMP_ARRANGE_LEFT

GIMP_ARRANGE_HCENTER

GIMP_ARRANGE_RIGHT

GIMP_ARRANGE_TOP

GIMP_ARRANGE_VCENTER

GIMP_ARRANGE_BOTTOM


enum GimpBrushGeneratedShape

typedef enum {
  GIMP_BRUSH_GENERATED_CIRCLE,  /*< desc="Circle"  >*/
  GIMP_BRUSH_GENERATED_SQUARE,  /*< desc="Square"  >*/
  GIMP_BRUSH_GENERATED_DIAMOND  /*< desc="Diamond" >*/
} GimpBrushGeneratedShape;

GIMP_BRUSH_GENERATED_CIRCLE

GIMP_BRUSH_GENERATED_SQUARE

GIMP_BRUSH_GENERATED_DIAMOND


enum GimpCapStyle

typedef enum {
  GIMP_CAP_BUTT,   /*< desc="Butt"   >*/
  GIMP_CAP_ROUND,  /*< desc="Round"  >*/
  GIMP_CAP_SQUARE  /*< desc="Square" >*/
} GimpCapStyle;

GIMP_CAP_BUTT

GIMP_CAP_ROUND

GIMP_CAP_SQUARE


enum GimpColorProfilePolicy

typedef enum {
  GIMP_COLOR_PROFILE_POLICY_ASK,    /*< desc="Ask what to do"           >*/
  GIMP_COLOR_PROFILE_POLICY_KEEP,   /*< desc="Keep embedded profile"    >*/
  GIMP_COLOR_PROFILE_POLICY_CONVERT /*< desc="Convert to RGB workspace" >*/
} GimpColorProfilePolicy;

GIMP_COLOR_PROFILE_POLICY_ASK

GIMP_COLOR_PROFILE_POLICY_KEEP

GIMP_COLOR_PROFILE_POLICY_CONVERT


enum GimpContainerPolicy

typedef enum {
  GIMP_CONTAINER_POLICY_STRONG,
  GIMP_CONTAINER_POLICY_WEAK
} GimpContainerPolicy;

GIMP_CONTAINER_POLICY_STRONG

GIMP_CONTAINER_POLICY_WEAK


enum GimpContextPropMask

typedef enum {
  GIMP_CONTEXT_IMAGE_MASK       = 1 <<  2,
  GIMP_CONTEXT_DISPLAY_MASK     = 1 <<  3,
  GIMP_CONTEXT_TOOL_MASK        = 1 <<  4,
  GIMP_CONTEXT_PAINT_INFO_MASK  = 1 <<  5,
  GIMP_CONTEXT_FOREGROUND_MASK  = 1 <<  6,
  GIMP_CONTEXT_BACKGROUND_MASK  = 1 <<  7,
  GIMP_CONTEXT_OPACITY_MASK     = 1 <<  8,
  GIMP_CONTEXT_PAINT_MODE_MASK  = 1 <<  9,
  GIMP_CONTEXT_BRUSH_MASK       = 1 << 10,
  GIMP_CONTEXT_DYNAMICS_MASK    = 1 << 11,
  GIMP_CONTEXT_PATTERN_MASK     = 1 << 12,
  GIMP_CONTEXT_GRADIENT_MASK    = 1 << 13,
  GIMP_CONTEXT_PALETTE_MASK     = 1 << 14,
  GIMP_CONTEXT_TOOL_PRESET_MASK = 1 << 15,
  GIMP_CONTEXT_FONT_MASK        = 1 << 16,
  GIMP_CONTEXT_BUFFER_MASK      = 1 << 17,
  GIMP_CONTEXT_IMAGEFILE_MASK   = 1 << 18,
  GIMP_CONTEXT_TEMPLATE_MASK    = 1 << 19,

  /*  aliases  */
  GIMP_CONTEXT_PAINT_PROPS_MASK = (GIMP_CONTEXT_FOREGROUND_MASK |
                                   GIMP_CONTEXT_BACKGROUND_MASK |
                                   GIMP_CONTEXT_OPACITY_MASK    |
                                   GIMP_CONTEXT_PAINT_MODE_MASK |
                                   GIMP_CONTEXT_BRUSH_MASK      |
                                   GIMP_CONTEXT_DYNAMICS_MASK   |
                                   GIMP_CONTEXT_PATTERN_MASK    |
                                   GIMP_CONTEXT_GRADIENT_MASK),
  GIMP_CONTEXT_ALL_PROPS_MASK   = (GIMP_CONTEXT_IMAGE_MASK      |
                                   GIMP_CONTEXT_DISPLAY_MASK    |
                                   GIMP_CONTEXT_TOOL_MASK       |
                                   GIMP_CONTEXT_PAINT_INFO_MASK |
                                   GIMP_CONTEXT_PALETTE_MASK    |
                                   GIMP_CONTEXT_FONT_MASK       |
                                   GIMP_CONTEXT_BUFFER_MASK     |
                                   GIMP_CONTEXT_IMAGEFILE_MASK  |
                                   GIMP_CONTEXT_TEMPLATE_MASK   |
                                   GIMP_CONTEXT_PAINT_PROPS_MASK)
} GimpContextPropMask;

GIMP_CONTEXT_IMAGE_MASK

GIMP_CONTEXT_DISPLAY_MASK

GIMP_CONTEXT_TOOL_MASK

GIMP_CONTEXT_PAINT_INFO_MASK

GIMP_CONTEXT_FOREGROUND_MASK

GIMP_CONTEXT_BACKGROUND_MASK

GIMP_CONTEXT_OPACITY_MASK

GIMP_CONTEXT_PAINT_MODE_MASK

GIMP_CONTEXT_BRUSH_MASK

GIMP_CONTEXT_DYNAMICS_MASK

GIMP_CONTEXT_PATTERN_MASK

GIMP_CONTEXT_GRADIENT_MASK

GIMP_CONTEXT_PALETTE_MASK

GIMP_CONTEXT_TOOL_PRESET_MASK

GIMP_CONTEXT_FONT_MASK

GIMP_CONTEXT_BUFFER_MASK

GIMP_CONTEXT_IMAGEFILE_MASK

GIMP_CONTEXT_TEMPLATE_MASK

GIMP_CONTEXT_PAINT_PROPS_MASK

GIMP_CONTEXT_ALL_PROPS_MASK


enum GimpContextPropType

typedef enum {
  GIMP_CONTEXT_FIRST_PROP       =  2,

  GIMP_CONTEXT_PROP_IMAGE       =  GIMP_CONTEXT_FIRST_PROP,
  GIMP_CONTEXT_PROP_DISPLAY     =  3,
  GIMP_CONTEXT_PROP_TOOL        =  4,
  GIMP_CONTEXT_PROP_PAINT_INFO  =  5,
  GIMP_CONTEXT_PROP_FOREGROUND  =  6,
  GIMP_CONTEXT_PROP_BACKGROUND  =  7,
  GIMP_CONTEXT_PROP_OPACITY     =  8,
  GIMP_CONTEXT_PROP_PAINT_MODE  =  9,
  GIMP_CONTEXT_PROP_BRUSH       = 10,
  GIMP_CONTEXT_PROP_DYNAMICS    = 11,
  GIMP_CONTEXT_PROP_PATTERN     = 12,
  GIMP_CONTEXT_PROP_GRADIENT    = 13,
  GIMP_CONTEXT_PROP_PALETTE     = 14,
  GIMP_CONTEXT_PROP_TOOL_PRESET = 15,
  GIMP_CONTEXT_PROP_FONT        = 16,
  GIMP_CONTEXT_PROP_BUFFER      = 17,
  GIMP_CONTEXT_PROP_IMAGEFILE   = 18,
  GIMP_CONTEXT_PROP_TEMPLATE    = 19,

  GIMP_CONTEXT_LAST_PROP        = GIMP_CONTEXT_PROP_TEMPLATE
} GimpContextPropType;

GIMP_CONTEXT_FIRST_PROP

GIMP_CONTEXT_PROP_IMAGE

GIMP_CONTEXT_PROP_DISPLAY

GIMP_CONTEXT_PROP_TOOL

GIMP_CONTEXT_PROP_PAINT_INFO

GIMP_CONTEXT_PROP_FOREGROUND

GIMP_CONTEXT_PROP_BACKGROUND

GIMP_CONTEXT_PROP_OPACITY

GIMP_CONTEXT_PROP_PAINT_MODE

GIMP_CONTEXT_PROP_BRUSH

GIMP_CONTEXT_PROP_DYNAMICS

GIMP_CONTEXT_PROP_PATTERN

GIMP_CONTEXT_PROP_GRADIENT

GIMP_CONTEXT_PROP_PALETTE

GIMP_CONTEXT_PROP_TOOL_PRESET

GIMP_CONTEXT_PROP_FONT

GIMP_CONTEXT_PROP_BUFFER

GIMP_CONTEXT_PROP_IMAGEFILE

GIMP_CONTEXT_PROP_TEMPLATE

GIMP_CONTEXT_LAST_PROP


enum GimpConvertDitherType

typedef enum {
  GIMP_NO_DITHER,         /*< desc="None"                                     >*/
  GIMP_FS_DITHER,         /*< desc="Floyd-Steinberg (normal)"                 >*/
  GIMP_FSLOWBLEED_DITHER, /*< desc="Floyd-Steinberg (reduced color bleeding)" >*/
  GIMP_FIXED_DITHER,      /*< desc="Positioned"                               >*/
  GIMP_NODESTRUCT_DITHER  /*< pdb-skip, skip >*/
} GimpConvertDitherType;

GIMP_NO_DITHER

GIMP_FS_DITHER

GIMP_FSLOWBLEED_DITHER

GIMP_FIXED_DITHER

GIMP_NODESTRUCT_DITHER


enum GimpConvertPaletteType

typedef enum {
  GIMP_MAKE_PALETTE,    /*< desc="Generate optimum palette"            >*/
  GIMP_REUSE_PALETTE,   /*< skip >*/
  GIMP_WEB_PALETTE,     /*< desc="Use web-optimized palette"           >*/
  GIMP_MONO_PALETTE,    /*< desc="Use black and white (1-bit) palette" >*/
  GIMP_CUSTOM_PALETTE   /*< desc="Use custom palette"                  >*/
} GimpConvertPaletteType;

GIMP_MAKE_PALETTE

GIMP_REUSE_PALETTE

GIMP_WEB_PALETTE

GIMP_MONO_PALETTE

GIMP_CUSTOM_PALETTE


enum GimpDashPreset

typedef enum {
  GIMP_DASH_CUSTOM,       /*< desc="Custom"         >*/
  GIMP_DASH_LINE,         /*< desc="Line"           >*/
  GIMP_DASH_LONG_DASH,    /*< desc="Long dashes"    >*/
  GIMP_DASH_MEDIUM_DASH,  /*< desc="Medium dashes"  >*/
  GIMP_DASH_SHORT_DASH,   /*< desc="Short dashes"   >*/
  GIMP_DASH_SPARSE_DOTS,  /*< desc="Sparse dots"    >*/
  GIMP_DASH_NORMAL_DOTS,  /*< desc="Normal dots"    >*/
  GIMP_DASH_DENSE_DOTS,   /*< desc="Dense dots"     >*/
  GIMP_DASH_STIPPLES,     /*< desc="Stipples"       >*/
  GIMP_DASH_DASH_DOT,     /*< desc="Dash, dot"      >*/
  GIMP_DASH_DASH_DOT_DOT  /*< desc="Dash, dot, dot" >*/
} GimpDashPreset;

GIMP_DASH_CUSTOM

GIMP_DASH_LINE

GIMP_DASH_LONG_DASH

GIMP_DASH_MEDIUM_DASH

GIMP_DASH_SHORT_DASH

GIMP_DASH_SPARSE_DOTS

GIMP_DASH_NORMAL_DOTS

GIMP_DASH_DENSE_DOTS

GIMP_DASH_STIPPLES

GIMP_DASH_DASH_DOT

GIMP_DASH_DASH_DOT_DOT


enum GimpDirtyMask

typedef enum {
  GIMP_DIRTY_NONE            = 0,

  GIMP_DIRTY_IMAGE           = 1 << 0,
  GIMP_DIRTY_IMAGE_SIZE      = 1 << 1,
  GIMP_DIRTY_IMAGE_META      = 1 << 2,
  GIMP_DIRTY_IMAGE_STRUCTURE = 1 << 3,
  GIMP_DIRTY_ITEM            = 1 << 4,
  GIMP_DIRTY_ITEM_META       = 1 << 5,
  GIMP_DIRTY_DRAWABLE        = 1 << 6,
  GIMP_DIRTY_VECTORS         = 1 << 7,
  GIMP_DIRTY_SELECTION       = 1 << 8,
  GIMP_DIRTY_ACTIVE_DRAWABLE = 1 << 9,

  GIMP_DIRTY_ALL             = 0xffff
} GimpDirtyMask;

GIMP_DIRTY_NONE

GIMP_DIRTY_IMAGE

GIMP_DIRTY_IMAGE_SIZE

GIMP_DIRTY_IMAGE_META

GIMP_DIRTY_IMAGE_STRUCTURE

GIMP_DIRTY_ITEM

GIMP_DIRTY_ITEM_META

GIMP_DIRTY_DRAWABLE

GIMP_DIRTY_VECTORS

GIMP_DIRTY_SELECTION

GIMP_DIRTY_ACTIVE_DRAWABLE

GIMP_DIRTY_ALL


enum GimpDynamicsOutputType

typedef enum {
  GIMP_DYNAMICS_OUTPUT_OPACITY,      /*< desc="Opacity"      >*/
  GIMP_DYNAMICS_OUTPUT_SIZE,         /*< desc="Size"         >*/
  GIMP_DYNAMICS_OUTPUT_ANGLE,        /*< desc="Angle"        >*/
  GIMP_DYNAMICS_OUTPUT_COLOR,        /*< desc="Color"        >*/
  GIMP_DYNAMICS_OUTPUT_HARDNESS,     /*< desc="Hardness"     >*/
  GIMP_DYNAMICS_OUTPUT_FORCE,        /*< desc="Force"        >*/
  GIMP_DYNAMICS_OUTPUT_ASPECT_RATIO, /*< desc="Aspect ratio" >*/
  GIMP_DYNAMICS_OUTPUT_SPACING,      /*< desc="Spacing"      >*/
  GIMP_DYNAMICS_OUTPUT_RATE,         /*< desc="Rate"         >*/
  GIMP_DYNAMICS_OUTPUT_FLOW,         /*< desc="Flow"         >*/
  GIMP_DYNAMICS_OUTPUT_JITTER,       /*< desc="Jitter"       >*/
} GimpDynamicsOutputType;

GIMP_DYNAMICS_OUTPUT_OPACITY

GIMP_DYNAMICS_OUTPUT_SIZE

GIMP_DYNAMICS_OUTPUT_ANGLE

GIMP_DYNAMICS_OUTPUT_COLOR

GIMP_DYNAMICS_OUTPUT_HARDNESS

GIMP_DYNAMICS_OUTPUT_FORCE

GIMP_DYNAMICS_OUTPUT_ASPECT_RATIO

GIMP_DYNAMICS_OUTPUT_SPACING

GIMP_DYNAMICS_OUTPUT_RATE

GIMP_DYNAMICS_OUTPUT_FLOW

GIMP_DYNAMICS_OUTPUT_JITTER


enum GimpFillStyle

typedef enum {
  GIMP_FILL_STYLE_SOLID,  /*< desc="Solid color" >*/
  GIMP_FILL_STYLE_PATTERN /*< desc="Pattern"     >*/
} GimpFillStyle;

GIMP_FILL_STYLE_SOLID

GIMP_FILL_STYLE_PATTERN


enum GimpFillType

typedef enum {
  GIMP_FOREGROUND_FILL,   /*< desc="Foreground color" >*/
  GIMP_BACKGROUND_FILL,   /*< desc="Background color" >*/
  GIMP_WHITE_FILL,        /*< desc="White"            >*/
  GIMP_TRANSPARENT_FILL,  /*< desc="Transparency"     >*/
  GIMP_PATTERN_FILL,      /*< desc="Pattern"          >*/
  GIMP_NO_FILL            /*< desc="None",   pdb-skip >*/
} GimpFillType;

GIMP_FOREGROUND_FILL

GIMP_BACKGROUND_FILL

GIMP_WHITE_FILL

GIMP_TRANSPARENT_FILL

GIMP_PATTERN_FILL

GIMP_NO_FILL


enum GimpGradientColor

typedef enum {
  GIMP_GRADIENT_COLOR_FIXED,
  GIMP_GRADIENT_COLOR_FOREGROUND,
  GIMP_GRADIENT_COLOR_FOREGROUND_TRANSPARENT,
  GIMP_GRADIENT_COLOR_BACKGROUND,
  GIMP_GRADIENT_COLOR_BACKGROUND_TRANSPARENT
} GimpGradientColor;

GIMP_GRADIENT_COLOR_FIXED

GIMP_GRADIENT_COLOR_FOREGROUND

GIMP_GRADIENT_COLOR_FOREGROUND_TRANSPARENT

GIMP_GRADIENT_COLOR_BACKGROUND

GIMP_GRADIENT_COLOR_BACKGROUND_TRANSPARENT


enum GimpGradientSegmentColor

typedef enum {
  GIMP_GRADIENT_SEGMENT_RGB,      /* normal RGB           */
  GIMP_GRADIENT_SEGMENT_HSV_CCW,  /* counterclockwise hue */
  GIMP_GRADIENT_SEGMENT_HSV_CW    /* clockwise hue        */
} GimpGradientSegmentColor;

GIMP_GRADIENT_SEGMENT_RGB

GIMP_GRADIENT_SEGMENT_HSV_CCW

GIMP_GRADIENT_SEGMENT_HSV_CW


enum GimpGradientSegmentType

typedef enum {
  GIMP_GRADIENT_SEGMENT_LINEAR,
  GIMP_GRADIENT_SEGMENT_CURVED,
  GIMP_GRADIENT_SEGMENT_SINE,
  GIMP_GRADIENT_SEGMENT_SPHERE_INCREASING,
  GIMP_GRADIENT_SEGMENT_SPHERE_DECREASING
} GimpGradientSegmentType;

GIMP_GRADIENT_SEGMENT_LINEAR

GIMP_GRADIENT_SEGMENT_CURVED

GIMP_GRADIENT_SEGMENT_SINE

GIMP_GRADIENT_SEGMENT_SPHERE_INCREASING

GIMP_GRADIENT_SEGMENT_SPHERE_DECREASING


enum GimpGravityType

typedef enum {
  GIMP_GRAVITY_NONE,
  GIMP_GRAVITY_NORTH_WEST,
  GIMP_GRAVITY_NORTH,
  GIMP_GRAVITY_NORTH_EAST,
  GIMP_GRAVITY_WEST,
  GIMP_GRAVITY_CENTER,
  GIMP_GRAVITY_EAST,
  GIMP_GRAVITY_SOUTH_WEST,
  GIMP_GRAVITY_SOUTH,
  GIMP_GRAVITY_SOUTH_EAST
} GimpGravityType;

GIMP_GRAVITY_NONE

GIMP_GRAVITY_NORTH_WEST

GIMP_GRAVITY_NORTH

GIMP_GRAVITY_NORTH_EAST

GIMP_GRAVITY_WEST

GIMP_GRAVITY_CENTER

GIMP_GRAVITY_EAST

GIMP_GRAVITY_SOUTH_WEST

GIMP_GRAVITY_SOUTH

GIMP_GRAVITY_SOUTH_EAST


enum GimpImageScaleCheckType

typedef enum {
  GIMP_IMAGE_SCALE_OK,
  GIMP_IMAGE_SCALE_TOO_SMALL,
  GIMP_IMAGE_SCALE_TOO_BIG
} GimpImageScaleCheckType;

GIMP_IMAGE_SCALE_OK

GIMP_IMAGE_SCALE_TOO_SMALL

GIMP_IMAGE_SCALE_TOO_BIG


enum GimpItemSet

typedef enum {
  GIMP_ITEM_SET_NONE,        /*< desc="None"               >*/
  GIMP_ITEM_SET_ALL,         /*< desc="All layers"         >*/
  GIMP_ITEM_SET_IMAGE_SIZED, /*< desc="Image-sized layers" >*/
  GIMP_ITEM_SET_VISIBLE,     /*< desc="All visible layers" >*/
  GIMP_ITEM_SET_LINKED       /*< desc="All linked layers"  >*/
} GimpItemSet;

GIMP_ITEM_SET_NONE

GIMP_ITEM_SET_ALL

GIMP_ITEM_SET_IMAGE_SIZED

GIMP_ITEM_SET_VISIBLE

GIMP_ITEM_SET_LINKED


enum GimpItemTypeMask

typedef enum {
  GIMP_ITEM_TYPE_LAYERS   = 1 << 0,
  GIMP_ITEM_TYPE_CHANNELS = 1 << 1,
  GIMP_ITEM_TYPE_VECTORS  = 1 << 2,

  GIMP_ITEM_TYPE_ALL      = (GIMP_ITEM_TYPE_LAYERS   |
                             GIMP_ITEM_TYPE_CHANNELS |
                             GIMP_ITEM_TYPE_VECTORS)
} GimpItemTypeMask;

GIMP_ITEM_TYPE_LAYERS

GIMP_ITEM_TYPE_CHANNELS

GIMP_ITEM_TYPE_VECTORS

GIMP_ITEM_TYPE_ALL


enum GimpJoinStyle

typedef enum {
  GIMP_JOIN_MITER,  /*< desc="Miter" >*/
  GIMP_JOIN_ROUND,  /*< desc="Round" >*/
  GIMP_JOIN_BEVEL   /*< desc="Bevel" >*/
} GimpJoinStyle;

GIMP_JOIN_MITER

GIMP_JOIN_ROUND

GIMP_JOIN_BEVEL


enum GimpMaskApplyMode

typedef enum {
  GIMP_MASK_APPLY,
  GIMP_MASK_DISCARD
} GimpMaskApplyMode;

GIMP_MASK_APPLY

GIMP_MASK_DISCARD


enum GimpMergeType

typedef enum {
  GIMP_EXPAND_AS_NECESSARY,
  GIMP_CLIP_TO_IMAGE,
  GIMP_CLIP_TO_BOTTOM_LAYER,
  GIMP_FLATTEN_IMAGE
} GimpMergeType;

GIMP_EXPAND_AS_NECESSARY

GIMP_CLIP_TO_IMAGE

GIMP_CLIP_TO_BOTTOM_LAYER

GIMP_FLATTEN_IMAGE


enum GimpMessageSeverity

typedef enum {
  GIMP_MESSAGE_INFO,     /*< desc="Message" >*/
  GIMP_MESSAGE_WARNING,  /*< desc="Warning" >*/
  GIMP_MESSAGE_ERROR     /*< desc="Error"   >*/
} GimpMessageSeverity;

GIMP_MESSAGE_INFO

GIMP_MESSAGE_WARNING

GIMP_MESSAGE_ERROR


enum GimpOffsetType

typedef enum {
  GIMP_OFFSET_BACKGROUND,
  GIMP_OFFSET_TRANSPARENT
} GimpOffsetType;

GIMP_OFFSET_BACKGROUND

GIMP_OFFSET_TRANSPARENT


enum GimpOrientationType

typedef enum {
  GIMP_ORIENTATION_HORIZONTAL, /*< desc="Horizontal" >*/
  GIMP_ORIENTATION_VERTICAL,   /*< desc="Vertical"   >*/
  GIMP_ORIENTATION_UNKNOWN     /*< desc="Unknown"    >*/
} GimpOrientationType;

GIMP_ORIENTATION_HORIZONTAL

GIMP_ORIENTATION_VERTICAL

GIMP_ORIENTATION_UNKNOWN


enum GimpRotationType

typedef enum {
  GIMP_ROTATE_90,
  GIMP_ROTATE_180,
  GIMP_ROTATE_270
} GimpRotationType;

GIMP_ROTATE_90

GIMP_ROTATE_180

GIMP_ROTATE_270


enum GimpSelectCriterion

typedef enum {
  GIMP_SELECT_CRITERION_COMPOSITE,  /*< desc="Composite"  >*/
  GIMP_SELECT_CRITERION_R,          /*< desc="Red"        >*/
  GIMP_SELECT_CRITERION_G,          /*< desc="Green"      >*/
  GIMP_SELECT_CRITERION_B,          /*< desc="Blue"       >*/
  GIMP_SELECT_CRITERION_H,          /*< desc="Hue"        >*/
  GIMP_SELECT_CRITERION_S,          /*< desc="Saturation" >*/
  GIMP_SELECT_CRITERION_V           /*< desc="Value"      >*/
} GimpSelectCriterion;

GIMP_SELECT_CRITERION_COMPOSITE

GIMP_SELECT_CRITERION_R

GIMP_SELECT_CRITERION_G

GIMP_SELECT_CRITERION_B

GIMP_SELECT_CRITERION_H

GIMP_SELECT_CRITERION_S

GIMP_SELECT_CRITERION_V


enum GimpStrokeMethod

typedef enum {
  GIMP_STROKE_METHOD_LIBART,     /*< desc="Stroke line"              >*/
  GIMP_STROKE_METHOD_PAINT_CORE  /*< desc="Stroke with a paint tool" >*/
} GimpStrokeMethod;

GIMP_STROKE_METHOD_LIBART

GIMP_STROKE_METHOD_PAINT_CORE


enum GimpThumbnailSize

typedef enum {
  GIMP_THUMBNAIL_SIZE_NONE    = 0,    /*< desc="No thumbnails"    >*/
  GIMP_THUMBNAIL_SIZE_NORMAL  = 128,  /*< desc="Normal (128x128)" >*/
  GIMP_THUMBNAIL_SIZE_LARGE   = 256   /*< desc="Large (256x256)"  >*/
} GimpThumbnailSize;

GIMP_THUMBNAIL_SIZE_NONE

GIMP_THUMBNAIL_SIZE_NORMAL

GIMP_THUMBNAIL_SIZE_LARGE


enum GimpUndoEvent

typedef enum {
  GIMP_UNDO_EVENT_UNDO_PUSHED,  /* a new undo has been added to the undo stack */
  GIMP_UNDO_EVENT_UNDO_EXPIRED, /* an undo has been freed from the undo stack  */
  GIMP_UNDO_EVENT_REDO_EXPIRED, /* a redo has been freed from the redo stack   */
  GIMP_UNDO_EVENT_UNDO,         /* an undo has been executed                   */
  GIMP_UNDO_EVENT_REDO,         /* a redo has been executed                    */
  GIMP_UNDO_EVENT_UNDO_FREE,    /* all undo and redo info has been cleared     */
  GIMP_UNDO_EVENT_UNDO_FREEZE,  /* undo has been frozen                        */
  GIMP_UNDO_EVENT_UNDO_THAW     /* undo has been thawn                         */
} GimpUndoEvent;

GIMP_UNDO_EVENT_UNDO_PUSHED

GIMP_UNDO_EVENT_UNDO_EXPIRED

GIMP_UNDO_EVENT_REDO_EXPIRED

GIMP_UNDO_EVENT_UNDO

GIMP_UNDO_EVENT_REDO

GIMP_UNDO_EVENT_UNDO_FREE

GIMP_UNDO_EVENT_UNDO_FREEZE

GIMP_UNDO_EVENT_UNDO_THAW


enum GimpUndoMode

typedef enum {
  GIMP_UNDO_MODE_UNDO,
  GIMP_UNDO_MODE_REDO
} GimpUndoMode;

GIMP_UNDO_MODE_UNDO

GIMP_UNDO_MODE_REDO


enum GimpUndoType

typedef enum {
  /* Type NO_UNDO_GROUP (0) is special - in the gimpimage structure it
   * means there is no undo group currently being added to.
   */
  GIMP_UNDO_GROUP_NONE = 0,           /*< desc="<<invalid>>"                 >*/

  GIMP_UNDO_GROUP_FIRST = GIMP_UNDO_GROUP_NONE, /*< skip >*/

  GIMP_UNDO_GROUP_IMAGE_SCALE,        /*< desc="Scale image"                 >*/
  GIMP_UNDO_GROUP_IMAGE_RESIZE,       /*< desc="Resize image"                >*/
  GIMP_UNDO_GROUP_IMAGE_FLIP,         /*< desc="Flip image"                  >*/
  GIMP_UNDO_GROUP_IMAGE_ROTATE,       /*< desc="Rotate image"                >*/
  GIMP_UNDO_GROUP_IMAGE_CROP,         /*< desc="Crop image"                  >*/
  GIMP_UNDO_GROUP_IMAGE_CONVERT,      /*< desc="Convert image"               >*/
  GIMP_UNDO_GROUP_IMAGE_ITEM_REMOVE,  /*< desc="Remove item"                 >*/
  GIMP_UNDO_GROUP_IMAGE_LAYERS_MERGE, /*< desc="Merge layers"                >*/
  GIMP_UNDO_GROUP_IMAGE_VECTORS_MERGE,/*< desc="Merge paths"                 >*/
  GIMP_UNDO_GROUP_IMAGE_QUICK_MASK,   /*< desc="Quick Mask"                  >*/
  GIMP_UNDO_GROUP_IMAGE_GRID,         /*< desc="Grid"                        >*/
  GIMP_UNDO_GROUP_GUIDE,              /*< desc="Guide"                       >*/
  GIMP_UNDO_GROUP_SAMPLE_POINT,       /*< desc="Sample Point"                >*/
  GIMP_UNDO_GROUP_DRAWABLE,           /*< desc="Layer/Channel"               >*/
  GIMP_UNDO_GROUP_DRAWABLE_MOD,       /*< desc="Layer/Channel modification"  >*/
  GIMP_UNDO_GROUP_MASK,               /*< desc="Selection mask"              >*/
  GIMP_UNDO_GROUP_ITEM_VISIBILITY,    /*< desc="Item visibility"             >*/
  GIMP_UNDO_GROUP_ITEM_LINKED,        /*< desc="Link/Unlink item"            >*/
  GIMP_UNDO_GROUP_ITEM_PROPERTIES,    /*< desc="Item properties"             >*/
  GIMP_UNDO_GROUP_ITEM_DISPLACE,      /*< desc="Move item"                   >*/
  GIMP_UNDO_GROUP_ITEM_SCALE,         /*< desc="Scale item"                  >*/
  GIMP_UNDO_GROUP_ITEM_RESIZE,        /*< desc="Resize item"                 >*/
  GIMP_UNDO_GROUP_LAYER_ADD,          /*< desc="Add layer"                   >*/
  GIMP_UNDO_GROUP_LAYER_ADD_MASK,     /*< desc="Add layer mask"              >*/
  GIMP_UNDO_GROUP_LAYER_APPLY_MASK,   /*< desc="Apply layer mask"            >*/
  GIMP_UNDO_GROUP_FS_TO_LAYER,        /*< desc="Floating selection to layer" >*/
  GIMP_UNDO_GROUP_FS_FLOAT,           /*< desc="Float selection"             >*/
  GIMP_UNDO_GROUP_FS_ANCHOR,          /*< desc="Anchor floating selection"   >*/
  GIMP_UNDO_GROUP_EDIT_PASTE,         /*< desc="Paste"                       >*/
  GIMP_UNDO_GROUP_EDIT_CUT,           /*< desc="Cut"                         >*/
  GIMP_UNDO_GROUP_TEXT,               /*< desc="Text"                        >*/
  GIMP_UNDO_GROUP_TRANSFORM,          /*< desc="Transform"                   >*/
  GIMP_UNDO_GROUP_PAINT,              /*< desc="Paint"                       >*/
  GIMP_UNDO_GROUP_PARASITE_ATTACH,    /*< desc="Attach parasite"             >*/
  GIMP_UNDO_GROUP_PARASITE_REMOVE,    /*< desc="Remove parasite"             >*/
  GIMP_UNDO_GROUP_VECTORS_IMPORT,     /*< desc="Import paths"                >*/
  GIMP_UNDO_GROUP_MISC,               /*< desc="Plug-In"                     >*/

  GIMP_UNDO_GROUP_LAST = GIMP_UNDO_GROUP_MISC, /*< skip >*/

  /*  Undo types which actually do something  */

  GIMP_UNDO_IMAGE_TYPE,               /*< desc="Image type"                  >*/
  GIMP_UNDO_IMAGE_SIZE,               /*< desc="Image size"                  >*/
  GIMP_UNDO_IMAGE_RESOLUTION,         /*< desc="Image resolution change"     >*/
  GIMP_UNDO_IMAGE_GRID,               /*< desc="Grid"                        >*/
  GIMP_UNDO_IMAGE_COLORMAP,           /*< desc="Change indexed palette"      >*/
  GIMP_UNDO_GUIDE,                    /*< desc="Guide"                       >*/
  GIMP_UNDO_SAMPLE_POINT,             /*< desc="Sample Point"                >*/
  GIMP_UNDO_DRAWABLE,                 /*< desc="Layer/Channel"               >*/
  GIMP_UNDO_DRAWABLE_MOD,             /*< desc="Layer/Channel modification"  >*/
  GIMP_UNDO_MASK,                     /*< desc="Selection mask"              >*/
  GIMP_UNDO_ITEM_REORDER,             /*< desc="Reorder item"                >*/
  GIMP_UNDO_ITEM_RENAME,              /*< desc="Rename item"                 >*/
  GIMP_UNDO_ITEM_DISPLACE,            /*< desc="Move item"                   >*/
  GIMP_UNDO_ITEM_VISIBILITY,          /*< desc="Item visibility"             >*/
  GIMP_UNDO_ITEM_LINKED,              /*< desc="Link/Unlink item"            >*/
  GIMP_UNDO_LAYER_ADD,                /*< desc="New layer"                   >*/
  GIMP_UNDO_LAYER_REMOVE,             /*< desc="Delete layer"                >*/
  GIMP_UNDO_LAYER_MODE,               /*< desc="Set layer mode"              >*/
  GIMP_UNDO_LAYER_OPACITY,            /*< desc="Set layer opacity"           >*/
  GIMP_UNDO_LAYER_LOCK_ALPHA,         /*< desc="Lock/Unlock alpha channel"   >*/
  GIMP_UNDO_GROUP_LAYER_SUSPEND,      /*< desc="Suspend group layer resize"  >*/
  GIMP_UNDO_GROUP_LAYER_RESUME,       /*< desc="Resume group layer resize"   >*/
  GIMP_UNDO_GROUP_LAYER_CONVERT,      /*< desc="Convert group layer"         >*/
  GIMP_UNDO_TEXT_LAYER,               /*< desc="Text layer"                  >*/
  GIMP_UNDO_TEXT_LAYER_MODIFIED,      /*< desc="Text layer modification"     >*/
  GIMP_UNDO_LAYER_MASK_ADD,           /*< desc="Add layer mask"              >*/
  GIMP_UNDO_LAYER_MASK_REMOVE,        /*< desc="Delete layer mask"           >*/
  GIMP_UNDO_LAYER_MASK_APPLY,         /*< desc="Apply layer mask"            >*/
  GIMP_UNDO_LAYER_MASK_SHOW,          /*< desc="Show layer mask"             >*/
  GIMP_UNDO_CHANNEL_ADD,              /*< desc="New channel"                 >*/
  GIMP_UNDO_CHANNEL_REMOVE,           /*< desc="Delete channel"              >*/
  GIMP_UNDO_CHANNEL_COLOR,            /*< desc="Channel color"               >*/
  GIMP_UNDO_VECTORS_ADD,              /*< desc="New path"                    >*/
  GIMP_UNDO_VECTORS_REMOVE,           /*< desc="Delete path"                 >*/
  GIMP_UNDO_VECTORS_MOD,              /*< desc="Path modification"           >*/
  GIMP_UNDO_FS_TO_LAYER,              /*< desc="Floating selection to layer" >*/
  GIMP_UNDO_TRANSFORM,                /*< desc="Transform"                   >*/
  GIMP_UNDO_PAINT,                    /*< desc="Paint"                       >*/
  GIMP_UNDO_INK,                      /*< desc="Ink"                         >*/
  GIMP_UNDO_FOREGROUND_SELECT,        /*< desc="Select foreground"           >*/
  GIMP_UNDO_PARASITE_ATTACH,          /*< desc="Attach parasite"             >*/
  GIMP_UNDO_PARASITE_REMOVE,          /*< desc="Remove parasite"             >*/

  GIMP_UNDO_CANT                      /*< desc="Not undoable"                >*/
} GimpUndoType;

GIMP_UNDO_GROUP_NONE

GIMP_UNDO_GROUP_FIRST

GIMP_UNDO_GROUP_IMAGE_SCALE

GIMP_UNDO_GROUP_IMAGE_RESIZE

GIMP_UNDO_GROUP_IMAGE_FLIP

GIMP_UNDO_GROUP_IMAGE_ROTATE

GIMP_UNDO_GROUP_IMAGE_CROP

GIMP_UNDO_GROUP_IMAGE_CONVERT

GIMP_UNDO_GROUP_IMAGE_ITEM_REMOVE

GIMP_UNDO_GROUP_IMAGE_LAYERS_MERGE

GIMP_UNDO_GROUP_IMAGE_VECTORS_MERGE

GIMP_UNDO_GROUP_IMAGE_QUICK_MASK

GIMP_UNDO_GROUP_IMAGE_GRID

GIMP_UNDO_GROUP_GUIDE

GIMP_UNDO_GROUP_SAMPLE_POINT

GIMP_UNDO_GROUP_DRAWABLE

GIMP_UNDO_GROUP_DRAWABLE_MOD

GIMP_UNDO_GROUP_MASK

GIMP_UNDO_GROUP_ITEM_VISIBILITY

GIMP_UNDO_GROUP_ITEM_LINKED

GIMP_UNDO_GROUP_ITEM_PROPERTIES

GIMP_UNDO_GROUP_ITEM_DISPLACE

GIMP_UNDO_GROUP_ITEM_SCALE

GIMP_UNDO_GROUP_ITEM_RESIZE

GIMP_UNDO_GROUP_LAYER_ADD

GIMP_UNDO_GROUP_LAYER_ADD_MASK

GIMP_UNDO_GROUP_LAYER_APPLY_MASK

GIMP_UNDO_GROUP_FS_TO_LAYER

GIMP_UNDO_GROUP_FS_FLOAT

GIMP_UNDO_GROUP_FS_ANCHOR

GIMP_UNDO_GROUP_EDIT_PASTE

GIMP_UNDO_GROUP_EDIT_CUT

GIMP_UNDO_GROUP_TEXT

GIMP_UNDO_GROUP_TRANSFORM

GIMP_UNDO_GROUP_PAINT

GIMP_UNDO_GROUP_PARASITE_ATTACH

GIMP_UNDO_GROUP_PARASITE_REMOVE

GIMP_UNDO_GROUP_VECTORS_IMPORT

GIMP_UNDO_GROUP_MISC

GIMP_UNDO_GROUP_LAST

GIMP_UNDO_IMAGE_TYPE

GIMP_UNDO_IMAGE_SIZE

GIMP_UNDO_IMAGE_RESOLUTION

GIMP_UNDO_IMAGE_GRID

GIMP_UNDO_IMAGE_COLORMAP

GIMP_UNDO_GUIDE

GIMP_UNDO_SAMPLE_POINT

GIMP_UNDO_DRAWABLE

GIMP_UNDO_DRAWABLE_MOD

GIMP_UNDO_MASK

GIMP_UNDO_ITEM_REORDER

GIMP_UNDO_ITEM_RENAME

GIMP_UNDO_ITEM_DISPLACE

GIMP_UNDO_ITEM_VISIBILITY

GIMP_UNDO_ITEM_LINKED

GIMP_UNDO_LAYER_ADD

GIMP_UNDO_LAYER_REMOVE

GIMP_UNDO_LAYER_MODE

GIMP_UNDO_LAYER_OPACITY

GIMP_UNDO_LAYER_LOCK_ALPHA

GIMP_UNDO_GROUP_LAYER_SUSPEND

GIMP_UNDO_GROUP_LAYER_RESUME

GIMP_UNDO_GROUP_LAYER_CONVERT

GIMP_UNDO_TEXT_LAYER

GIMP_UNDO_TEXT_LAYER_MODIFIED

GIMP_UNDO_LAYER_MASK_ADD

GIMP_UNDO_LAYER_MASK_REMOVE

GIMP_UNDO_LAYER_MASK_APPLY

GIMP_UNDO_LAYER_MASK_SHOW

GIMP_UNDO_CHANNEL_ADD

GIMP_UNDO_CHANNEL_REMOVE

GIMP_UNDO_CHANNEL_COLOR

GIMP_UNDO_VECTORS_ADD

GIMP_UNDO_VECTORS_REMOVE

GIMP_UNDO_VECTORS_MOD

GIMP_UNDO_FS_TO_LAYER

GIMP_UNDO_TRANSFORM

GIMP_UNDO_PAINT

GIMP_UNDO_INK

GIMP_UNDO_FOREGROUND_SELECT

GIMP_UNDO_PARASITE_ATTACH

GIMP_UNDO_PARASITE_REMOVE

GIMP_UNDO_CANT


enum GimpViewSize

typedef enum {
  GIMP_VIEW_SIZE_TINY        = 12,   /*< desc="Tiny"        >*/
  GIMP_VIEW_SIZE_EXTRA_SMALL = 16,   /*< desc="Very small"  >*/
  GIMP_VIEW_SIZE_SMALL       = 24,   /*< desc="Small"       >*/
  GIMP_VIEW_SIZE_MEDIUM      = 32,   /*< desc="Medium"      >*/
  GIMP_VIEW_SIZE_LARGE       = 48,   /*< desc="Large"       >*/
  GIMP_VIEW_SIZE_EXTRA_LARGE = 64,   /*< desc="Very large"  >*/
  GIMP_VIEW_SIZE_HUGE        = 96,   /*< desc="Huge"        >*/
  GIMP_VIEW_SIZE_ENORMOUS    = 128,  /*< desc="Enormous"    >*/
  GIMP_VIEW_SIZE_GIGANTIC    = 192   /*< desc="Gigantic"    >*/
} GimpViewSize;

GIMP_VIEW_SIZE_TINY

GIMP_VIEW_SIZE_EXTRA_SMALL

GIMP_VIEW_SIZE_SMALL

GIMP_VIEW_SIZE_MEDIUM

GIMP_VIEW_SIZE_LARGE

GIMP_VIEW_SIZE_EXTRA_LARGE

GIMP_VIEW_SIZE_HUGE

GIMP_VIEW_SIZE_ENORMOUS

GIMP_VIEW_SIZE_GIGANTIC


enum GimpViewType

typedef enum {
  GIMP_VIEW_TYPE_LIST,  /*< desc="View as list" >*/
  GIMP_VIEW_TYPE_GRID   /*< desc="View as grid" >*/
} GimpViewType;

GIMP_VIEW_TYPE_LIST

GIMP_VIEW_TYPE_GRID