GIMP Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# gimpcompat

## Name

gimpcompat -- Compatibility definitions for older plug-ins.

## Synopsis

    typedef     GFillType;
    typedef     GImageType;
    typedef     GDrawableType;
    typedef     GLayerMode;
    typedef     GRunModeType;
    typedef     GOrientation;
    typedef     GParamType;
    typedef     GProcedureType;
    typedef     GStatusType;
    #define     PARAM_INT32
    #define     PARAM_INT16
    #define     PARAM_INT8
    #define     PARAM_FLOAT
    #define     PARAM_STRING
    #define     PARAM_INT32ARRAY
    #define     PARAM_INT16ARRAY
    #define     PARAM_INT8ARRAY
    #define     PARAM_FLOATARRAY
    #define     PARAM_STRINGARRAY
    #define     PARAM_COLOR
    #define     PARAM_REGION
    #define     PARAM_DISPLAY
    #define     PARAM_IMAGE
    #define     PARAM_LAYER
    #define     PARAM_CHANNEL
    #define     PARAM_DRAWABLE
    #define     PARAM_SELECTION
    #define     PARAM_BOUNDARY
    #define     PARAM_PATH
    #define     PARAM_PARASITE
    #define     PARAM_STATUS
    #define     PARAM_END
    #define     STATUS_EXECUTION_ERROR
    #define     STATUS_CALLING_ERROR
    #define     STATUS_PASS_THROUGH
    #define     STATUS_SUCCESS
    #define     STATUS_CANCEL
    #define     PROC_INTERNAL
    #define     PROC_PLUG_IN
    #define     PROC_EXTENSION
    #define     PROC_TEMPORARY
    #define     ORIENTATION_HORIZONTAL
    #define     ORIENTATION_VERTICAL
    #define     ORIENTATION_UNKNOWN
    #define     FG_IMAGE_FILL
    #define     BG_IMAGE_FILL
    #define     WHITE_IMAGE_FILL
    #define     TRANS_IMAGE_FILL
    #define     NO_IMAGE_FILL
    #define     RGB
    #define     GRAY
    #define     INDEXED
    #define     RGB_IMAGE
    #define     RGBA_IMAGE
    #define     GRAY_IMAGE
    #define     GRAYA_IMAGE
    #define     INDEXED_IMAGE
    #define     INDEXEDA_IMAGE
    #define     NORMAL_MODE
    #define     DISSOLVE_MODE
    #define     BEHIND_MODE
    #define     MULTIPLY_MODE
    #define     SCREEN_MODE
    #define     OVERLAY_MODE
    #define     DIFFERENCE_MODE
    #define     ADDITION_MODE
    #define     SUBTRACT_MODE
    #define     DARKEN_ONLY_MODE
    #define     LIGHTEN_ONLY_MODE
    #define     HUE_MODE
    #define     SATURATION_MODE
    #define     COLOR_MODE
    #define     VALUE_MODE
    #define     DIVIDE_MODE
    #define     RUN_INTERACTIVE
    #define     RUN_NONINTERACTIVE
    #define     RUN_WITH_LAST_VALS
    #define     gimp_attach_parasite
    #define     gimp_detach_parasite
    #define     gimp_find_parasite
    #define     gimp_image_attach_parasite
    #define     gimp_image_detach_parasite
    #define     gimp_image_find_parasite
    #define     gimp_drawable_attach_parasite
    #define     gimp_drawable_detach_parasite
    #define     gimp_drawable_find_parasite
    #define     gimp_drawable_channel
    #define     gimp_drawable_gray
    #define     gimp_drawable_color
    #define     gimp_drawable_indexed
    #define     gimp_drawable_layer
    #define     gimp_drawable_layer_mask
    #define     gimp_image_disable_undo
    #define     gimp_image_enable_undo
    #define     gimp_image_freeze_undo
    #define     gimp_image_thaw_undo
    #define     gimp_channel_width
    #define     gimp_channel_height
    #define     gimp_channel_get_image_ID
    #define     gimp_channel_get_layer_ID
    #define     gimp_layer_width
    #define     gimp_layer_height
    #define     gimp_layer_bpp
    #define     gimp_layer_type
    #define     gimp_gradient_get_gradient_data
    #define     gimp_plugin_help_func
    #define     gimp_query_database
    #define     gimp_query_images
    #define     Parasite
    #define     PARASITE_PERSISTENT
    #define     PARASITE_UNDOABLE
    #define     PARASITE_ATTACH_PARENT
    #define     PARASITE_PARENT_PERSISTENT
    #define     PARASITE_PARENT_UNDOABLE
    #define     PARASITE_ATTACH_GRANDPARENT
    #define     PARASITE_GRANDPARENT_PERSISTENT
    #define     PARASITE_GRANDPARENT_UNDOABLE
    #define     parasite_new
    #define     parasite_free
    #define     parasite_copy
    #define     parasite_compare
    #define     parasite_is_type
    #define     parasite_is_persistent
    #define     parasite_is_undoable
    #define     parasite_has_flag
    #define     parasite_flags
    #define     parasite_name
    #define     parasite_data
    #define     parasite_data_size
    #define     PIXPIPE_MAXDIM
    #define     PixPipeParams
    #define     pixpipeparams_init
    #define     pixpipeparams_parse
    #define     pixpipeparams_build
    #define     GPlugInInfo
    #define     GTile
    #define     GDrawable
    #define     GPixelRgn
    #define     GParamColor
    #define     GParamRegion
    #define     GParamData
    #define     GParamDef
    #define     GParam
    #define     CAN_HANDLE_INDEXED
    #define     EXPORT_IGNORE
    #define     CAN_HANDLE_RGB
    #define     CAN_HANDLE_ALPHA
    #define     EXPORT_CANCEL
    #define     CAN_HANDLE_LAYERS_AS_ANIMATION
    #define     CAN_HANDLE_GRAY
    #define     NEEDS_ALPHA
    #define     EXPORT_EXPORT
    #define     CAN_HANDLE_LAYERS

