tools-enums

tools-enums

Synopsis

enum                GimpButtonPressType;
enum                GimpButtonReleaseType;
enum                GimpMotionMode;
enum                GimpRectSelectMode;
enum                GimpRectangleConstraint;
enum                GimpRectanglePrecision;
enum                GimpRectangleToolFixedRule;
enum                GimpToolAction;
enum                GimpTransformType;
enum                GimpTranslateMode;
enum                GimpVectorMode;
enum                SelectFunction;

Description

Details

enum GimpButtonPressType

typedef enum {
  GIMP_BUTTON_PRESS_NORMAL,
  GIMP_BUTTON_PRESS_DOUBLE,
  GIMP_BUTTON_PRESS_TRIPLE
} GimpButtonPressType;

GIMP_BUTTON_PRESS_NORMAL

GIMP_BUTTON_PRESS_DOUBLE

GIMP_BUTTON_PRESS_TRIPLE


enum GimpButtonReleaseType

typedef enum {
  GIMP_BUTTON_RELEASE_NORMAL,
  GIMP_BUTTON_RELEASE_CANCEL,
  GIMP_BUTTON_RELEASE_CLICK,
  GIMP_BUTTON_RELEASE_NO_MOTION
} GimpButtonReleaseType;

GIMP_BUTTON_RELEASE_NORMAL

GIMP_BUTTON_RELEASE_CANCEL

GIMP_BUTTON_RELEASE_CLICK

GIMP_BUTTON_RELEASE_NO_MOTION


enum GimpMotionMode

typedef enum {
  GIMP_MOTION_MODE_EXACT,
  GIMP_MOTION_MODE_COMPRESS
} GimpMotionMode;

GIMP_MOTION_MODE_EXACT

GIMP_MOTION_MODE_COMPRESS


enum GimpRectSelectMode

typedef enum {
  GIMP_RECT_SELECT_MODE_FREE,        /*< desc="Free select"        >*/
  GIMP_RECT_SELECT_MODE_FIXED_SIZE,  /*< desc="Fixed size"         >*/
  GIMP_RECT_SELECT_MODE_FIXED_RATIO  /*< desc="Fixed aspect ratio" >*/
} GimpRectSelectMode;

GIMP_RECT_SELECT_MODE_FREE

GIMP_RECT_SELECT_MODE_FIXED_SIZE

GIMP_RECT_SELECT_MODE_FIXED_RATIO


enum GimpRectangleConstraint

typedef enum {
  GIMP_RECTANGLE_CONSTRAIN_NONE,
  GIMP_RECTANGLE_CONSTRAIN_IMAGE,
  GIMP_RECTANGLE_CONSTRAIN_DRAWABLE
} GimpRectangleConstraint;

GIMP_RECTANGLE_CONSTRAIN_NONE

GIMP_RECTANGLE_CONSTRAIN_IMAGE

GIMP_RECTANGLE_CONSTRAIN_DRAWABLE


enum GimpRectanglePrecision

typedef enum {
  GIMP_RECTANGLE_PRECISION_INT,
  GIMP_RECTANGLE_PRECISION_DOUBLE,
} GimpRectanglePrecision;

GIMP_RECTANGLE_PRECISION_INT

GIMP_RECTANGLE_PRECISION_DOUBLE


enum GimpRectangleToolFixedRule

typedef enum {
  GIMP_RECTANGLE_TOOL_FIXED_ASPECT, /*< desc="Aspect ratio" >*/
  GIMP_RECTANGLE_TOOL_FIXED_WIDTH,  /*< desc="Width"        >*/
  GIMP_RECTANGLE_TOOL_FIXED_HEIGHT, /*< desc="Height"       >*/
  GIMP_RECTANGLE_TOOL_FIXED_SIZE,   /*< desc="Size"         >*/
} GimpRectangleToolFixedRule;

GIMP_RECTANGLE_TOOL_FIXED_ASPECT

GIMP_RECTANGLE_TOOL_FIXED_WIDTH

GIMP_RECTANGLE_TOOL_FIXED_HEIGHT

GIMP_RECTANGLE_TOOL_FIXED_SIZE


enum GimpToolAction

typedef enum {
  GIMP_TOOL_ACTION_PAUSE,
  GIMP_TOOL_ACTION_RESUME,
  GIMP_TOOL_ACTION_HALT
} GimpToolAction;

GIMP_TOOL_ACTION_PAUSE

GIMP_TOOL_ACTION_RESUME

GIMP_TOOL_ACTION_HALT


enum GimpTransformType

typedef enum {
  GIMP_TRANSFORM_TYPE_LAYER,     /*< desc="Layer"     >*/
  GIMP_TRANSFORM_TYPE_SELECTION, /*< desc="Selection" >*/
  GIMP_TRANSFORM_TYPE_PATH       /*< desc="Path"      >*/
} GimpTransformType;

GIMP_TRANSFORM_TYPE_LAYER

GIMP_TRANSFORM_TYPE_SELECTION

GIMP_TRANSFORM_TYPE_PATH


enum GimpTranslateMode

typedef enum {
  GIMP_TRANSLATE_MODE_VECTORS,
  GIMP_TRANSLATE_MODE_CHANNEL,
  GIMP_TRANSLATE_MODE_LAYER_MASK,
  GIMP_TRANSLATE_MODE_MASK,
  GIMP_TRANSLATE_MODE_MASK_TO_LAYER,
  GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER,
  GIMP_TRANSLATE_MODE_LAYER,
  GIMP_TRANSLATE_MODE_FLOATING_SEL
} GimpTranslateMode;

GIMP_TRANSLATE_MODE_VECTORS

GIMP_TRANSLATE_MODE_CHANNEL

GIMP_TRANSLATE_MODE_LAYER_MASK

GIMP_TRANSLATE_MODE_MASK

GIMP_TRANSLATE_MODE_MASK_TO_LAYER

GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER

GIMP_TRANSLATE_MODE_LAYER

GIMP_TRANSLATE_MODE_FLOATING_SEL


enum GimpVectorMode

typedef enum {
  GIMP_VECTOR_MODE_DESIGN,      /*< desc="Design" >*/
  GIMP_VECTOR_MODE_EDIT,        /*< desc="Edit"   >*/
  GIMP_VECTOR_MODE_MOVE         /*< desc="Move"   >*/
} GimpVectorMode;

GIMP_VECTOR_MODE_DESIGN

GIMP_VECTOR_MODE_EDIT

GIMP_VECTOR_MODE_MOVE


enum SelectFunction

typedef enum {
  SELECTION_SELECT,
  SELECTION_MOVE_MASK,
  SELECTION_MOVE,
  SELECTION_MOVE_COPY,
  SELECTION_ANCHOR
} SelectFunction;

SELECTION_SELECT

SELECTION_MOVE_MASK

SELECTION_MOVE

SELECTION_MOVE_COPY

SELECTION_ANCHOR