GimpParasite GimpUnit typedef enum /*< chop=GIMP_ >*/ { GIMP_UNIT_PIXEL = 0, GIMP_UNIT_INCH = 1, GIMP_UNIT_MM = 2, GIMP_UNIT_POINT = 3, GIMP_UNIT_PICA = 4, GIMP_UNIT_END = 5, GIMP_UNIT_PERCENT = 65536 /*< skip >*/ } GimpUnit; GimpPDBArgType typedef enum /*< chop=GIMP_ >*/ { GIMP_PDB_INT32, GIMP_PDB_INT16, GIMP_PDB_INT8, GIMP_PDB_FLOAT, GIMP_PDB_STRING, GIMP_PDB_INT32ARRAY, GIMP_PDB_INT16ARRAY, GIMP_PDB_INT8ARRAY, GIMP_PDB_FLOATARRAY, GIMP_PDB_STRINGARRAY, GIMP_PDB_COLOR, GIMP_PDB_REGION, GIMP_PDB_DISPLAY, GIMP_PDB_IMAGE, GIMP_PDB_LAYER, GIMP_PDB_CHANNEL, GIMP_PDB_DRAWABLE, GIMP_PDB_SELECTION, GIMP_PDB_BOUNDARY, GIMP_PDB_PATH, GIMP_PDB_PARASITE, GIMP_PDB_STATUS, GIMP_PDB_END } GimpPDBArgType; GimpPDBProcType typedef enum /*< chop=GIMP_ >*/ { GIMP_INTERNAL, GIMP_PLUGIN, GIMP_EXTENSION, GIMP_TEMPORARY } GimpPDBProcType; GimpPDBStatusType typedef enum /*< chop=GIMP_ >*/ { GIMP_PDB_EXECUTION_ERROR, GIMP_PDB_CALLING_ERROR, GIMP_PDB_PASS_THROUGH, GIMP_PDB_SUCCESS, GIMP_PDB_CANCEL } GimpPDBStatusType; gimp_directory const gchar * void gimp_personal_rc_file gchar * const gchar *basename gimp_data_directory const gchar * void gimp_sysconf_directory const gchar * void gimp_gtkrc const gchar * void gimp_path_parse GList * const gchar *path,gint max_paths,gboolean check,GList **check_failed gimp_path_to_str gchar * GList *path gimp_path_free void GList *path gimp_path_get_user_writable_dir gchar * GList *path GIMP_MIN_IMAGE_SIZE #define GIMP_MIN_IMAGE_SIZE 1 GIMP_MAX_IMAGE_SIZE #define GIMP_MAX_IMAGE_SIZE 16777216 /* 2^24 */ GIMP_MIN_RESOLUTION #define GIMP_MIN_RESOLUTION 5e-3 /* shouldn't display as 0.000 */ GIMP_MAX_RESOLUTION #define GIMP_MAX_RESOLUTION 65536.0 GIMP_CHECK_SIZE #define GIMP_CHECK_SIZE 8 GIMP_CHECK_SIZE_SM #define GIMP_CHECK_SIZE_SM 4 GIMP_CHECK_DARK #define GIMP_CHECK_DARK 0.4 /* corresponds to GRAY_CHECKS as */ GIMP_CHECK_LIGHT #define GIMP_CHECK_LIGHT 0.6 /* defined in app/image_render.c */ GIMP_PARASITE_PERSISTENT #define GIMP_PARASITE_PERSISTENT 1 GIMP_PARASITE_UNDOABLE #define GIMP_PARASITE_UNDOABLE 2 GIMP_PARASITE_ATTACH_PARENT #define GIMP_PARASITE_ATTACH_PARENT (0x80 << 8) GIMP_PARASITE_PARENT_PERSISTENT #define GIMP_PARASITE_PARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 8) GIMP_PARASITE_PARENT_UNDOABLE #define GIMP_PARASITE_PARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 8) GIMP_PARASITE_ATTACH_GRANDPARENT #define GIMP_PARASITE_ATTACH_GRANDPARENT (0x80 << 16) GIMP_PARASITE_GRANDPARENT_PERSISTENT #define GIMP_PARASITE_GRANDPARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 16) GIMP_PARASITE_GRANDPARENT_UNDOABLE #define GIMP_PARASITE_GRANDPARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 16) GimpParasite struct GimpParasite { gchar *name; /* The name of the parasite. USE A UNIQUE PREFIX! */ guint32 flags; /* save Parasite in XCF file, etc. */ guint32 size; /* amount of data */ gpointer data; /* a pointer to the data. plugin is * * responsible for tracking byte order */ }; gimp_parasite_new GimpParasite * const gchar *name,guint32 flags,guint32 size,const gpointer data gimp_parasite_free void GimpParasite *parasite gimp_parasite_copy GimpParasite * const GimpParasite *parasite gimp_parasite_compare gboolean const GimpParasite *a,const GimpParasite *b gimp_parasite_is_type gboolean const GimpParasite *parasite,const gchar *name gimp_parasite_is_persistent gboolean const GimpParasite *parasite gimp_parasite_is_undoable gboolean const GimpParasite *parasite gimp_parasite_has_flag gboolean const GimpParasite *parasite,gulong flag gimp_parasite_flags gulong const GimpParasite *parasite gimp_parasite_name const gchar * const GimpParasite *parasite gimp_parasite_data gpointer const GimpParasite *parasite gimp_parasite_data_size glong const GimpParasite *parasite GIMP_PIXPIPE_MAXDIM #define GIMP_PIXPIPE_MAXDIM 4 gimp_pixpipe_params_init void GimpPixPipeParams *params gimp_pixpipe_params_parse void gchar *parameters,GimpPixPipeParams *params gimp_pixpipe_params_build gchar * GimpPixPipeParams *params GP_VERSION #define GP_VERSION 0x0008 GPConfig GPTileReq GPTileAck GPTileData GPParam GPParamDef GPProcRun GPProcReturn GPProcInstall GPProcUninstall GPConfig struct GPConfig { guint32 version; guint32 tile_width; guint32 tile_height; gint32 shm_ID; gdouble gamma; gint8 install_cmap; gint8 use_xshm; gint32 min_colors; gint32 gdisp_ID; }; GPTileReq struct GPTileReq { gint32 drawable_ID; guint32 tile_num; guint32 shadow; }; GPTileData struct GPTileData { gint32 drawable_ID; guint32 tile_num; guint32 shadow; guint32 bpp; guint32 width; guint32 height; guint32 use_shm; guchar *data; }; GPParam struct GPParam { guint32 type; union { gint32 d_int32; gint16 d_int16; gint8 d_int8; gdouble d_float; gchar *d_string; gint32 *d_int32array; gint16 *d_int16array; gint8 *d_int8array; gdouble *d_floatarray; gchar **d_stringarray; GimpRGB d_color; struct { gint32 x; gint32 y; gint32 width; gint32 height; } d_region; gint32 d_display; gint32 d_image; gint32 d_layer; gint32 d_channel; gint32 d_drawable; gint32 d_selection; gint32 d_boundary; gint32 d_path; struct { gchar *name; guint32 flags; guint32 size; gpointer data; } d_parasite; gint32 d_status; } data; }; GPParamDef struct GPParamDef { guint32 type; gchar *name; gchar *description; }; GPProcRun struct GPProcRun { gchar *name; guint32 nparams; GPParam *params; }; GPProcReturn struct GPProcReturn { gchar *name; guint32 nparams; GPParam *params; }; GPProcInstall struct GPProcInstall { gchar *name; gchar *blurb; gchar *help; gchar *author; gchar *copyright; gchar *date; gchar *menu_path; gchar *image_types; guint32 type; guint32 nparams; guint32 nreturn_vals; GPParamDef *params; GPParamDef *return_vals; }; GPProcUninstall struct GPProcUninstall { gchar *name; }; gp_init void void gp_quit_write gboolean GIOChannel *channel gp_config_write gboolean GIOChannel *channel,GPConfig *config gp_tile_req_write gboolean GIOChannel *channel,GPTileReq *tile_req gp_tile_ack_write gboolean GIOChannel *channel gp_tile_data_write gboolean GIOChannel *channel,GPTileData *tile_data gp_proc_run_write gboolean GIOChannel *channel,GPProcRun *proc_run gp_proc_return_write gboolean GIOChannel *channel,GPProcReturn *proc_return gp_temp_proc_run_write gboolean GIOChannel *channel,GPProcRun *proc_run gp_temp_proc_return_write gboolean GIOChannel *channel,GPProcReturn *proc_return gp_proc_install_write gboolean GIOChannel *channel,GPProcInstall *proc_install gp_proc_uninstall_write gboolean GIOChannel *channel,GPProcUninstall *proc_uninstall gp_extension_ack_write gboolean GIOChannel *channel SA_RESTART #define SA_RESTART SA_SYSV GimpSignalHandlerFunc void gint signum gimp_signal_private GimpSignalHandlerFunc gint signum,GimpSignalHandlerFunc handler,gint flags gimp_signal_syscallrestart #define gimp_signal_syscallrestart(signum,handler) gimp_signal_private ((signum), (handler), SA_RESTART) gimp_unit_get_number_of_units gint void gimp_unit_get_number_of_built_in_units gint void gimp_unit_new GimpUnit gchar *identifier,gdouble factor,gint digits,gchar *symbol,gchar *abbreviation,gchar *singular,gchar *plural gimp_unit_get_deletion_flag gboolean GimpUnit unit gimp_unit_set_deletion_flag void GimpUnit unit,gboolean deletion_flag gimp_unit_get_factor gdouble GimpUnit unit gimp_unit_get_digits gint GimpUnit unit gimp_unit_get_identifier gchar * GimpUnit unit gimp_unit_get_symbol gchar * GimpUnit unit gimp_unit_get_abbreviation gchar * GimpUnit unit gimp_unit_get_singular gchar * GimpUnit unit gimp_unit_get_plural gchar * GimpUnit unit gimp_strescape #define gimp_strescape(string, exceptions) g_strescape (string, exceptions) gimp_strcompress #define gimp_strcompress(string) g_strcompress (string) gimp_strescape gchar * const gchar *source,const gchar *exceptions gimp_strcompress gchar * const gchar *source WireMessage WireReadFunc void GIOChannel *channel, WireMessage *msg WireWriteFunc void GIOChannel *channel, WireMessage *msg WireDestroyFunc void WireMessage *msg WireIOFunc gboolean GIOChannel *channel, guint8 *buf, gulong count WireFlushFunc gboolean GIOChannel *channel WireMessage struct WireMessage { guint32 type; gpointer data; }; wire_register void guint32 type,WireReadFunc read_func,WireWriteFunc write_func,WireDestroyFunc destroy_func wire_set_reader void WireIOFunc read_func wire_set_writer void WireIOFunc write_func wire_set_flusher void WireFlushFunc flush_func wire_read gboolean GIOChannel *channel,guint8 *buf,gulong count wire_write gboolean GIOChannel *channel,guint8 *buf,gulong count wire_flush gboolean GIOChannel *channel wire_error gboolean void wire_clear_error void void wire_read_msg gboolean GIOChannel *channel,WireMessage *msg wire_write_msg gboolean GIOChannel *channel,WireMessage *msg wire_destroy void WireMessage *msg wire_read_int32 gboolean GIOChannel *channel,guint32 *data,gint count wire_read_int16 gboolean GIOChannel *channel,guint16 *data,gint count wire_read_int8 gboolean GIOChannel *channel,guint8 *data,gint count wire_read_double gboolean GIOChannel *channel,gdouble *data,gint count wire_read_string gboolean GIOChannel *channel,gchar **data,gint count wire_write_int32 gboolean GIOChannel *channel,guint32 *data,gint count wire_write_int16 gboolean GIOChannel *channel,guint16 *data,gint count wire_write_int8 gboolean GIOChannel *channel,guint8 *data,gint count wire_write_double gboolean GIOChannel *channel,gdouble *data,gint count wire_write_string gboolean GIOChannel *channel,gchar **data,gint count GIMP_MAJOR_VERSION #define GIMP_MAJOR_VERSION (1) GIMP_MINOR_VERSION #define GIMP_MINOR_VERSION (3) GIMP_MICRO_VERSION #define GIMP_MICRO_VERSION (0) GIMP_VERSION #define GIMP_VERSION "1.3.0" GIMP_CHECK_VERSION #define GIMP_CHECK_VERSION(major, minor, micro) \ (GIMP_MAJOR_VERSION > (major) || \ (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || \ (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && \ GIMP_MICRO_VERSION >= (micro)))