## Description

Compatibility definitions for older plug-ins. You have to define GIMP_ENABLE_COMPAT_CRUFT before including gimp.h to use these definitions.

## Details

### GFillType

    typedef GimpFillType GFillType;

### GImageType

    typedef GimpImageBaseType GImageType;

### GDrawableType

    typedef GimpImageType GDrawableType;

### GLayerMode

    typedef GimpLayerModeEffects GLayerMode;

### GRunModeType

    typedef GimpRunModeType GRunModeType;

### GOrientation

    typedef GimpOrientationType GOrientation;

### GParamType

    typedef GimpPDBArgType GParamType;

### GProcedureType

    typedef GimpPDBProcType GProcedureType;

### GStatusType

    typedef GimpPDBStatusType GStatusType;

### PARAM_INT32

    #define PARAM_INT32 GIMP_PDB_INT32

### PARAM_INT16

    #define PARAM_INT16 GIMP_PDB_INT16

### PARAM_INT8

    #define PARAM_INT8 GIMP_PDB_INT8

### PARAM_FLOAT

    #define PARAM_FLOAT GIMP_PDB_FLOAT

### PARAM_STRING

    #define PARAM_STRING GIMP_PDB_STRING

### PARAM_INT32ARRAY

    #define PARAM_INT32ARRAY GIMP_PDB_INT32ARRAY

### PARAM_INT16ARRAY

    #define PARAM_INT16ARRAY GIMP_PDB_INT16ARRAY

### PARAM_INT8ARRAY

    #define PARAM_INT8ARRAY GIMP_PDB_INT8ARRAY

### PARAM_FLOATARRAY

    #define PARAM_FLOATARRAY GIMP_PDB_FLOATARRAY

### PARAM_STRINGARRAY

    #define PARAM_STRINGARRAY GIMP_PDB_STRINGARRAY

### PARAM_COLOR

    #define PARAM_COLOR GIMP_PDB_COLOR

### PARAM_REGION

    #define PARAM_REGION GIMP_PDB_REGION

### PARAM_DISPLAY

    #define PARAM_DISPLAY GIMP_PDB_DISPLAY

### PARAM_IMAGE

    #define PARAM_IMAGE GIMP_PDB_IMAGE

### PARAM_LAYER

    #define PARAM_LAYER GIMP_PDB_LAYER

### PARAM_CHANNEL

    #define PARAM_CHANNEL GIMP_PDB_CHANNEL

### PARAM_DRAWABLE

    #define PARAM_DRAWABLE GIMP_PDB_DRAWABLE

### PARAM_SELECTION

    #define PARAM_SELECTION GIMP_PDB_SELECTION

### PARAM_BOUNDARY

    #define PARAM_BOUNDARY GIMP_PDB_BOUNDARY

