base-enums

base-enums

Synopsis

#define             GIMP_TYPE_CURVE_TYPE
enum                GimpCurveType;
#define             GIMP_TYPE_HISTOGRAM_CHANNEL
enum                GimpHistogramChannel;
#define             GIMP_TYPE_LAYER_MODE_EFFECTS
enum                GimpLayerModeEffects;
#define             GIMP_TYPE_HUE_RANGE
enum                GimpHueRange;
enum                GimpConvolutionType;
enum                SioxRefinementType;

Description

Details

GIMP_TYPE_CURVE_TYPE

#define GIMP_TYPE_CURVE_TYPE (gimp_curve_type_get_type ())


enum GimpCurveType

typedef enum {
  GIMP_CURVE_SMOOTH,   /*< desc="Smooth"   >*/
  GIMP_CURVE_FREE      /*< desc="Freehand" >*/
} GimpCurveType;

GIMP_CURVE_SMOOTH

GIMP_CURVE_FREE


GIMP_TYPE_HISTOGRAM_CHANNEL

#define GIMP_TYPE_HISTOGRAM_CHANNEL (gimp_histogram_channel_get_type ())


enum GimpHistogramChannel

typedef enum {
  GIMP_HISTOGRAM_VALUE = 0,  /*< desc="Value" >*/
  GIMP_HISTOGRAM_RED   = 1,  /*< desc="Red"   >*/
  GIMP_HISTOGRAM_GREEN = 2,  /*< desc="Green" >*/
  GIMP_HISTOGRAM_BLUE  = 3,  /*< desc="Blue"  >*/
  GIMP_HISTOGRAM_ALPHA = 4,  /*< desc="Alpha" >*/
  GIMP_HISTOGRAM_RGB   = 5   /*< desc="RGB", pdb-skip >*/
} GimpHistogramChannel;

GIMP_HISTOGRAM_VALUE

GIMP_HISTOGRAM_RED

GIMP_HISTOGRAM_GREEN

GIMP_HISTOGRAM_BLUE

GIMP_HISTOGRAM_ALPHA

GIMP_HISTOGRAM_RGB


GIMP_TYPE_LAYER_MODE_EFFECTS

#define GIMP_TYPE_LAYER_MODE_EFFECTS (gimp_layer_mode_effects_get_type ())


enum GimpLayerModeEffects

typedef enum {
  GIMP_NORMAL_MODE,          /*< desc="Normal"               >*/
  GIMP_DISSOLVE_MODE,        /*< desc="Dissolve"             >*/
  GIMP_BEHIND_MODE,          /*< desc="Behind"               >*/
  GIMP_MULTIPLY_MODE,        /*< desc="Multiply"             >*/
  GIMP_SCREEN_MODE,          /*< desc="Screen"               >*/
  GIMP_OVERLAY_MODE,         /*< desc="Overlay"              >*/
  GIMP_DIFFERENCE_MODE,      /*< desc="Difference"           >*/
  GIMP_ADDITION_MODE,        /*< desc="Addition"             >*/
  GIMP_SUBTRACT_MODE,        /*< desc="Subtract"             >*/
  GIMP_DARKEN_ONLY_MODE,     /*< desc="Darken only"          >*/
  GIMP_LIGHTEN_ONLY_MODE,    /*< desc="Lighten only"         >*/
  GIMP_HUE_MODE,             /*< desc="Hue"                  >*/
  GIMP_SATURATION_MODE,      /*< desc="Saturation"           >*/
  GIMP_COLOR_MODE,           /*< desc="Color"                >*/
  GIMP_VALUE_MODE,           /*< desc="Value"                >*/
  GIMP_DIVIDE_MODE,          /*< desc="Divide"               >*/
  GIMP_DODGE_MODE,           /*< desc="Dodge"                >*/
  GIMP_BURN_MODE,            /*< desc="Burn"                 >*/
  GIMP_HARDLIGHT_MODE,       /*< desc="Hard light"           >*/
  GIMP_SOFTLIGHT_MODE,       /*< desc="Soft light"           >*/
  GIMP_GRAIN_EXTRACT_MODE,   /*< desc="Grain extract"        >*/
  GIMP_GRAIN_MERGE_MODE,     /*< desc="Grain merge"          >*/
  GIMP_COLOR_ERASE_MODE,     /*< desc="Color erase"          >*/
  GIMP_ERASE_MODE,           /*< pdb-skip, desc="Erase"      >*/
  GIMP_REPLACE_MODE,         /*< pdb-skip, desc="Replace"    >*/
  GIMP_ANTI_ERASE_MODE       /*< pdb-skip, desc="Anti erase" >*/
} GimpLayerModeEffects;

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

GIMP_SOFTLIGHT_MODE

GIMP_GRAIN_EXTRACT_MODE

GIMP_GRAIN_MERGE_MODE

GIMP_COLOR_ERASE_MODE

GIMP_ERASE_MODE

GIMP_REPLACE_MODE

GIMP_ANTI_ERASE_MODE


GIMP_TYPE_HUE_RANGE

#define GIMP_TYPE_HUE_RANGE (gimp_hue_range_get_type ())


enum GimpHueRange

typedef enum {
  GIMP_ALL_HUES,
  GIMP_RED_HUES,
  GIMP_YELLOW_HUES,
  GIMP_GREEN_HUES,
  GIMP_CYAN_HUES,
  GIMP_BLUE_HUES,
  GIMP_MAGENTA_HUES
} GimpHueRange;

GIMP_ALL_HUES

GIMP_RED_HUES

GIMP_YELLOW_HUES

GIMP_GREEN_HUES

GIMP_CYAN_HUES

GIMP_BLUE_HUES

GIMP_MAGENTA_HUES


enum GimpConvolutionType

typedef enum {
  GIMP_NORMAL_CONVOL,      /*  Negative numbers truncated  */
  GIMP_ABSOLUTE_CONVOL,    /*  Absolute value              */
  GIMP_NEGATIVE_CONVOL     /*  add 127 to values           */
} GimpConvolutionType;

GIMP_NORMAL_CONVOL

GIMP_ABSOLUTE_CONVOL

GIMP_NEGATIVE_CONVOL


enum SioxRefinementType

typedef enum {
  SIOX_REFINEMENT_NO_CHANGE          = 0,
  SIOX_REFINEMENT_ADD_FOREGROUND     = (1 << 0),
  SIOX_REFINEMENT_ADD_BACKGROUND     = (1 << 1),
  SIOX_REFINEMENT_CHANGE_SENSITIVITY = (1 << 2),
  SIOX_REFINEMENT_CHANGE_SMOOTHNESS  = (1 << 3),
  SIOX_REFINEMENT_CHANGE_MULTIBLOB   = (1 << 4),
  SIOX_REFINEMENT_RECALCULATE        = 0xFF
} SioxRefinementType;

SIOX_REFINEMENT_NO_CHANGE

SIOX_REFINEMENT_ADD_FOREGROUND

SIOX_REFINEMENT_ADD_BACKGROUND

SIOX_REFINEMENT_CHANGE_SENSITIVITY

SIOX_REFINEMENT_CHANGE_SMOOTHNESS

SIOX_REFINEMENT_CHANGE_MULTIBLOB

SIOX_REFINEMENT_RECALCULATE