GIMP Library Reference Manual | ||||
---|---|---|---|---|
Top | Description |
void gimp_enums_init (void
); enum GimpBrushApplicationMode; enum GimpBrushGeneratedShape; enum GimpConvertDitherType; enum GimpConvertPaletteType; enum GimpConvolutionType; enum GimpConvolveType; enum GimpFillType; enum GimpGradientSegmentColor; enum GimpGradientSegmentType; enum GimpHistogramChannel; enum GimpHueRange; enum GimpInkBlobType; enum GimpLayerModeEffects; enum GimpMaskApplyMode; enum GimpMergeType; enum GimpOffsetType; enum GimpOrientationType; enum GimpRotationType; enum GimpSelectCriterion; const gchar ** gimp_enums_get_type_names (gint *n_type_names
);
void gimp_enums_init (void
);
This function makes sure all the enum types are registered with the GType system. This is intended for use by language bindings that need the symbols early, before gimp_main is run. It's not necessary for plug-ins to call this directly, because the normal plug-in initialization code will handle it implicitly.
Since GIMP 2.4
typedef enum { GIMP_BRUSH_HARD, GIMP_BRUSH_SOFT } GimpBrushApplicationMode;
typedef enum { GIMP_BRUSH_GENERATED_CIRCLE, GIMP_BRUSH_GENERATED_SQUARE, GIMP_BRUSH_GENERATED_DIAMOND } GimpBrushGeneratedShape;
The possible shapes generated brushes can take.
typedef enum { GIMP_NO_DITHER, GIMP_FS_DITHER, GIMP_FSLOWBLEED_DITHER, GIMP_FIXED_DITHER } GimpConvertDitherType;
typedef enum { GIMP_MAKE_PALETTE, GIMP_REUSE_PALETTE, GIMP_WEB_PALETTE, GIMP_MONO_PALETTE, GIMP_CUSTOM_PALETTE } GimpConvertPaletteType;
typedef enum { GIMP_NORMAL_CONVOL, GIMP_ABSOLUTE_CONVOL, GIMP_NEGATIVE_CONVOL } GimpConvolutionType;
typedef enum { GIMP_BLUR_CONVOLVE, GIMP_SHARPEN_CONVOLVE } GimpConvolveType;
Operation modes of the convolve tool.
typedef enum { GIMP_FOREGROUND_FILL, GIMP_BACKGROUND_FILL, GIMP_WHITE_FILL, GIMP_TRANSPARENT_FILL, GIMP_PATTERN_FILL } GimpFillType;
typedef enum { GIMP_GRADIENT_SEGMENT_RGB, GIMP_GRADIENT_SEGMENT_HSV_CCW, GIMP_GRADIENT_SEGMENT_HSV_CW } GimpGradientSegmentColor;
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;
typedef enum { GIMP_HISTOGRAM_VALUE, GIMP_HISTOGRAM_RED, GIMP_HISTOGRAM_GREEN, GIMP_HISTOGRAM_BLUE, GIMP_HISTOGRAM_ALPHA } GimpHistogramChannel;
typedef enum { GIMP_ALL_HUES, GIMP_RED_HUES, GIMP_YELLOW_HUES, GIMP_GREEN_HUES, GIMP_CYAN_HUES, GIMP_BLUE_HUES, GIMP_MAGENTA_HUES } GimpHueRange;
typedef enum { GIMP_INK_BLOB_TYPE_CIRCLE, GIMP_INK_BLOB_TYPE_SQUARE, GIMP_INK_BLOB_TYPE_DIAMOND } GimpInkBlobType;
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, GIMP_SOFTLIGHT_MODE, GIMP_GRAIN_EXTRACT_MODE, GIMP_GRAIN_MERGE_MODE, GIMP_COLOR_ERASE_MODE } GimpLayerModeEffects;
typedef enum { GIMP_EXPAND_AS_NECESSARY, GIMP_CLIP_TO_IMAGE, GIMP_CLIP_TO_BOTTOM_LAYER, GIMP_FLATTEN_IMAGE } GimpMergeType;
typedef enum { GIMP_OFFSET_BACKGROUND, GIMP_OFFSET_TRANSPARENT } GimpOffsetType;
typedef enum { GIMP_ORIENTATION_HORIZONTAL, GIMP_ORIENTATION_VERTICAL, GIMP_ORIENTATION_UNKNOWN } GimpOrientationType;
Orientation values for all kinds of purposes, like guides.
typedef enum { GIMP_ROTATE_90, GIMP_ROTATE_180, GIMP_ROTATE_270 } GimpRotationType;
Steps for simple rotation based on multpiles of 90 degrees.
typedef enum { 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 } GimpSelectCriterion;
const gchar ** gimp_enums_get_type_names (gint *n_type_names
);
This function gives access to the list of enums registered by libgimp. The returned array is static and must not be modified.
|
return location for the number of names |
Returns : |
an array with type names |
Since GIMP 2.2