### PARAM_PATH

    #define PARAM_PATH GIMP_PDB_PATH

### PARAM_PARASITE

    #define PARAM_PARASITE GIMP_PDB_PARASITE

### PARAM_STATUS

    #define PARAM_STATUS GIMP_PDB_STATUS

### PARAM_END

    #define PARAM_END GIMP_PDB_END

### STATUS_EXECUTION_ERROR

    #define STATUS_EXECUTION_ERROR GIMP_PDB_EXECUTION_ERROR

### STATUS_CALLING_ERROR

    #define STATUS_CALLING_ERROR GIMP_PDB_CALLING_ERROR

### STATUS_PASS_THROUGH

    #define STATUS_PASS_THROUGH GIMP_PDB_PASS_THROUGH

### STATUS_SUCCESS

    #define STATUS_SUCCESS GIMP_PDB_SUCCESS

### STATUS_CANCEL

    #define STATUS_CANCEL GIMP_PDB_CANCEL

### PROC_INTERNAL

    #define PROC_INTERNAL GIMP_INTERNAL

### PROC_PLUG_IN

    #define PROC_PLUG_IN GIMP_PLUGIN

### PROC_EXTENSION

    #define PROC_EXTENSION GIMP_EXTENSION

### PROC_TEMPORARY

    #define PROC_TEMPORARY GIMP_TEMPORARY

### ORIENTATION_HORIZONTAL

    #define ORIENTATION_HORIZONTAL GIMP_HORIZONTAL

### ORIENTATION_VERTICAL

    #define ORIENTATION_VERTICAL GIMP_VERTICAL

### ORIENTATION_UNKNOWN

    #define ORIENTATION_UNKNOWN GIMP_UNKNOWN

### FG_IMAGE_FILL

    #define FG_IMAGE_FILL GIMP_FG_IMAGE_FILL

### BG_IMAGE_FILL

    #define BG_IMAGE_FILL GIMP_BG_IMAGE_FILL

### WHITE_IMAGE_FILL

    #define WHITE_IMAGE_FILL GIMP_WHITE_IMAGE_FILL

### TRANS_IMAGE_FILL

    #define TRANS_IMAGE_FILL GIMP_TRANS_IMAGE_FILL

### NO_IMAGE_FILL

    #define NO_IMAGE_FILL GIMP_NO_IMAGE_FILL

### RGB

    #define RGB GIMP_RGB

### GRAY

    #define GRAY GIMP_GRAY

### INDEXED

    #define INDEXED GIMP_INDEXED

### RGB_IMAGE

    #define RGB_IMAGE GIMP_RGB_IMAGE

### RGBA_IMAGE

    #define RGBA_IMAGE GIMP_RGBA_IMAGE

### GRAY_IMAGE

    #define GRAY_IMAGE GIMP_GRAY_IMAGE

### GRAYA_IMAGE

    #define GRAYA_IMAGE GIMP_GRAYA_IMAGE

### INDEXED_IMAGE

    #define INDEXED_IMAGE GIMP_INDEXED_IMAGE

### INDEXEDA_IMAGE

    #define INDEXEDA_IMAGE GIMP_INDEXEDA_IMAGE

### NORMAL_MODE

    #define NORMAL_MODE GIMP_NORMAL_MODE

### DISSOLVE_MODE

    #define DISSOLVE_MODE GIMP_DISSOLVE_MODE

### BEHIND_MODE

    #define BEHIND_MODE GIMP_BEHIND_MODE

### MULTIPLY_MODE

    #define MULTIPLY_MODE GIMP_MULTIPLY_MODE

### SCREEN_MODE

    #define SCREEN_MODE GIMP_SCREEN_MODE

### OVERLAY_MODE

    #define OVERLAY_MODE GIMP_OVERLAY_MODE

### DIFFERENCE_MODE

    #define DIFFERENCE_MODE GIMP_DIFFERENCE_MODE

### ADDITION_MODE

    #define ADDITION_MODE GIMP_ADDITION_MODE

### SUBTRACT_MODE

    #define SUBTRACT_MODE GIMP_SUBTRACT_MODE

### DARKEN_ONLY_MODE

    #define DARKEN_ONLY_MODE GIMP_DARKEN_ONLY_MODE

### LIGHTEN_ONLY_MODE

    #define LIGHTEN_ONLY_MODE GIMP_LIGHTEN_ONLY_MODE

### HUE_MODE

    #define HUE_MODE GIMP_HUE_MODE

### SATURATION_MODE

    #define SATURATION_MODE GIMP_SATURATION_MODE

### COLOR_MODE

    #define COLOR_MODE GIMP_COLOR_MODE

### VALUE_MODE

    #define VALUE_MODE GIMP_VALUE_MODE

### DIVIDE_MODE

    #define DIVIDE_MODE GIMP_DIVIDE_MODE

### RUN_INTERACTIVE

    #define RUN_INTERACTIVE GIMP_RUN_INTERACTIVE

### RUN_NONINTERACTIVE

    #define RUN_NONINTERACTIVE GIMP_RUN_NONINTERACTIVE

### RUN_WITH_LAST_VALS

    #define RUN_WITH_LAST_VALS GIMP_RUN_WITH_LAST_VALS

### gimp_attach_parasite

    #define gimp_attach_parasite		gimp_parasite_attach

### gimp_detach_parasite

    #define gimp_detach_parasite		gimp_parasite_detach

### gimp_find_parasite

    #define gimp_find_parasite		gimp_parasite_find

### gimp_image_attach_parasite

    #define gimp_image_attach_parasite	gimp_image_parasite_attach

### gimp_image_detach_parasite

    #define gimp_image_detach_parasite	gimp_image_parasite_detach

### gimp_image_find_parasite

    #define gimp_image_find_parasite	gimp_image_parasite_find

### gimp_drawable_attach_parasite

    #define gimp_drawable_attach_parasite	gimp_drawable_parasite_attach

### gimp_drawable_detach_parasite

    #define gimp_drawable_detach_parasite	gimp_drawable_parasite_detach

### gimp_drawable_find_parasite

    #define gimp_drawable_find_parasite	gimp_drawable_parasite_find

### gimp_drawable_channel

    #define gimp_drawable_channel		gimp_drawable_is_channel

### gimp_drawable_gray

    #define gimp_drawable_gray		gimp_drawable_is_gray

### gimp_drawable_color

    #define gimp_drawable_color		gimp_drawable_is_rgb

### gimp_drawable_indexed

    #define gimp_drawable_indexed		gimp_drawable_is_indexed

### gimp_drawable_layer

    #define gimp_drawable_layer		gimp_drawable_is_layer

### gimp_drawable_layer_mask

    #define gimp_drawable_layer_mask	gimp_drawable_is_layer_mask

### gimp_image_disable_undo

    #define gimp_image_disable_undo		gimp_image_undo_disable

### gimp_image_enable_undo

    #define gimp_image_enable_undo		gimp_image_undo_enable

### gimp_image_freeze_undo

    #define gimp_image_freeze_undo		gimp_image_undo_freeze

### gimp_image_thaw_undo

    #define gimp_image_thaw_undo		gimp_image_undo_thaw

### gimp_channel_width

    #define gimp_channel_width              gimp_drawable_width

### gimp_channel_height

    #define gimp_channel_height             gimp_drawable_height

### gimp_channel_get_image_ID

    #define gimp_channel_get_image_ID       gimp_drawable_image

### gimp_channel_get_layer_ID

    #define gimp_channel_get_layer_ID       -1

### gimp_layer_width

    #define gimp_layer_width                gimp_drawable_width

### gimp_layer_height

    #define gimp_layer_height               gimp_drawable_height

### gimp_layer_bpp

    #define gimp_layer_bpp                  gimp_drawable_bpp

### gimp_layer_type

    #define gimp_layer_type                 gimp_drawable_type

### gimp_gradient_get_gradient_data

    #define gimp_gradient_get_gradient_data gimp_gradients_get_gradient_data

### gimp_plugin_help_func

    #define gimp_plugin_help_func           gimp_standard_help_func

### gimp_query_database

    #define gimp_query_database             gimp_procedural_db_query

### gimp_query_images

    #define gimp_query_images               gimp_image_list

### Parasite

    #define Parasite                        GimpParasite

### PARASITE_PERSISTENT

    #define PARASITE_PERSISTENT             GIMP_PARASITE_PERSISTENT

### PARASITE_UNDOABLE

    #define PARASITE_UNDOABLE               GIMP_PARASITE_UNDOABLE

### PARASITE_ATTACH_PARENT

    #define PARASITE_ATTACH_PARENT          GIMP_PARASITE_ATTACH_PARENT

### PARASITE_PARENT_PERSISTENT

    #define PARASITE_PARENT_PERSISTENT      GIMP_PARASITE_PARENT_PERSISTENT

### PARASITE_PARENT_UNDOABLE

    #define PARASITE_PARENT_UNDOABLE        GIMP_PARASITE_PARENT_UNDOABLE

### PARASITE_ATTACH_GRANDPARENT

    #define PARASITE_ATTACH_GRANDPARENT     GIMP_PARASITE_ATTACH_GRANDPARENT

### PARASITE_GRANDPARENT_PERSISTENT

    #define PARASITE_GRANDPARENT_PERSISTENT GIMP_PARASITE_GRANDPARENT_PERSISTENT

### PARASITE_GRANDPARENT_UNDOABLE

    #define PARASITE_GRANDPARENT_UNDOABLE   GIMP_PARASITE_GRANDPARENT_UNDOABLE

### parasite_new

    #define parasite_new                    gimp_parasite_new

### parasite_free

    #define parasite_free                   gimp_parasite_free

### parasite_copy

    #define parasite_copy                   gimp_parasite_copy

### parasite_compare

    #define parasite_compare                gimp_parasite_compare

### parasite_is_type

    #define parasite_is_type                gimp_parasite_is_type

### parasite_is_persistent

    #define parasite_is_persistent          gimp_parasite_is_persistent

### parasite_is_undoable

    #define parasite_is_undoable            gimp_parasite_is_undoable

### parasite_has_flag

    #define parasite_has_flag               gimp_parasite_has_flag

### parasite_flags

    #define parasite_flags                  gimp_parasite_flags

### parasite_name

    #define parasite_name                   gimp_parasite_name

### parasite_data

    #define parasite_data                   gimp_parasite_data

### parasite_data_size

    #define parasite_data_size              gimp_parasite_data_size

### PIXPIPE_MAXDIM

    #define PIXPIPE_MAXDIM                  GIMP_PIXPIPE_MAXDIM

### PixPipeParams

    #define PixPipeParams                   GimpPixPipeParams

### pixpipeparams_init

    #define pixpipeparams_init              gimp_pixpipe_params_init

### pixpipeparams_parse

    #define pixpipeparams_parse             gimp_pixpipe_params_parse

### pixpipeparams_build

    #define pixpipeparams_build             gimp_pixpipe_params_build

### GPlugInInfo

    #define GPlugInInfo                     GimpPlugInInfo

### GTile

    #define GTile                           GimpTile

### GDrawable

    #define GDrawable                       GimpDrawable

### GPixelRgn

    #define GPixelRgn                       GimpPixelRgn

### GParamColor

    #define GParamColor                     GimpParamColor

### GParamRegion

    #define GParamRegion                    GimpParamRegion

### GParamData

    #define GParamData                      GimpParamData

### GParamDef

    #define GParamDef                       GimpParamDef

### GParam

    #define GParam                          GimpParam

### CAN_HANDLE_INDEXED

    #define CAN_HANDLE_INDEXED              GIMP_EXPORT_CAN_HANDLE_INDEXED

### EXPORT_IGNORE

    #define EXPORT_IGNORE                   GIMP_EXPORT_IGNORE

### CAN_HANDLE_RGB

    #define CAN_HANDLE_RGB                  GIMP_EXPORT_CAN_HANDLE_RGB

### CAN_HANDLE_ALPHA

    #define CAN_HANDLE_ALPHA                GIMP_EXPORT_CAN_HANDLE_ALPHA

### EXPORT_CANCEL

    #define EXPORT_CANCEL                   GIMP_EXPORT_CANCEL

### CAN_HANDLE_LAYERS_AS_ANIMATION

    #define CAN_HANDLE_LAYERS_AS_ANIMATION  GIMP_EXPORT_CAN_HANDLE_LAYERS_AS_ANIMATION

### CAN_HANDLE_GRAY

    #define CAN_HANDLE_GRAY                 GIMP_EXPORT_CAN_HANDLE_GRAY

### NEEDS_ALPHA

    #define NEEDS_ALPHA                     GIMP_EXPORT_NEEDS_ALPHA

### EXPORT_EXPORT

    #define EXPORT_EXPORT                   GIMP_EXPORT_EXPORT

### CAN_HANDLE_LAYERS

    #define CAN_HANDLE_LAYERS               GIMP_EXPORT_CAN_HANDLE_LAYERS

<<< Previous Page | Home | Up | Next Page >>>
gimpenv | gimpbrushes