mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
Changed naming scheme for PDB procedure names from
2005-08-03 Michael Natterer <mitch@gimp.org> Changed naming scheme for PDB procedure names from random_crap_that_traditionally_has_underscores to enforced-canonical-identifiers. I'm pretty sure some things are broken after this commit. More changes to come... * libgimpbase/gimpbase.def * libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier(). * app/pdb/procedural_db.[ch] (struct ProcRecord): added "gchar *original_name" to keep a procedure's original name as reigstered by plug-ins (compat cruft). (procedural_db_init_procs): canonicalized list of deprecated procedures. * app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free original_name. * app/plug-in/plug-in-message.c: canonicalize procedure names which are received over the wire. * app/plug-in/plug-in-rc.c: serialize the original_name and create the canonicalized name on-the-fly when deserializing. * app/plug-in/plug-in-run.c: pass the original_name to plug-ins when running them because they strcmp() the passed procedure name. * app/plug-in/plug-ins.c (plug_ins_add_to_db): pass canonical procedure names to procedural_db_execute(). (plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf". * app/xcf/xcf.c: changed static XCF procedures accordingly. * tools/pdbgen/app.pl * tools/pdbgen/lib.pl: do some trivial substitutions to generate canonicalized names in app/, and C identifiers with underscores in libgimp/. * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/palettes.pdb * tools/pdbgen/pdb/patterns.pdb * tools/pdbgen/pdb/plug_in.pdb * tools/pdbgen/pdb/procedural_db.pdb * tools/pdbgen/pdb/text_tool.pdb * tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure names in calls to std_pdb_deprecated() and in procedure names in generated C code. * app/pdb/*_cmds.c * libgimp/*_pdb.c: regenerated.
This commit is contained in:
parent
990ee2074a
commit
853f04d5a6
124 changed files with 2175 additions and 1412 deletions
57
ChangeLog
57
ChangeLog
|
@ -1,3 +1,60 @@
|
|||
2005-08-03 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Changed naming scheme for PDB procedure names from
|
||||
random_crap_that_traditionally_has_underscores to
|
||||
enforced-canonical-identifiers. I'm pretty sure some things are
|
||||
broken after this commit. More changes to come...
|
||||
|
||||
* libgimpbase/gimpbase.def
|
||||
* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().
|
||||
|
||||
* app/pdb/procedural_db.[ch] (struct ProcRecord): added
|
||||
"gchar *original_name" to keep a procedure's original name as
|
||||
reigstered by plug-ins (compat cruft).
|
||||
|
||||
(procedural_db_init_procs): canonicalized list of deprecated
|
||||
procedures.
|
||||
|
||||
* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
|
||||
original_name.
|
||||
|
||||
* app/plug-in/plug-in-message.c: canonicalize procedure names
|
||||
which are received over the wire.
|
||||
|
||||
* app/plug-in/plug-in-rc.c: serialize the original_name and create
|
||||
the canonicalized name on-the-fly when deserializing.
|
||||
|
||||
* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
|
||||
when running them because they strcmp() the passed procedure name.
|
||||
|
||||
* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
|
||||
canonical procedure names to procedural_db_execute().
|
||||
|
||||
(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".
|
||||
|
||||
* app/xcf/xcf.c: changed static XCF procedures accordingly.
|
||||
|
||||
* tools/pdbgen/app.pl
|
||||
* tools/pdbgen/lib.pl: do some trivial substitutions to generate
|
||||
canonicalized names in app/, and C identifiers with underscores in
|
||||
libgimp/.
|
||||
|
||||
* tools/pdbgen/pdb/brushes.pdb
|
||||
* tools/pdbgen/pdb/fileops.pdb
|
||||
* tools/pdbgen/pdb/gradients.pdb
|
||||
* tools/pdbgen/pdb/image.pdb
|
||||
* tools/pdbgen/pdb/palettes.pdb
|
||||
* tools/pdbgen/pdb/patterns.pdb
|
||||
* tools/pdbgen/pdb/plug_in.pdb
|
||||
* tools/pdbgen/pdb/procedural_db.pdb
|
||||
* tools/pdbgen/pdb/text_tool.pdb
|
||||
* tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure
|
||||
names in calls to std_pdb_deprecated() and in procedure names in
|
||||
generated C code.
|
||||
|
||||
* app/pdb/*_cmds.c
|
||||
* libgimp/*_pdb.c: regenerated.
|
||||
|
||||
2005-08-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimpbrushmenu.c
|
||||
|
|
|
@ -136,7 +136,8 @@ static ProcArg brush_new_outargs[] =
|
|||
|
||||
static ProcRecord brush_new_proc =
|
||||
{
|
||||
"gimp_brush_new",
|
||||
"gimp-brush-new",
|
||||
"gimp-brush-new",
|
||||
"Creates a new brush",
|
||||
"This procedure creates a new, uninitialized brush",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -212,7 +213,8 @@ static ProcArg brush_duplicate_outargs[] =
|
|||
|
||||
static ProcRecord brush_duplicate_proc =
|
||||
{
|
||||
"gimp_brush_duplicate",
|
||||
"gimp-brush-duplicate",
|
||||
"gimp-brush-duplicate",
|
||||
"Duplicates a brush",
|
||||
"This procedure creates an identical brush by a different name",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -281,7 +283,8 @@ static ProcArg brush_is_generated_outargs[] =
|
|||
|
||||
static ProcRecord brush_is_generated_proc =
|
||||
{
|
||||
"gimp_brush_is_generated",
|
||||
"gimp-brush-is-generated",
|
||||
"gimp-brush-is-generated",
|
||||
"Tests if generated",
|
||||
"Returns True if this brush is parametric, False for other types",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -360,7 +363,8 @@ static ProcArg brush_rename_outargs[] =
|
|||
|
||||
static ProcRecord brush_rename_proc =
|
||||
{
|
||||
"gimp_brush_rename",
|
||||
"gimp-brush-rename",
|
||||
"gimp-brush-rename",
|
||||
"Rename a brush",
|
||||
"This procedure renames a brush",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -426,7 +430,8 @@ static ProcArg brush_delete_inargs[] =
|
|||
|
||||
static ProcRecord brush_delete_proc =
|
||||
{
|
||||
"gimp_brush_delete",
|
||||
"gimp-brush-delete",
|
||||
"gimp-brush-delete",
|
||||
"Deletes a brush",
|
||||
"This procedure deletes a brush",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -495,7 +500,8 @@ static ProcArg brush_is_editable_outargs[] =
|
|||
|
||||
static ProcRecord brush_is_editable_proc =
|
||||
{
|
||||
"gimp_brush_is_editable",
|
||||
"gimp-brush-is-editable",
|
||||
"gimp-brush-is-editable",
|
||||
"Tests if brush can be edited",
|
||||
"Returns True if you have permission to change the brush",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -581,7 +587,8 @@ static ProcArg brush_get_info_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_info_proc =
|
||||
{
|
||||
"gimp_brush_get_info",
|
||||
"gimp-brush-get-info",
|
||||
"gimp-brush-get-info",
|
||||
"Retrieve information about the specified brush.",
|
||||
"This procedure retrieves information about the specified brush. This includes the brush name, and the brush extents (width and height).",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -712,7 +719,8 @@ static ProcArg brush_get_pixels_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_pixels_proc =
|
||||
{
|
||||
"gimp_brush_get_pixels",
|
||||
"gimp-brush-get-pixels",
|
||||
"gimp-brush-get-pixels",
|
||||
"Retrieve information about the specified brush.",
|
||||
"This procedure retrieves information about the specified brush. This includes the brush extents (width and height) and its pixels data.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -778,7 +786,8 @@ static ProcArg brush_get_spacing_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_spacing_proc =
|
||||
{
|
||||
"gimp_brush_get_spacing",
|
||||
"gimp-brush-get-spacing",
|
||||
"gimp-brush-get-spacing",
|
||||
"Get the brush spacing.",
|
||||
"This procedure returns the spacing setting for the specified brush. The return value is an integer between 0 and 1000 which represents percentage of the maximum of the width and height of the mask.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -842,7 +851,8 @@ static ProcArg brush_set_spacing_inargs[] =
|
|||
|
||||
static ProcRecord brush_set_spacing_proc =
|
||||
{
|
||||
"gimp_brush_set_spacing",
|
||||
"gimp-brush-set-spacing",
|
||||
"gimp-brush-set-spacing",
|
||||
"Set the brush spacing.",
|
||||
"This procedure modifies the spacing setting for the specified brush. The value should be a integer between 0 and 1000.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -908,7 +918,8 @@ static ProcArg brush_get_shape_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_shape_proc =
|
||||
{
|
||||
"gimp_brush_get_shape",
|
||||
"gimp-brush-get-shape",
|
||||
"gimp-brush-get-shape",
|
||||
"Get the shape of a generated brush.",
|
||||
"This procedure gets the shape value for a generated brush. If called for any other type of brush, it does not succeed. The current possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square (GIMP_BRUSH_GENERATED_SQUARE), and Diamond (GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added in the future.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -974,7 +985,8 @@ static ProcArg brush_get_radius_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_radius_proc =
|
||||
{
|
||||
"gimp_brush_get_radius",
|
||||
"gimp-brush-get-radius",
|
||||
"gimp-brush-get-radius",
|
||||
"Get the radius of a generated brush.",
|
||||
"This procedure gets the radius value for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1040,7 +1052,8 @@ static ProcArg brush_get_spikes_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_spikes_proc =
|
||||
{
|
||||
"gimp_brush_get_spikes",
|
||||
"gimp-brush-get-spikes",
|
||||
"gimp-brush-get-spikes",
|
||||
"Get the number of spikes for a generated brush.",
|
||||
"This procedure gets the number of spikes for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1106,7 +1119,8 @@ static ProcArg brush_get_hardness_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_hardness_proc =
|
||||
{
|
||||
"gimp_brush_get_hardness",
|
||||
"gimp-brush-get-hardness",
|
||||
"gimp-brush-get-hardness",
|
||||
"Get the hardness of a generated brush.",
|
||||
"This procedure gets the hardness of a generated brush. The hardness of a brush is the amount its intensity fades at the outside edge. If called for any other type of brush, the function does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1172,7 +1186,8 @@ static ProcArg brush_get_aspect_ratio_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_aspect_ratio_proc =
|
||||
{
|
||||
"gimp_brush_get_aspect_ratio",
|
||||
"gimp-brush-get-aspect-ratio",
|
||||
"gimp-brush-get-aspect-ratio",
|
||||
"Get the aspect ratio of a generated brush.",
|
||||
"This procedure gets the aspect ratio of a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1238,7 +1253,8 @@ static ProcArg brush_get_angle_outargs[] =
|
|||
|
||||
static ProcRecord brush_get_angle_proc =
|
||||
{
|
||||
"gimp_brush_get_angle",
|
||||
"gimp-brush-get-angle",
|
||||
"gimp-brush-get-angle",
|
||||
"Get the rotation angle of a generated brush.",
|
||||
"This procedure gets the angle of rotation for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1315,7 +1331,8 @@ static ProcArg brush_set_shape_outargs[] =
|
|||
|
||||
static ProcRecord brush_set_shape_proc =
|
||||
{
|
||||
"gimp_brush_set_shape",
|
||||
"gimp-brush-set-shape",
|
||||
"gimp-brush-set-shape",
|
||||
"Set the shape of a generated brush.",
|
||||
"This procedure sets the shape value for a generated brush. If called for any other type of brush, it does not succeed. The current possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square (GIMP_BRUSH_GENERATED_SQUARE), and Diamond (GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added in the future.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1392,7 +1409,8 @@ static ProcArg brush_set_radius_outargs[] =
|
|||
|
||||
static ProcRecord brush_set_radius_proc =
|
||||
{
|
||||
"gimp_brush_set_radius",
|
||||
"gimp-brush-set-radius",
|
||||
"gimp-brush-set-radius",
|
||||
"Set the radius of a generated brush.",
|
||||
"This procedure sets the radius for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1469,7 +1487,8 @@ static ProcArg brush_set_spikes_outargs[] =
|
|||
|
||||
static ProcRecord brush_set_spikes_proc =
|
||||
{
|
||||
"gimp_brush_set_spikes",
|
||||
"gimp-brush-set-spikes",
|
||||
"gimp-brush-set-spikes",
|
||||
"Set the number of spikes for a generated brush.",
|
||||
"This procedure sets the number of spikes for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1546,7 +1565,8 @@ static ProcArg brush_set_hardness_outargs[] =
|
|||
|
||||
static ProcRecord brush_set_hardness_proc =
|
||||
{
|
||||
"gimp_brush_set_hardness",
|
||||
"gimp-brush-set-hardness",
|
||||
"gimp-brush-set-hardness",
|
||||
"Set the hardness of a generated brush.",
|
||||
"This procedure sets the hardness for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1623,7 +1643,8 @@ static ProcArg brush_set_aspect_ratio_outargs[] =
|
|||
|
||||
static ProcRecord brush_set_aspect_ratio_proc =
|
||||
{
|
||||
"gimp_brush_set_aspect_ratio",
|
||||
"gimp-brush-set-aspect-ratio",
|
||||
"gimp-brush-set-aspect-ratio",
|
||||
"Set the aspect ratio of a generated brush.",
|
||||
"This procedure sets the aspect ratio for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -1700,7 +1721,8 @@ static ProcArg brush_set_angle_outargs[] =
|
|||
|
||||
static ProcRecord brush_set_angle_proc =
|
||||
{
|
||||
"gimp_brush_set_angle",
|
||||
"gimp-brush-set-angle",
|
||||
"gimp-brush-set-angle",
|
||||
"Set the rotation angle of a generated brush.",
|
||||
"This procedure sets the rotation angle for a generated brush. If called for any other type of brush, it does not succeed.",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
|
|
@ -131,7 +131,8 @@ static ProcArg brushes_popup_inargs[] =
|
|||
|
||||
static ProcRecord brushes_popup_proc =
|
||||
{
|
||||
"gimp_brushes_popup",
|
||||
"gimp-brushes-popup",
|
||||
"gimp-brushes-popup",
|
||||
"Invokes the Gimp brush selection.",
|
||||
"This procedure popups the brush selection dialog.",
|
||||
"Andy Thomas",
|
||||
|
@ -182,7 +183,8 @@ static ProcArg brushes_close_popup_inargs[] =
|
|||
|
||||
static ProcRecord brushes_close_popup_proc =
|
||||
{
|
||||
"gimp_brushes_close_popup",
|
||||
"gimp-brushes-close-popup",
|
||||
"gimp-brushes-close-popup",
|
||||
"Popdown the Gimp brush selection.",
|
||||
"This procedure closes an opened brush selection dialog.",
|
||||
"Andy Thomas",
|
||||
|
@ -277,7 +279,8 @@ static ProcArg brushes_set_popup_inargs[] =
|
|||
|
||||
static ProcRecord brushes_set_popup_proc =
|
||||
{
|
||||
"gimp_brushes_set_popup",
|
||||
"gimp-brushes-set-popup",
|
||||
"gimp-brushes-set-popup",
|
||||
"Sets the current brush selection in a popup.",
|
||||
"Sets the current brush selection in a popup.",
|
||||
"Andy Thomas",
|
||||
|
|
|
@ -65,7 +65,8 @@ brushes_refresh_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord brushes_refresh_proc =
|
||||
{
|
||||
"gimp_brushes_refresh",
|
||||
"gimp-brushes-refresh",
|
||||
"gimp-brushes-refresh",
|
||||
"Refresh current brushes. This function always succeeds.",
|
||||
"This procedure retrieves all brushes currently in the user's brush path and updates the brush dialogs accordingly.",
|
||||
"Seth Burgess",
|
||||
|
@ -135,9 +136,10 @@ static ProcArg brushes_get_list_outargs[] =
|
|||
|
||||
static ProcRecord brushes_get_list_proc =
|
||||
{
|
||||
"gimp_brushes_get_list",
|
||||
"gimp-brushes-get-list",
|
||||
"gimp-brushes-get-list",
|
||||
"Retrieve a complete listing of the available brushes.",
|
||||
"This procedure returns a complete listing of available GIMP brushes. Each name returned can be used as input to the 'gimp_context_set_brush' procedure.",
|
||||
"This procedure returns a complete listing of available GIMP brushes. Each name returned can be used as input to the 'gimp-context-set-brush' procedure.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996",
|
||||
|
@ -201,13 +203,14 @@ static ProcArg brushes_get_brush_outargs[] =
|
|||
|
||||
static ProcRecord brushes_get_brush_proc =
|
||||
{
|
||||
"gimp_brushes_get_brush",
|
||||
"This procedure is deprecated! Use 'gimp_context_get_brush' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_context_get_brush' instead.",
|
||||
"gimp-brushes-get-brush",
|
||||
"gimp-brushes-get-brush",
|
||||
"This procedure is deprecated! Use 'gimp-context-get-brush' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-context-get-brush' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_context_get_brush",
|
||||
"gimp-context-get-brush",
|
||||
GIMP_INTERNAL,
|
||||
0,
|
||||
NULL,
|
||||
|
@ -241,13 +244,14 @@ static ProcArg brushes_get_spacing_outargs[] =
|
|||
|
||||
static ProcRecord brushes_get_spacing_proc =
|
||||
{
|
||||
"gimp_brushes_get_spacing",
|
||||
"This procedure is deprecated! Use 'gimp_brush_get_spacing' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_brush_get_spacing' instead.",
|
||||
"gimp-brushes-get-spacing",
|
||||
"gimp-brushes-get-spacing",
|
||||
"This procedure is deprecated! Use 'gimp-brush-get-spacing' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-brush-get-spacing' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_brush_get_spacing",
|
||||
"gimp-brush-get-spacing",
|
||||
GIMP_INTERNAL,
|
||||
0,
|
||||
NULL,
|
||||
|
@ -286,13 +290,14 @@ static ProcArg brushes_set_spacing_inargs[] =
|
|||
|
||||
static ProcRecord brushes_set_spacing_proc =
|
||||
{
|
||||
"gimp_brushes_set_spacing",
|
||||
"This procedure is deprecated! Use 'gimp_brush_set_spacing' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_brush_set_spacing' instead.",
|
||||
"gimp-brushes-set-spacing",
|
||||
"gimp-brushes-set-spacing",
|
||||
"This procedure is deprecated! Use 'gimp-brush-set-spacing' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-brush-set-spacing' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_brush_set_spacing",
|
||||
"gimp-brush-set-spacing",
|
||||
GIMP_INTERNAL,
|
||||
1,
|
||||
brushes_set_spacing_inargs,
|
||||
|
@ -411,13 +416,14 @@ static ProcArg brushes_get_brush_data_outargs[] =
|
|||
|
||||
static ProcRecord brushes_get_brush_data_proc =
|
||||
{
|
||||
"gimp_brushes_get_brush_data",
|
||||
"This procedure is deprecated! Use 'gimp_brush_get_pixels' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_brush_get_pixels' instead.",
|
||||
"gimp-brushes-get-brush-data",
|
||||
"gimp-brushes-get-brush-data",
|
||||
"This procedure is deprecated! Use 'gimp-brush-get-pixels' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-brush-get-pixels' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_brush_get_pixels",
|
||||
"gimp-brush-get-pixels",
|
||||
GIMP_INTERNAL,
|
||||
1,
|
||||
brushes_get_brush_data_inargs,
|
||||
|
|
|
@ -158,7 +158,8 @@ static ProcArg channel_new_outargs[] =
|
|||
|
||||
static ProcRecord channel_new_proc =
|
||||
{
|
||||
"gimp_channel_new",
|
||||
"gimp-channel-new",
|
||||
"gimp-channel-new",
|
||||
"Create a new channel.",
|
||||
"This procedure creates a new channel with the specified width and height. Name, opacity, and color are also supplied parameters. The new channel still needs to be added to the image, as this is not automatic. Add the new channel with the 'gimp_image_add_channel' command. Other attributes such as channel show masked, should be set with explicit procedure calls. The channel's contents are undefined initially.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -248,7 +249,8 @@ static ProcArg channel_new_from_component_outargs[] =
|
|||
|
||||
static ProcRecord channel_new_from_component_proc =
|
||||
{
|
||||
"gimp_channel_new_from_component",
|
||||
"gimp-channel-new-from-component",
|
||||
"gimp-channel-new-from-component",
|
||||
"Create a new channel from a color component",
|
||||
"This procedure creates a new channel from a color component.",
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
|
@ -313,7 +315,8 @@ static ProcArg channel_copy_outargs[] =
|
|||
|
||||
static ProcRecord channel_copy_proc =
|
||||
{
|
||||
"gimp_channel_copy",
|
||||
"gimp-channel-copy",
|
||||
"gimp-channel-copy",
|
||||
"Copy a channel.",
|
||||
"This procedure copies the specified channel and returns the copy.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -396,7 +399,8 @@ static ProcArg channel_combine_masks_inargs[] =
|
|||
|
||||
static ProcRecord channel_combine_masks_proc =
|
||||
{
|
||||
"gimp_channel_combine_masks",
|
||||
"gimp-channel-combine-masks",
|
||||
"gimp-channel-combine-masks",
|
||||
"Combine two channel masks.",
|
||||
"This procedure combines two channel masks. The result is stored in the first channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -453,7 +457,8 @@ static ProcArg channel_get_show_masked_outargs[] =
|
|||
|
||||
static ProcRecord channel_get_show_masked_proc =
|
||||
{
|
||||
"gimp_channel_get_show_masked",
|
||||
"gimp-channel-get-show-masked",
|
||||
"gimp-channel-get-show-masked",
|
||||
"Get the composite method of the specified channel.",
|
||||
"This procedure returns the specified channel's composite method. If it is non-zero, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -506,7 +511,8 @@ static ProcArg channel_set_show_masked_inargs[] =
|
|||
|
||||
static ProcRecord channel_set_show_masked_proc =
|
||||
{
|
||||
"gimp_channel_set_show_masked",
|
||||
"gimp-channel-set-show-masked",
|
||||
"gimp-channel-set-show-masked",
|
||||
"Set the composite method of the specified channel.",
|
||||
"This procedure sets the specified channel's composite method. If it is non-zero, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -563,7 +569,8 @@ static ProcArg channel_get_opacity_outargs[] =
|
|||
|
||||
static ProcRecord channel_get_opacity_proc =
|
||||
{
|
||||
"gimp_channel_get_opacity",
|
||||
"gimp-channel-get-opacity",
|
||||
"gimp-channel-get-opacity",
|
||||
"Get the opacity of the specified channel.",
|
||||
"This procedure returns the specified channel's opacity.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -618,7 +625,8 @@ static ProcArg channel_set_opacity_inargs[] =
|
|||
|
||||
static ProcRecord channel_set_opacity_proc =
|
||||
{
|
||||
"gimp_channel_set_opacity",
|
||||
"gimp-channel-set-opacity",
|
||||
"gimp-channel-set-opacity",
|
||||
"Set the opacity of the specified channel.",
|
||||
"This procedure sets the specified channel's opacity.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -679,7 +687,8 @@ static ProcArg channel_get_color_outargs[] =
|
|||
|
||||
static ProcRecord channel_get_color_proc =
|
||||
{
|
||||
"gimp_channel_get_color",
|
||||
"gimp-channel-get-color",
|
||||
"gimp-channel-get-color",
|
||||
"Get the compositing color of the specified channel.",
|
||||
"This procedure returns the specified channel's compositing color.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -737,7 +746,8 @@ static ProcArg channel_set_color_inargs[] =
|
|||
|
||||
static ProcRecord channel_set_color_proc =
|
||||
{
|
||||
"gimp_channel_set_color",
|
||||
"gimp-channel-set-color",
|
||||
"gimp-channel-set-color",
|
||||
"Set the compositing color of the specified channel.",
|
||||
"This procedure sets the specified channel's compositing color.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -169,7 +169,8 @@ static ProcArg brightness_contrast_inargs[] =
|
|||
|
||||
static ProcRecord brightness_contrast_proc =
|
||||
{
|
||||
"gimp_brightness_contrast",
|
||||
"gimp-brightness-contrast",
|
||||
"gimp-brightness-contrast",
|
||||
"Modify brightness/contrast in the specified drawable.",
|
||||
"This procedures allows the brightness and contrast of the specified drawable to be modified. Both 'brightness' and 'contrast' parameters are defined between -127 and 127.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -291,7 +292,8 @@ static ProcArg levels_inargs[] =
|
|||
|
||||
static ProcRecord levels_proc =
|
||||
{
|
||||
"gimp_levels",
|
||||
"gimp-levels",
|
||||
"gimp-levels",
|
||||
"Modifies intensity levels in the specified drawable.",
|
||||
"This tool allows intensity levels in the specified drawable to be remapped according to a set of parameters. The low/high input levels specify an initial mapping from the source intensities. The gamma value determines how intensities between the low and high input intensities are interpolated. A gamma value of 1.0 results in a linear interpolation. Higher gamma values result in more high-level intensities. Lower gamma values result in more low-level intensities. The low/high output levels constrain the final intensity mapping--that is, no final intensity will be lower than the low output level and no final intensity will be higher than the high output level. This tool is only valid on RGB color and grayscale images. It will not operate on indexed drawables.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -343,7 +345,8 @@ static ProcArg levels_auto_inargs[] =
|
|||
|
||||
static ProcRecord levels_auto_proc =
|
||||
{
|
||||
"gimp_levels_auto",
|
||||
"gimp-levels-auto",
|
||||
"gimp-levels-auto",
|
||||
"This procedure is deprecated! Use 'gimp_levels_stretch' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_levels_stretch' instead.",
|
||||
"",
|
||||
|
@ -395,7 +398,8 @@ static ProcArg levels_stretch_inargs[] =
|
|||
|
||||
static ProcRecord levels_stretch_proc =
|
||||
{
|
||||
"gimp_levels_stretch",
|
||||
"gimp-levels-stretch",
|
||||
"gimp-levels-stretch",
|
||||
"Automatically modifies intensity levels in the specified drawable.",
|
||||
"This procedure allows intensity levels in the specified drawable to be remapped according to a set of guessed parameters. It is equivalent to clicking the \"Auto\" button in the Levels tool. This procedure is only valid on RGB color and grayscale images. It will not operate on indexed drawables.",
|
||||
"Joao S.O. Bueno, Shawn Willden",
|
||||
|
@ -482,7 +486,8 @@ static ProcArg posterize_inargs[] =
|
|||
|
||||
static ProcRecord posterize_proc =
|
||||
{
|
||||
"gimp_posterize",
|
||||
"gimp-posterize",
|
||||
"gimp-posterize",
|
||||
"Posterize the specified drawable.",
|
||||
"This procedures reduces the number of shades allows in each intensity channel to the specified 'levels' parameter.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -534,7 +539,8 @@ static ProcArg desaturate_inargs[] =
|
|||
|
||||
static ProcRecord desaturate_proc =
|
||||
{
|
||||
"gimp_desaturate",
|
||||
"gimp-desaturate",
|
||||
"gimp-desaturate",
|
||||
"Desaturate the contents of the specified drawable.",
|
||||
"This procedure desaturates the contents of the specified drawable. This procedure only works on drawables of type RGB color.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -596,7 +602,8 @@ static ProcArg desaturate_full_inargs[] =
|
|||
|
||||
static ProcRecord desaturate_full_proc =
|
||||
{
|
||||
"gimp_desaturate_full",
|
||||
"gimp-desaturate-full",
|
||||
"gimp-desaturate-full",
|
||||
"Desaturate the contents of the specified drawable, with the specified formula.",
|
||||
"This procedure desaturates the contents of the specified drawable, with the specified formula. This procedure only works on drawables of type RGB color.",
|
||||
"Karine Delvare",
|
||||
|
@ -656,7 +663,8 @@ static ProcArg equalize_inargs[] =
|
|||
|
||||
static ProcRecord equalize_proc =
|
||||
{
|
||||
"gimp_equalize",
|
||||
"gimp-equalize",
|
||||
"gimp-equalize",
|
||||
"Equalize the contents of the specified drawable.",
|
||||
"This procedure equalizes the contents of the specified drawable. Each intensity channel is equalizeed independently. The equalized intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation. The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -708,7 +716,8 @@ static ProcArg invert_inargs[] =
|
|||
|
||||
static ProcRecord invert_proc =
|
||||
{
|
||||
"gimp_invert",
|
||||
"gimp-invert",
|
||||
"gimp-invert",
|
||||
"Invert the contents of the specified drawable.",
|
||||
"This procedure inverts the contents of the specified drawable. Each intensity channel is inverted independently. The inverted intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -843,7 +852,8 @@ static ProcArg curves_spline_inargs[] =
|
|||
|
||||
static ProcRecord curves_spline_proc =
|
||||
{
|
||||
"gimp_curves_spline",
|
||||
"gimp-curves-spline",
|
||||
"gimp-curves-spline",
|
||||
"Modifies the intensity curve(s) for specified drawable.",
|
||||
"Modifies the intensity mapping for one channel in the specified drawable. The drawable must be either grayscale or RGB, and the channel can be either an intensity component, or the value. The 'control_pts' parameter is an array of integers which define a set of control points which describe a Catmull Rom spline which yields the final intensity curve. Use the 'gimp_curves_explicit' function to explicitly modify intensity levels.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -969,7 +979,8 @@ static ProcArg curves_explicit_inargs[] =
|
|||
|
||||
static ProcRecord curves_explicit_proc =
|
||||
{
|
||||
"gimp_curves_explicit",
|
||||
"gimp-curves-explicit",
|
||||
"gimp-curves-explicit",
|
||||
"Modifies the intensity curve(s) for specified drawable.",
|
||||
"Modifies the intensity mapping for one channel in the specified drawable. The drawable must be either grayscale or RGB, and the channel can be either an intensity component, or the value. The 'curve' parameter is an array of bytes which explicitly defines how each pixel value in the drawable will be modified. Use the 'gimp_curves_spline' function to modify intensity levels with Catmull Rom splines.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1099,7 +1110,8 @@ static ProcArg color_balance_inargs[] =
|
|||
|
||||
static ProcRecord color_balance_proc =
|
||||
{
|
||||
"gimp_color_balance",
|
||||
"gimp-color-balance",
|
||||
"gimp-color-balance",
|
||||
"Modify the color balance of the specified drawable.",
|
||||
"Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1209,7 +1221,8 @@ static ProcArg colorize_inargs[] =
|
|||
|
||||
static ProcRecord colorize_proc =
|
||||
{
|
||||
"gimp_colorize",
|
||||
"gimp-colorize",
|
||||
"gimp-colorize",
|
||||
"Render the drawable as a grayscale image seen through a colored glass.",
|
||||
"Desatures the drawable, then tints it with the specified color. This tool is only valid on RGB color images. It will not operate on grayscale or indexed drawables.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1365,7 +1378,8 @@ static ProcArg histogram_outargs[] =
|
|||
|
||||
static ProcRecord histogram_proc =
|
||||
{
|
||||
"gimp_histogram",
|
||||
"gimp-histogram",
|
||||
"gimp-histogram",
|
||||
"Returns information on the intensity histogram for the specified drawable.",
|
||||
"This tool makes it possible to gather information about the intensity histogram of a drawable. A channel to examine is first specified. This can be either value, red, green, or blue, depending on whether the drawable is of type color or grayscale. The drawable may not be indexed. Second, a range of intensities are specified. The gimp_histogram function returns statistics based on the pixels in the drawable that fall under this range of values. Mean, standard deviation, median, number of pixels, and percentile are all returned. Additionally, the total count of pixels in the image is returned. Counts of pixels are weighted by any associated alpha values and by the current selection mask. That is, pixels that lie outside an active selection mask will not be counted. Similarly, pixels with transparent alpha values will not be counted.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1486,7 +1500,8 @@ static ProcArg hue_saturation_inargs[] =
|
|||
|
||||
static ProcRecord hue_saturation_proc =
|
||||
{
|
||||
"gimp_hue_saturation",
|
||||
"gimp-hue-saturation",
|
||||
"gimp-hue-saturation",
|
||||
"Modify hue, lightness, and saturation in the specified drawable.",
|
||||
"This procedures allows the hue, lightness, and saturation in the specified drawable to be modified. The 'hue_range' parameter provides the capability to limit range of affected hues.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1583,7 +1598,8 @@ static ProcArg threshold_inargs[] =
|
|||
|
||||
static ProcRecord threshold_proc =
|
||||
{
|
||||
"gimp_threshold",
|
||||
"gimp-threshold",
|
||||
"gimp-threshold",
|
||||
"Threshold the specified drawable.",
|
||||
"This procedures generates a threshold map of the specified drawable. All pixels between the values of 'low_threshold' and 'high_threshold' are replaced with white, and all other pixels with black.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -105,7 +105,8 @@ context_push_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord context_push_proc =
|
||||
{
|
||||
"gimp_context_push",
|
||||
"gimp-context-push",
|
||||
"gimp-context-push",
|
||||
"Pushes a context to the top of the plug-in's context stack.",
|
||||
"This procedure creates a new context by copying the current context. This copy becomes the new current context for the calling plug-in until it is popped again.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -140,7 +141,8 @@ context_pop_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord context_pop_proc =
|
||||
{
|
||||
"gimp_context_pop",
|
||||
"gimp-context-pop",
|
||||
"gimp-context-pop",
|
||||
"Pops the topmost context from the plug-in's context stack.",
|
||||
"This procedure creates a new context and makes it the current context for the calling plug-in.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -183,7 +185,8 @@ static ProcArg context_get_foreground_outargs[] =
|
|||
|
||||
static ProcRecord context_get_foreground_proc =
|
||||
{
|
||||
"gimp_context_get_foreground",
|
||||
"gimp-context-get-foreground",
|
||||
"gimp-context-get-foreground",
|
||||
"Get the current GIMP foreground color.",
|
||||
"This procedure returns the current GIMP foreground color. The foreground color is used in a variety of tools such as paint tools, blending, and bucket fill.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -225,7 +228,8 @@ static ProcArg context_set_foreground_inargs[] =
|
|||
|
||||
static ProcRecord context_set_foreground_proc =
|
||||
{
|
||||
"gimp_context_set_foreground",
|
||||
"gimp-context-set-foreground",
|
||||
"gimp-context-set-foreground",
|
||||
"Set the current GIMP foreground color.",
|
||||
"This procedure sets the current GIMP foreground color. After this is set, operations which use foreground such as paint tools, blending, and bucket fill will use the new value.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -268,7 +272,8 @@ static ProcArg context_get_background_outargs[] =
|
|||
|
||||
static ProcRecord context_get_background_proc =
|
||||
{
|
||||
"gimp_context_get_background",
|
||||
"gimp-context-get-background",
|
||||
"gimp-context-get-background",
|
||||
"Get the current GIMP background color.",
|
||||
"This procedure returns the current GIMP background color. The background color is used in a variety of tools such as blending, erasing (with non-alpha images), and image filling.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -310,7 +315,8 @@ static ProcArg context_set_background_inargs[] =
|
|||
|
||||
static ProcRecord context_set_background_proc =
|
||||
{
|
||||
"gimp_context_set_background",
|
||||
"gimp-context-set-background",
|
||||
"gimp-context-set-background",
|
||||
"Set the current GIMP background color.",
|
||||
"This procedure sets the current GIMP background color. After this is set, operations which use background such as blending, filling images, clearing, and erasing (in non-alpha images) will use the new value.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -337,7 +343,8 @@ context_set_default_colors_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord context_set_default_colors_proc =
|
||||
{
|
||||
"gimp_context_set_default_colors",
|
||||
"gimp-context-set-default-colors",
|
||||
"gimp-context-set-default-colors",
|
||||
"Set the current GIMP foreground and background colors to black and white.",
|
||||
"This procedure sets the current GIMP foreground and background colors to their initial default values, black and white.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -364,7 +371,8 @@ context_swap_colors_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord context_swap_colors_proc =
|
||||
{
|
||||
"gimp_context_swap_colors",
|
||||
"gimp-context-swap-colors",
|
||||
"gimp-context-swap-colors",
|
||||
"Swap the current GIMP foreground and background colors.",
|
||||
"This procedure swaps the current GIMP foreground and background colors, so that the new foreground color becomes the old background color and vice versa.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -404,7 +412,8 @@ static ProcArg context_get_opacity_outargs[] =
|
|||
|
||||
static ProcRecord context_get_opacity_proc =
|
||||
{
|
||||
"gimp_context_get_opacity",
|
||||
"gimp-context-get-opacity",
|
||||
"gimp-context-get-opacity",
|
||||
"Get the opacity.",
|
||||
"This procedure returns the opacity setting. The return value is a floating point number between 0 and 100.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -449,7 +458,8 @@ static ProcArg context_set_opacity_inargs[] =
|
|||
|
||||
static ProcRecord context_set_opacity_proc =
|
||||
{
|
||||
"gimp_context_set_opacity",
|
||||
"gimp-context-set-opacity",
|
||||
"gimp-context-set-opacity",
|
||||
"Set the opacity.",
|
||||
"This procedure modifies the opacity setting. The value should be a floating point number between 0 and 100.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -489,7 +499,8 @@ static ProcArg context_get_paint_mode_outargs[] =
|
|||
|
||||
static ProcRecord context_get_paint_mode_proc =
|
||||
{
|
||||
"gimp_context_get_paint_mode",
|
||||
"gimp-context-get-paint-mode",
|
||||
"gimp-context-get-paint-mode",
|
||||
"Get the paint mode.",
|
||||
"This procedure returns the paint-mode setting. The return value is an integer which corresponds to the values listed in the argument description.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -534,7 +545,8 @@ static ProcArg context_set_paint_mode_inargs[] =
|
|||
|
||||
static ProcRecord context_set_paint_mode_proc =
|
||||
{
|
||||
"gimp_context_set_paint_mode",
|
||||
"gimp-context-set-paint-mode",
|
||||
"gimp-context-set-paint-mode",
|
||||
"Set the paint mode.",
|
||||
"This procedure modifies the paint_mode setting.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -580,7 +592,8 @@ static ProcArg context_get_brush_outargs[] =
|
|||
|
||||
static ProcRecord context_get_brush_proc =
|
||||
{
|
||||
"gimp_context_get_brush",
|
||||
"gimp-context-get-brush",
|
||||
"gimp-context-get-brush",
|
||||
"Retrieve the currently active brush.",
|
||||
"This procedure returns the nme of the currently active brush. All paint operations and stroke operations use this brush to control the application of paint to the image.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -634,7 +647,8 @@ static ProcArg context_set_brush_inargs[] =
|
|||
|
||||
static ProcRecord context_set_brush_proc =
|
||||
{
|
||||
"gimp_context_set_brush",
|
||||
"gimp-context-set-brush",
|
||||
"gimp-context-set-brush",
|
||||
"Set the specified brush as the active brush.",
|
||||
"This procedure allows the active brush to be set by specifying its name. The name is simply a string which corresponds to one of the names of the installed brushes. If there is no matching brush found, this procedure will return an error. Otherwise, the specified brush becomes active and will be used in all subsequent paint operations.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -680,7 +694,8 @@ static ProcArg context_get_pattern_outargs[] =
|
|||
|
||||
static ProcRecord context_get_pattern_proc =
|
||||
{
|
||||
"gimp_context_get_pattern",
|
||||
"gimp-context-get-pattern",
|
||||
"gimp-context-get-pattern",
|
||||
"Retrieve the currently active pattern.",
|
||||
"This procedure returns name of the the currently active pattern. All clone and bucket-fill operations with patterns will use this pattern to control the application of paint to the image.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -734,7 +749,8 @@ static ProcArg context_set_pattern_inargs[] =
|
|||
|
||||
static ProcRecord context_set_pattern_proc =
|
||||
{
|
||||
"gimp_context_set_pattern",
|
||||
"gimp-context-set-pattern",
|
||||
"gimp-context-set-pattern",
|
||||
"Set the specified pattern as the active pattern.",
|
||||
"This procedure allows the active pattern to be set by specifying its name. The name is simply a string which corresponds to one of the names of the installed patterns. If there is no matching pattern found, this procedure will return an error. Otherwise, the specified pattern becomes active and will be used in all subsequent paint operations.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -780,7 +796,8 @@ static ProcArg context_get_gradient_outargs[] =
|
|||
|
||||
static ProcRecord context_get_gradient_proc =
|
||||
{
|
||||
"gimp_context_get_gradient",
|
||||
"gimp-context-get-gradient",
|
||||
"gimp-context-get-gradient",
|
||||
"Retrieve the currently active gradient.",
|
||||
"This procedure returns the name of the currently active gradient.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -834,7 +851,8 @@ static ProcArg context_set_gradient_inargs[] =
|
|||
|
||||
static ProcRecord context_set_gradient_proc =
|
||||
{
|
||||
"gimp_context_set_gradient",
|
||||
"gimp-context-set-gradient",
|
||||
"gimp-context-set-gradient",
|
||||
"Sets the specified gradient as the active gradient.",
|
||||
"This procedure lets you set the specified gradient as the active or \"current\" one. The name is simply a string which corresponds to one of the loaded gradients. If no matching gradient is found, this procedure will return an error. Otherwise, the specified gradient will become active and will be used for subsequent custom gradient operations.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -880,7 +898,8 @@ static ProcArg context_get_palette_outargs[] =
|
|||
|
||||
static ProcRecord context_get_palette_proc =
|
||||
{
|
||||
"gimp_context_get_palette",
|
||||
"gimp-context-get-palette",
|
||||
"gimp-context-get-palette",
|
||||
"Retrieve the currently active palette.",
|
||||
"This procedure returns the name of the the currently active palette.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -934,7 +953,8 @@ static ProcArg context_set_palette_inargs[] =
|
|||
|
||||
static ProcRecord context_set_palette_proc =
|
||||
{
|
||||
"gimp_context_set_palette",
|
||||
"gimp-context-set-palette",
|
||||
"gimp-context-set-palette",
|
||||
"Set the specified palette as the active palette.",
|
||||
"This procedure allows the active palette to be set by specifying its name. The name is simply a string which corresponds to one of the names of the installed palettes. If no matching palette is found, this procedure will return an error. Otherwise, the specified palette becomes active and will be used in all subsequent palette operations.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -980,7 +1000,8 @@ static ProcArg context_get_font_outargs[] =
|
|||
|
||||
static ProcRecord context_get_font_proc =
|
||||
{
|
||||
"gimp_context_get_font",
|
||||
"gimp-context-get-font",
|
||||
"gimp-context-get-font",
|
||||
"Retrieve the currently active font.",
|
||||
"This procedure returns the name of the currently active font.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
@ -1034,7 +1055,8 @@ static ProcArg context_set_font_inargs[] =
|
|||
|
||||
static ProcRecord context_set_font_proc =
|
||||
{
|
||||
"gimp_context_set_font",
|
||||
"gimp-context-set-font",
|
||||
"gimp-context-set-font",
|
||||
"Set the specified font as the active font.",
|
||||
"This procedure allows the active font to be set by specifying its name. The name is simply a string which corresponds to one of the names of the installed fonts. If no matching font is found, this procedure will return an error. Otherwise, the specified font becomes active and will be used in all subsequent font operations.",
|
||||
"Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>",
|
||||
|
|
|
@ -80,7 +80,8 @@ static ProcArg image_convert_rgb_inargs[] =
|
|||
|
||||
static ProcRecord image_convert_rgb_proc =
|
||||
{
|
||||
"gimp_image_convert_rgb",
|
||||
"gimp-image-convert-rgb",
|
||||
"gimp-image-convert-rgb",
|
||||
"Convert specified image to RGB color",
|
||||
"This procedure converts the specified image to RGB color. This process requires an image of type GIMP_GRAY or GIMP_INDEXED. No image content is lost in this process aside from the colormap for an indexed image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -130,7 +131,8 @@ static ProcArg image_convert_grayscale_inargs[] =
|
|||
|
||||
static ProcRecord image_convert_grayscale_proc =
|
||||
{
|
||||
"gimp_image_convert_grayscale",
|
||||
"gimp-image-convert-grayscale",
|
||||
"gimp-image-convert-grayscale",
|
||||
"Convert specified image to grayscale (256 intensity levels)",
|
||||
"This procedure converts the specified image to grayscale with 8 bits per pixel (256 intensity levels). This process requires an image of type GIMP_RGB or GIMP_INDEXED.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -262,7 +264,8 @@ static ProcArg image_convert_indexed_inargs[] =
|
|||
|
||||
static ProcRecord image_convert_indexed_proc =
|
||||
{
|
||||
"gimp_image_convert_indexed",
|
||||
"gimp-image-convert-indexed",
|
||||
"gimp-image-convert-indexed",
|
||||
"Convert specified image to and Indexed image",
|
||||
"This procedure converts the specified image to 'indexed' color. This process requires an image of type GIMP_GRAY or GIMP_RGB. The 'palette_type' specifies what kind of palette to use, A type of '0' means to use an optimal palette of 'num_cols' generated from the colors in the image. A type of '1' means to re-use the previous palette (not currently implemented). A type of '2' means to use the so-called WWW-optimized palette. Type '3' means to use only black and white colors. A type of '4' means to use a palette from the gimp palettes directories. The 'dither type' specifies what kind of dithering to use. '0' means no dithering, '1' means standard Floyd-Steinberg error diffusion, '2' means Floyd-Steinberg error diffusion with reduced bleeding, '3' means dithering based on pixel location ('Fixed' dithering).",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -98,7 +98,8 @@ static ProcArg display_new_outargs[] =
|
|||
|
||||
static ProcRecord display_new_proc =
|
||||
{
|
||||
"gimp_display_new",
|
||||
"gimp-display-new",
|
||||
"gimp-display-new",
|
||||
"Create a new display for the specified image.",
|
||||
"Creates a new display for the specified image. If the image already has a display, another is added. Multiple displays are handled transparently by the GIMP. The newly created display is returned and can be subsequently destroyed with a call to 'gimp-display-delete'. This procedure only makes sense for use with the GIMP UI.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -143,7 +144,8 @@ static ProcArg display_delete_inargs[] =
|
|||
|
||||
static ProcRecord display_delete_proc =
|
||||
{
|
||||
"gimp_display_delete",
|
||||
"gimp-display-delete",
|
||||
"gimp-display-delete",
|
||||
"Delete the specified display.",
|
||||
"This procedure removes the specified display. If this is the last remaining display for the underlying image, then the image is deleted also.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -170,7 +172,8 @@ displays_flush_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord displays_flush_proc =
|
||||
{
|
||||
"gimp_displays_flush",
|
||||
"gimp-displays-flush",
|
||||
"gimp-displays-flush",
|
||||
"Flush all internal changes to the user interface",
|
||||
"This procedure takes no arguments and returns nothing except a success status. Its purpose is to flush all pending updates of image manipulations to the user interface. It should be called whenever appropriate.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -238,7 +241,8 @@ static ProcArg displays_reconnect_inargs[] =
|
|||
|
||||
static ProcRecord displays_reconnect_proc =
|
||||
{
|
||||
"gimp_displays_reconnect",
|
||||
"gimp-displays-reconnect",
|
||||
"gimp-displays-reconnect",
|
||||
"Reconnect displays from one image to another image.",
|
||||
"This procedure connects all displays of the old_image to the new_image. If the old_image has no display or new_image already has a display the reconnect is not performed and the procedure returns without success. You should rarely need to use this function.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -152,7 +152,8 @@ static ProcArg drawable_delete_inargs[] =
|
|||
|
||||
static ProcRecord drawable_delete_proc =
|
||||
{
|
||||
"gimp_drawable_delete",
|
||||
"gimp-drawable-delete",
|
||||
"gimp-drawable-delete",
|
||||
"Delete a drawable.",
|
||||
"This procedure deletes the specified drawable. This must not be done if the gimage containing this drawable was already deleted or if the drawable was already removed from the image. The only case in which this procedure is useful is if you want to get rid of a drawable which has not yet been added to an image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -209,7 +210,8 @@ static ProcArg drawable_is_layer_outargs[] =
|
|||
|
||||
static ProcRecord drawable_is_layer_proc =
|
||||
{
|
||||
"gimp_drawable_is_layer",
|
||||
"gimp-drawable-is-layer",
|
||||
"gimp-drawable-is-layer",
|
||||
"Returns whether the drawable is a layer.",
|
||||
"This procedure returns non-zero if the specified drawable is a layer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -266,7 +268,8 @@ static ProcArg drawable_is_layer_mask_outargs[] =
|
|||
|
||||
static ProcRecord drawable_is_layer_mask_proc =
|
||||
{
|
||||
"gimp_drawable_is_layer_mask",
|
||||
"gimp-drawable-is-layer-mask",
|
||||
"gimp-drawable-is-layer-mask",
|
||||
"Returns whether the drawable is a layer mask.",
|
||||
"This procedure returns non-zero if the specified drawable is a layer mask.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -323,7 +326,8 @@ static ProcArg drawable_is_channel_outargs[] =
|
|||
|
||||
static ProcRecord drawable_is_channel_proc =
|
||||
{
|
||||
"gimp_drawable_is_channel",
|
||||
"gimp-drawable-is-channel",
|
||||
"gimp-drawable-is-channel",
|
||||
"Returns whether the drawable is a channel.",
|
||||
"This procedure returns non-zero if the specified drawable is a channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -380,7 +384,8 @@ static ProcArg drawable_type_outargs[] =
|
|||
|
||||
static ProcRecord drawable_type_proc =
|
||||
{
|
||||
"gimp_drawable_type",
|
||||
"gimp-drawable-type",
|
||||
"gimp-drawable-type",
|
||||
"Returns the drawable's type.",
|
||||
"This procedure returns the drawable's type.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -437,7 +442,8 @@ static ProcArg drawable_type_with_alpha_outargs[] =
|
|||
|
||||
static ProcRecord drawable_type_with_alpha_proc =
|
||||
{
|
||||
"gimp_drawable_type_with_alpha",
|
||||
"gimp-drawable-type-with-alpha",
|
||||
"gimp-drawable-type-with-alpha",
|
||||
"Returns the drawable's type with alpha.",
|
||||
"This procedure returns the drawable's type as if had an alpha channel. If the type is currently Gray, for instance, the returned type would be GrayA. If the drawable already has an alpha channel, the drawable's type is simply returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -494,7 +500,8 @@ static ProcArg drawable_has_alpha_outargs[] =
|
|||
|
||||
static ProcRecord drawable_has_alpha_proc =
|
||||
{
|
||||
"gimp_drawable_has_alpha",
|
||||
"gimp-drawable-has-alpha",
|
||||
"gimp-drawable-has-alpha",
|
||||
"Returns non-zero if the drawable has an alpha channel.",
|
||||
"This procedure returns whether the specified drawable has an alpha channel. This can only be true for layers, and the associated type will be one of: { RGBA , GRAYA, INDEXEDA }.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -551,7 +558,8 @@ static ProcArg drawable_is_rgb_outargs[] =
|
|||
|
||||
static ProcRecord drawable_is_rgb_proc =
|
||||
{
|
||||
"gimp_drawable_is_rgb",
|
||||
"gimp-drawable-is-rgb",
|
||||
"gimp-drawable-is-rgb",
|
||||
"Returns whether the drawable is an RGB type.",
|
||||
"This procedure returns non-zero if the specified drawable is of type { RGB, RGBA }.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -608,7 +616,8 @@ static ProcArg drawable_is_gray_outargs[] =
|
|||
|
||||
static ProcRecord drawable_is_gray_proc =
|
||||
{
|
||||
"gimp_drawable_is_gray",
|
||||
"gimp-drawable-is-gray",
|
||||
"gimp-drawable-is-gray",
|
||||
"Returns whether the drawable is a grayscale type.",
|
||||
"This procedure returns non-zero if the specified drawable is of type { Gray, GrayA }.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -665,7 +674,8 @@ static ProcArg drawable_is_indexed_outargs[] =
|
|||
|
||||
static ProcRecord drawable_is_indexed_proc =
|
||||
{
|
||||
"gimp_drawable_is_indexed",
|
||||
"gimp-drawable-is-indexed",
|
||||
"gimp-drawable-is-indexed",
|
||||
"Returns whether the drawable is an indexed type.",
|
||||
"This procedure returns non-zero if the specified drawable is of type { Indexed, IndexedA }.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -722,7 +732,8 @@ static ProcArg drawable_bpp_outargs[] =
|
|||
|
||||
static ProcRecord drawable_bpp_proc =
|
||||
{
|
||||
"gimp_drawable_bpp",
|
||||
"gimp-drawable-bpp",
|
||||
"gimp-drawable-bpp",
|
||||
"Returns the bytes per pixel.",
|
||||
"This procedure returns the number of bytes per pixel (or the number of channels) for the specified drawable.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -779,7 +790,8 @@ static ProcArg drawable_width_outargs[] =
|
|||
|
||||
static ProcRecord drawable_width_proc =
|
||||
{
|
||||
"gimp_drawable_width",
|
||||
"gimp-drawable-width",
|
||||
"gimp-drawable-width",
|
||||
"Returns the width of the drawable.",
|
||||
"This procedure returns the specified drawable's width in pixels.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -836,7 +848,8 @@ static ProcArg drawable_height_outargs[] =
|
|||
|
||||
static ProcRecord drawable_height_proc =
|
||||
{
|
||||
"gimp_drawable_height",
|
||||
"gimp-drawable-height",
|
||||
"gimp-drawable-height",
|
||||
"Returns the height of the drawable.",
|
||||
"This procedure returns the specified drawable's height in pixels.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -906,7 +919,8 @@ static ProcArg drawable_offsets_outargs[] =
|
|||
|
||||
static ProcRecord drawable_offsets_proc =
|
||||
{
|
||||
"gimp_drawable_offsets",
|
||||
"gimp-drawable-offsets",
|
||||
"gimp-drawable-offsets",
|
||||
"Returns the offsets for the drawable.",
|
||||
"This procedure returns the specified drawable's offsets. This only makes sense if the drawable is a layer since channels are anchored. The offsets of a channel will be returned as 0.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -967,7 +981,8 @@ static ProcArg drawable_get_image_outargs[] =
|
|||
|
||||
static ProcRecord drawable_get_image_proc =
|
||||
{
|
||||
"gimp_drawable_get_image",
|
||||
"gimp-drawable-get-image",
|
||||
"gimp-drawable-get-image",
|
||||
"Returns the drawable's image.",
|
||||
"This procedure returns the drawable's image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1024,7 +1039,8 @@ static ProcArg drawable_set_image_inargs[] =
|
|||
|
||||
static ProcRecord drawable_set_image_proc =
|
||||
{
|
||||
"gimp_drawable_set_image",
|
||||
"gimp-drawable-set-image",
|
||||
"gimp-drawable-set-image",
|
||||
"This procedure is deprecated!",
|
||||
"This procedure is deprecated!",
|
||||
"",
|
||||
|
@ -1081,7 +1097,8 @@ static ProcArg drawable_get_name_outargs[] =
|
|||
|
||||
static ProcRecord drawable_get_name_proc =
|
||||
{
|
||||
"gimp_drawable_get_name",
|
||||
"gimp-drawable-get-name",
|
||||
"gimp-drawable-get-name",
|
||||
"Get the name of the specified drawable.",
|
||||
"This procedure returns the specified drawable's name.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1136,7 +1153,8 @@ static ProcArg drawable_set_name_inargs[] =
|
|||
|
||||
static ProcRecord drawable_set_name_proc =
|
||||
{
|
||||
"gimp_drawable_set_name",
|
||||
"gimp-drawable-set-name",
|
||||
"gimp-drawable-set-name",
|
||||
"Set the name of the specified drawable.",
|
||||
"This procedure sets the specified drawable's name.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1193,7 +1211,8 @@ static ProcArg drawable_get_visible_outargs[] =
|
|||
|
||||
static ProcRecord drawable_get_visible_proc =
|
||||
{
|
||||
"gimp_drawable_get_visible",
|
||||
"gimp-drawable-get-visible",
|
||||
"gimp-drawable-get-visible",
|
||||
"Get the visibility of the specified drawable.",
|
||||
"This procedure returns the specified drawable's visibility.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1246,7 +1265,8 @@ static ProcArg drawable_set_visible_inargs[] =
|
|||
|
||||
static ProcRecord drawable_set_visible_proc =
|
||||
{
|
||||
"gimp_drawable_set_visible",
|
||||
"gimp-drawable-set-visible",
|
||||
"gimp-drawable-set-visible",
|
||||
"Set the visibility of the specified drawable.",
|
||||
"This procedure sets the specified drawable's visibility.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1303,7 +1323,8 @@ static ProcArg drawable_get_linked_outargs[] =
|
|||
|
||||
static ProcRecord drawable_get_linked_proc =
|
||||
{
|
||||
"gimp_drawable_get_linked",
|
||||
"gimp-drawable-get-linked",
|
||||
"gimp-drawable-get-linked",
|
||||
"Get the linked state of the specified drawable.",
|
||||
"This procedure returns the specified drawable's linked state.",
|
||||
"Wolfgang Hofer",
|
||||
|
@ -1356,7 +1377,8 @@ static ProcArg drawable_set_linked_inargs[] =
|
|||
|
||||
static ProcRecord drawable_set_linked_proc =
|
||||
{
|
||||
"gimp_drawable_set_linked",
|
||||
"gimp-drawable-set-linked",
|
||||
"gimp-drawable-set-linked",
|
||||
"Set the linked state of the specified drawable.",
|
||||
"This procedure sets the specified drawable's linked state.",
|
||||
"Wolfgang Hofer",
|
||||
|
@ -1413,7 +1435,8 @@ static ProcArg drawable_get_tattoo_outargs[] =
|
|||
|
||||
static ProcRecord drawable_get_tattoo_proc =
|
||||
{
|
||||
"gimp_drawable_get_tattoo",
|
||||
"gimp-drawable-get-tattoo",
|
||||
"gimp-drawable-get-tattoo",
|
||||
"Get the tattoo of the specified drawable.",
|
||||
"This procedure returns the specified drawable's tattoo. A tattoo is a unique and permanent identifier attached to a drawable that can be used to uniquely identify a drawable within an image even between sessions",
|
||||
"Jay Cox",
|
||||
|
@ -1468,7 +1491,8 @@ static ProcArg drawable_set_tattoo_inargs[] =
|
|||
|
||||
static ProcRecord drawable_set_tattoo_proc =
|
||||
{
|
||||
"gimp_drawable_set_tattoo",
|
||||
"gimp-drawable-set-tattoo",
|
||||
"gimp-drawable-set-tattoo",
|
||||
"Set the tattoo of the specified drawable.",
|
||||
"This procedure sets the specified drawable's tattoo. A tattoo is a unique and permanent identifier attached to a drawable that can be used to uniquely identify a drawable within an image even between sessions",
|
||||
"Jay Cox",
|
||||
|
@ -1559,7 +1583,8 @@ static ProcArg drawable_mask_bounds_outargs[] =
|
|||
|
||||
static ProcRecord drawable_mask_bounds_proc =
|
||||
{
|
||||
"gimp_drawable_mask_bounds",
|
||||
"gimp-drawable-mask-bounds",
|
||||
"gimp-drawable-mask-bounds",
|
||||
"Find the bounding box of the current selection in relation to the specified drawable.",
|
||||
"This procedure returns whether there is a selection. If there is one, the upper left and lower righthand corners of its bounding box are returned. These coordinates are specified relative to the drawable's origin, and bounded by the drawable's extents. Please note that the pixel specified by the lower righthand coordinate of the bounding box is not part of the selection. The selection ends at the upper left corner of this pixel. This means the width of the selection can be calculated as (x2 - x1), its height as (y2 - y1). Note that the returned boolean does NOT correspond with the returned region being empty or not, it always returns whether the selection is non_empty. See gimp_drawable_mask_intersect() for a boolean return value which is more useful in most cases.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1650,7 +1675,8 @@ static ProcArg drawable_mask_intersect_outargs[] =
|
|||
|
||||
static ProcRecord drawable_mask_intersect_proc =
|
||||
{
|
||||
"gimp_drawable_mask_intersect",
|
||||
"gimp-drawable-mask-intersect",
|
||||
"gimp-drawable-mask-intersect",
|
||||
"Find the bounding box of the current selection in relation to the specified drawable.",
|
||||
"This procedure returns whether there is an intersection between the drawable and the selection. Unlike gimp_drawable_mask_bounds(), the intersection's bounds are returned as x, y, width, height. If there is no selection this function returns TRUE and the returned bounds are the extents of the whole drawable.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -1720,7 +1746,8 @@ static ProcArg drawable_merge_shadow_inargs[] =
|
|||
|
||||
static ProcRecord drawable_merge_shadow_proc =
|
||||
{
|
||||
"gimp_drawable_merge_shadow",
|
||||
"gimp-drawable-merge-shadow",
|
||||
"gimp-drawable-merge-shadow",
|
||||
"Merge the shadow buffer with the specified drawable.",
|
||||
"This procedure combines the contents of the image's shadow buffer (for temporary processing) with the specified drawable. The \"undo\" parameter specifies whether to add an undo step for the operation. Requesting no undo is useful for such applications as 'auto-apply'.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1797,7 +1824,8 @@ static ProcArg drawable_update_inargs[] =
|
|||
|
||||
static ProcRecord drawable_update_proc =
|
||||
{
|
||||
"gimp_drawable_update",
|
||||
"gimp-drawable-update",
|
||||
"gimp-drawable-update",
|
||||
"Update the specified region of the drawable.",
|
||||
"This procedure updates the specified region of the drawable. The (x, y) coordinate pair is relative to the drawable's origin, not to the image origin. Therefore, the entire drawable can be updated using (0, 0, width, height).",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1911,7 +1939,8 @@ static ProcArg drawable_get_pixel_outargs[] =
|
|||
|
||||
static ProcRecord drawable_get_pixel_proc =
|
||||
{
|
||||
"gimp_drawable_get_pixel",
|
||||
"gimp-drawable-get-pixel",
|
||||
"gimp-drawable-get-pixel",
|
||||
"Gets the value of the pixel at the specified coordinates.",
|
||||
"This procedure gets the pixel value at the specified coordinates. The 'num_channels' argument must always be equal to the bytes-per-pixel value for the specified drawable.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2014,7 +2043,8 @@ static ProcArg drawable_set_pixel_inargs[] =
|
|||
|
||||
static ProcRecord drawable_set_pixel_proc =
|
||||
{
|
||||
"gimp_drawable_set_pixel",
|
||||
"gimp-drawable-set-pixel",
|
||||
"gimp-drawable-set-pixel",
|
||||
"Sets the value of the pixel at the specified coordinates.",
|
||||
"This procedure sets the pixel value at the specified coordinates. The 'num_channels' argument must always be equal to the bytes-per-pixel value for the specified drawable. Note that this function is not undoable, you should use it only on drawables you just created yourself.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2069,7 +2099,8 @@ static ProcArg drawable_fill_inargs[] =
|
|||
|
||||
static ProcRecord drawable_fill_proc =
|
||||
{
|
||||
"gimp_drawable_fill",
|
||||
"gimp-drawable-fill",
|
||||
"gimp-drawable-fill",
|
||||
"Fill the drawable with the specified fill mode.",
|
||||
"This procedure fills the drawable with the fill mode. If the fill mode is foreground the current foreground color is used. If the fill mode is background, the current background color is used. If the fill type is white, then white is used. Transparent fill only affects layers with an alpha channel, in which case the alpha channel is set to transparent. If the drawable has no alpha channel, it is filled to white. No fill leaves the drawable's contents undefined. This procedure is unlike the bucket fill tool because it fills regardless of a selection",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2154,7 +2185,8 @@ static ProcArg drawable_offset_inargs[] =
|
|||
|
||||
static ProcRecord drawable_offset_proc =
|
||||
{
|
||||
"gimp_drawable_offset",
|
||||
"gimp-drawable-offset",
|
||||
"gimp-drawable-offset",
|
||||
"Offset the drawable by the specified amounts in the X and Y directions",
|
||||
"This procedure offsets the specified drawable by the amounts specified by 'offset_x' and 'offset_y'. If 'wrap_around' is set to TRUE, then portions of the drawable which are offset out of bounds are wrapped around. Alternatively, the undefined regions of the drawable can be filled with transparency or the background color, as specified by the 'fill_type' parameter.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2302,7 +2334,8 @@ static ProcArg drawable_thumbnail_outargs[] =
|
|||
|
||||
static ProcRecord drawable_thumbnail_proc =
|
||||
{
|
||||
"gimp_drawable_thumbnail",
|
||||
"gimp-drawable-thumbnail",
|
||||
"gimp-drawable-thumbnail",
|
||||
"Get a thumbnail of a drawable.",
|
||||
"This function gets data from which a thumbnail of a drawable preview can be created. Maximum x or y dimension is 512 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bytes in the image.",
|
||||
"Andy Thomas",
|
||||
|
@ -2488,7 +2521,8 @@ static ProcArg drawable_sub_thumbnail_outargs[] =
|
|||
|
||||
static ProcRecord drawable_sub_thumbnail_proc =
|
||||
{
|
||||
"gimp_drawable_sub_thumbnail",
|
||||
"gimp-drawable-sub-thumbnail",
|
||||
"gimp-drawable-sub-thumbnail",
|
||||
"Get a thumbnail of a sub-area of a drawable drawable.",
|
||||
"This function gets data from which a thumbnail of a drawable preview can be created. Maximum x or y dimension is 512 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bytes in the image.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -2558,7 +2592,8 @@ static ProcArg drawable_foreground_extract_inargs[] =
|
|||
|
||||
static ProcRecord drawable_foreground_extract_proc =
|
||||
{
|
||||
"gimp_drawable_foreground_extract",
|
||||
"gimp-drawable-foreground-extract",
|
||||
"gimp-drawable-foreground-extract",
|
||||
"Extract the foreground of a drawable using a given trimap.",
|
||||
"Image Segmentation by Uniform Color Clustering, see http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf",
|
||||
"Gerald Friedland <fland@inf.fu-berlin.de>, Kristian Jantz <jantz@inf.fu-berlin.de>, Sven Neumann <sven@gimp.org>",
|
||||
|
|
|
@ -167,7 +167,8 @@ static ProcArg drawable_transform_flip_simple_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_flip_simple_proc =
|
||||
{
|
||||
"gimp_drawable_transform_flip_simple",
|
||||
"gimp-drawable-transform-flip-simple",
|
||||
"gimp-drawable-transform-flip-simple",
|
||||
"Flip the specified drawable either vertically or horizontally.",
|
||||
"This procedure flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipped. If auto_center is set to true, the flip is around the selection's center. Otherwise, the coordinate of the axis needs to be specified. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipped drawable.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -333,7 +334,8 @@ static ProcArg drawable_transform_flip_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_flip_proc =
|
||||
{
|
||||
"gimp_drawable_transform_flip",
|
||||
"gimp-drawable-transform-flip",
|
||||
"gimp-drawable-transform-flip",
|
||||
"Flip the specified drawable around a given line.",
|
||||
"This procedure flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipped. The axis to flip around is specified by specifying two points from that line. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipped drawable. The clip results parameter specifies wheter current selection will affect the transform.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -473,7 +475,8 @@ static ProcArg drawable_transform_flip_default_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_flip_default_proc =
|
||||
{
|
||||
"gimp_drawable_transform_flip_default",
|
||||
"gimp-drawable-transform-flip-default",
|
||||
"gimp-drawable-transform-flip-default",
|
||||
"Flip the specified drawable around a given line.",
|
||||
"This procedure is a variant of gimp_drawable_transform_flip() which uses no interpolation/supersampling at all, or default values (depending on the 'interpolate' parameter).",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -668,7 +671,8 @@ static ProcArg drawable_transform_perspective_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_perspective_proc =
|
||||
{
|
||||
"gimp_drawable_transform_perspective",
|
||||
"gimp-drawable-transform-perspective",
|
||||
"gimp-drawable-transform-perspective",
|
||||
"Perform a possibly non-affine transformation on the specified drawable, with extra parameters.",
|
||||
"This procedure performs a possibly non-affine transformation on the specified drawable by allowing the corners of the original bounding box to be arbitrarily remapped to any values. The specified drawable is remapped if no selection exists. However, if a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then remapped as specified. The return value is the ID of the remapped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and remapped drawable. The 4 coordinates specify the new locations of each corner of the original bounding box. By specifying these values, any affine transformation (rotation, scaling, translation) can be affected. Additionally, these values can be specified such that the resulting transformed drawable will appear to have been projected via a perspective transform.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -837,7 +841,8 @@ static ProcArg drawable_transform_perspective_default_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_perspective_default_proc =
|
||||
{
|
||||
"gimp_drawable_transform_perspective_default",
|
||||
"gimp-drawable-transform-perspective-default",
|
||||
"gimp-drawable-transform-perspective-default",
|
||||
"Perform a possibly non-affine transformation on the specified drawable, with extra parameters.",
|
||||
"This procedure is a variant of gimp_drawable_transform_perspective() which uses no interpolation/supersampling at all, or default values (depending on the 'interpolate' parameter).",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -952,7 +957,8 @@ static ProcArg drawable_transform_rotate_simple_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_rotate_simple_proc =
|
||||
{
|
||||
"gimp_drawable_transform_rotate_simple",
|
||||
"gimp-drawable-transform-rotate-simple",
|
||||
"gimp-drawable-transform-rotate-simple",
|
||||
"Rotate the specified drawable about given coordinates through the specified angle.",
|
||||
"This function rotates the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then rotated by the specified amount. The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and rotated drawable.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -1121,7 +1127,8 @@ static ProcArg drawable_transform_rotate_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_rotate_proc =
|
||||
{
|
||||
"gimp_drawable_transform_rotate",
|
||||
"gimp-drawable-transform-rotate",
|
||||
"gimp-drawable-transform-rotate",
|
||||
"Rotate the specified drawable about given coordinates through the specified angle.",
|
||||
"This function rotates the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then rotated by the specified amount. The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and rotated drawable.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -1264,7 +1271,8 @@ static ProcArg drawable_transform_rotate_default_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_rotate_default_proc =
|
||||
{
|
||||
"gimp_drawable_transform_rotate_default",
|
||||
"gimp-drawable-transform-rotate-default",
|
||||
"gimp-drawable-transform-rotate-default",
|
||||
"Rotate the specified drawable about given coordinates through the specified angle.",
|
||||
"This procedure is a variant of gimp_drawable_transform_rotate() which uses no interpolation/supersampling at all, or default values (depending on the 'interpolate' parameter).",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -1433,7 +1441,8 @@ static ProcArg drawable_transform_scale_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_scale_proc =
|
||||
{
|
||||
"gimp_drawable_transform_scale",
|
||||
"gimp-drawable-transform-scale",
|
||||
"gimp-drawable-transform-scale",
|
||||
"Scale the specified drawable with extra parameters",
|
||||
"This procedure scales the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then scaled by the specified amount. The return value is the ID of the scaled drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and scaled drawable.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -1576,7 +1585,8 @@ static ProcArg drawable_transform_scale_default_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_scale_default_proc =
|
||||
{
|
||||
"gimp_drawable_transform_scale_default",
|
||||
"gimp-drawable-transform-scale-default",
|
||||
"gimp-drawable-transform-scale-default",
|
||||
"Scale the specified drawable with extra parameters",
|
||||
"This procedure is a variant of gimp_drawable_transform_scale() which uses no interpolation/supersampling at all, or default values (depending on the 'interpolate' parameter).",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -1729,7 +1739,8 @@ static ProcArg drawable_transform_shear_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_shear_proc =
|
||||
{
|
||||
"gimp_drawable_transform_shear",
|
||||
"gimp-drawable-transform-shear",
|
||||
"gimp-drawable-transform-shear",
|
||||
"Shear the specified drawable about its center by the specified magnitude, with extra parameters.",
|
||||
"This procedure shears the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then sheard by the specified amount. The return value is the ID of the sheard drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and sheard drawable. The shear type parameter indicates whether the shear will be applied horizontally or vertically. The magnitude can be either positive or negative and indicates the extent (in pixels) to shear by.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -1856,7 +1867,8 @@ static ProcArg drawable_transform_shear_default_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_shear_default_proc =
|
||||
{
|
||||
"gimp_drawable_transform_shear_default",
|
||||
"gimp-drawable-transform-shear-default",
|
||||
"gimp-drawable-transform-shear-default",
|
||||
"Shear the specified drawable about its center by the specified magnitude, with extra parameters.",
|
||||
"This procedure is a variant of gimp_drawable_transform_shear() which uses no interpolation/supersampling at all, or default values (depending on the 'interpolate' parameter).",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -2048,7 +2060,8 @@ static ProcArg drawable_transform_2d_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_2d_proc =
|
||||
{
|
||||
"gimp_drawable_transform_2d",
|
||||
"gimp-drawable-transform-2d",
|
||||
"gimp-drawable-transform-2d",
|
||||
"Transform the specified drawable in 2d, with extra parameters.",
|
||||
"This procedure transforms the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then transformed. The transformation is done by scaling the image by the x and y scale factors about the point (source_x, source_y), then rotating around the same point, then translating that point to the new position (dest_x, dest_y). The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and transformed drawable.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -2214,7 +2227,8 @@ static ProcArg drawable_transform_2d_default_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_2d_default_proc =
|
||||
{
|
||||
"gimp_drawable_transform_2d_default",
|
||||
"gimp-drawable-transform-2d-default",
|
||||
"gimp-drawable-transform-2d-default",
|
||||
"Transform the specified drawable in 2d, with extra parameters.",
|
||||
"This procedure is a variant of gimp_drawable_transform_2d() which uses no interpolation/supersampling at all, or default values (depending on the 'interpolate' parameter).",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -2426,7 +2440,8 @@ static ProcArg drawable_transform_matrix_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_matrix_proc =
|
||||
{
|
||||
"gimp_drawable_transform_matrix",
|
||||
"gimp-drawable-transform-matrix",
|
||||
"gimp-drawable-transform-matrix",
|
||||
"Transform the specified drawable in 2d, with extra parameters.",
|
||||
"This procedure transforms the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then transformed. The transformation is done by assembling a 3x3 matrix from the coefficients passed. The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and transformed drawable.",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
@ -2612,7 +2627,8 @@ static ProcArg drawable_transform_matrix_default_outargs[] =
|
|||
|
||||
static ProcRecord drawable_transform_matrix_default_proc =
|
||||
{
|
||||
"gimp_drawable_transform_matrix_default",
|
||||
"gimp-drawable-transform-matrix-default",
|
||||
"gimp-drawable-transform-matrix-default",
|
||||
"Transform the specified drawable in 2d, with extra parameters.",
|
||||
"This procedure is a variant of gimp_drawable_transform_matrix() which uses no interpolation/supersampling at all, or default values (depending on the 'interpolate' parameter).",
|
||||
"Jo\xc3\xa3o S. O. Bueno Calligaris",
|
||||
|
|
|
@ -117,7 +117,8 @@ static ProcArg edit_cut_outargs[] =
|
|||
|
||||
static ProcRecord edit_cut_proc =
|
||||
{
|
||||
"gimp_edit_cut",
|
||||
"gimp-edit-cut",
|
||||
"gimp-edit-cut",
|
||||
"Cut from the specified drawable.",
|
||||
"If there is a selection in the image, then the area specified by the selection is cut from the specified drawable and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the specified drawable will be removed and its contents stored in the internal GIMP edit buffer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -187,7 +188,8 @@ static ProcArg edit_copy_outargs[] =
|
|||
|
||||
static ProcRecord edit_copy_proc =
|
||||
{
|
||||
"gimp_edit_copy",
|
||||
"gimp-edit-copy",
|
||||
"gimp-edit-copy",
|
||||
"Copy from the specified drawable.",
|
||||
"If there is a selection in the image, then the area specified by the selection is copied from the specified drawable and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the specified drawable's contents will be stored in the internal GIMP edit buffer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -250,7 +252,8 @@ static ProcArg edit_copy_visible_outargs[] =
|
|||
|
||||
static ProcRecord edit_copy_visible_proc =
|
||||
{
|
||||
"gimp_edit_copy_visible",
|
||||
"gimp-edit-copy-visible",
|
||||
"gimp-edit-copy-visible",
|
||||
"Copy from the projection.",
|
||||
"If there is a selection in the image, then the area specified by the selection is copied from the projection and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the projection's contents will be stored in the internal GIMP edit buffer.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -331,7 +334,8 @@ static ProcArg edit_paste_outargs[] =
|
|||
|
||||
static ProcRecord edit_paste_proc =
|
||||
{
|
||||
"gimp_edit_paste",
|
||||
"gimp-edit-paste",
|
||||
"gimp-edit-paste",
|
||||
"Paste buffer to the specified drawable.",
|
||||
"This procedure pastes a copy of the internal GIMP edit buffer to the specified drawable. The GIMP edit buffer will be empty unless a call was previously made to either 'gimp-edit-cut' or 'gimp-edit-copy'. The \"paste_into\" option specifies whether to clear the current image selection, or to paste the buffer \"behind\" the selection. This allows the selection to act as a mask for the pasted buffer. Anywhere that the selection mask is non-zero, the pasted buffer will show through. The pasted buffer will be a new layer in the image which is designated as the image floating selection. If the image has a floating selection at the time of pasting, the old floating selection will be anchored to it's drawable before the new floating selection is added. This procedure returns the new floating layer. The resulting floating selection will already be attached to the specified drawable, and a subsequent call to floating_sel_attach is not needed.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -385,7 +389,8 @@ static ProcArg edit_clear_inargs[] =
|
|||
|
||||
static ProcRecord edit_clear_proc =
|
||||
{
|
||||
"gimp_edit_clear",
|
||||
"gimp-edit-clear",
|
||||
"gimp-edit-clear",
|
||||
"Clear selected area of drawable.",
|
||||
"This procedure clears the specified drawable. If the drawable has an alpha channel, the cleared pixels will become transparent. If the drawable does not have an alpha channel, cleared pixels will be set to the background color. This procedure only affects regions within a selection if there is a selection active.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -449,7 +454,8 @@ static ProcArg edit_fill_inargs[] =
|
|||
|
||||
static ProcRecord edit_fill_proc =
|
||||
{
|
||||
"gimp_edit_fill",
|
||||
"gimp-edit-fill",
|
||||
"gimp-edit-fill",
|
||||
"Fill selected area of drawable.",
|
||||
"This procedure fills the specified drawable with the fill mode. If the fill mode is foreground, the current foreground color is used. If the fill mode is background, the current background color is used. Other fill modes should not be used. This procedure only affects regions within a selection if there is a selection active. If you want to fill the whole drawable, regardless of the selection, use gimp_drawable_fill().",
|
||||
"Spencer Kimball & Peter Mattis & Raphael Quinet",
|
||||
|
@ -574,7 +580,8 @@ static ProcArg edit_bucket_fill_inargs[] =
|
|||
|
||||
static ProcRecord edit_bucket_fill_proc =
|
||||
{
|
||||
"gimp_edit_bucket_fill",
|
||||
"gimp-edit-bucket-fill",
|
||||
"gimp-edit-bucket-fill",
|
||||
"Fill the area specified either by the current selection if there is one, or by a seed fill starting at the specified coordinates.",
|
||||
"This tool requires information on the paint application mode, and the fill mode, which can either be in the foreground color, or in the currently active pattern. If there is no selection, a seed fill is executed at the specified coordinates and extends outward in keeping with the threshold parameter. If there is a selection in the target image, the threshold, sample merged, x, and y arguments are unused. If the sample_merged parameter is non-zero, the data of the composite image will be used instead of that for the specified drawable. This is equivalent to sampling for colors after merging all visible layers. In the case of merged sampling, the x and y coordinates are relative to the image's origin; otherwise, they are relative to the drawable's origin.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -778,7 +785,8 @@ static ProcArg edit_blend_inargs[] =
|
|||
|
||||
static ProcRecord edit_blend_proc =
|
||||
{
|
||||
"gimp_edit_blend",
|
||||
"gimp-edit-blend",
|
||||
"gimp-edit-blend",
|
||||
"Blend between the starting and ending coordinates with the specified blend mode and gradient type.",
|
||||
"This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -838,7 +846,8 @@ static ProcArg edit_stroke_inargs[] =
|
|||
|
||||
static ProcRecord edit_stroke_proc =
|
||||
{
|
||||
"gimp_edit_stroke",
|
||||
"gimp-edit-stroke",
|
||||
"gimp-edit-stroke",
|
||||
"Stroke the current selection",
|
||||
"This procedure strokes the current selection, painting along the selection boundary with the active brush and foreground color. The paint is applied to the specified drawable regardless of the active selection.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -153,7 +153,8 @@ static ProcArg file_load_outargs[] =
|
|||
|
||||
static ProcRecord file_load_proc =
|
||||
{
|
||||
"gimp_file_load",
|
||||
"gimp-file-load",
|
||||
"gimp-file-load",
|
||||
"Loads a file by invoking the right load handler.",
|
||||
"This procedure invokes the correct file load handler using magic if possible, and falling back on the file's extension and/or prefix if not. The name of the file to load is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ he wants to fetch a URL, and the full pathname will not look like a URL.\"",
|
||||
"Josh MacDonald",
|
||||
|
@ -242,7 +243,8 @@ static ProcArg file_save_inargs[] =
|
|||
|
||||
static ProcRecord file_save_proc =
|
||||
{
|
||||
"gimp_file_save",
|
||||
"gimp-file-save",
|
||||
"gimp-file-save",
|
||||
"Saves a file by extension.",
|
||||
"This procedure invokes the correct file save handler according to the file's extension and/or prefix. The name of the file to save is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ she wants to fetch a URL, and the full pathname will not look like a URL.",
|
||||
"Josh MacDonald",
|
||||
|
@ -375,7 +377,8 @@ static ProcArg file_load_thumbnail_outargs[] =
|
|||
|
||||
static ProcRecord file_load_thumbnail_proc =
|
||||
{
|
||||
"gimp_file_load_thumbnail",
|
||||
"gimp-file-load-thumbnail",
|
||||
"gimp-file-load-thumbnail",
|
||||
"Loads the thumbnail for a file.",
|
||||
"This procedure tries to load a thumbnail that belongs to the file with the given filename. This name is a full pathname. The returned data is an array of colordepth 3 (RGB), regardless of the image type. Width and height of the thumbnail are also returned. Don't use this function if you need a thumbnail of an already opened image, use gimp_image_thumbnail instead.",
|
||||
"Adam D. Moss, Sven Neumann",
|
||||
|
@ -459,7 +462,8 @@ static ProcArg file_save_thumbnail_inargs[] =
|
|||
|
||||
static ProcRecord file_save_thumbnail_proc =
|
||||
{
|
||||
"gimp_file_save_thumbnail",
|
||||
"gimp-file-save-thumbnail",
|
||||
"gimp-file-save-thumbnail",
|
||||
"Saves a thumbnail for the given image",
|
||||
"This procedure saves a thumbnail for the given image according to the Free Desktop Thumbnail Managing Standard. The thumbnail is saved so that it belongs to the file with the given filename. This means you have to save the image under this name first, otherwise this procedure will fail. This procedure may become useful if you want to explicitely save a thumbnail with a file.",
|
||||
"Josh MacDonald",
|
||||
|
@ -538,7 +542,8 @@ static ProcArg temp_name_outargs[] =
|
|||
|
||||
static ProcRecord temp_name_proc =
|
||||
{
|
||||
"gimp_temp_name",
|
||||
"gimp-temp-name",
|
||||
"gimp-temp-name",
|
||||
"Generates a unique filename.",
|
||||
"Generates a unique filename using the temp path supplied in the user's gimprc.",
|
||||
"Josh MacDonald",
|
||||
|
@ -579,9 +584,13 @@ register_magic_load_handler_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
gchar *canonical;
|
||||
|
||||
success = FALSE;
|
||||
|
||||
proc = procedural_db_lookup (gimp, name);
|
||||
canonical = gimp_canonicalize_identifier (name);
|
||||
|
||||
proc = procedural_db_lookup (gimp, canonical);
|
||||
|
||||
if (proc && ((proc->num_args < 3) ||
|
||||
(proc->num_values < 1) ||
|
||||
|
@ -591,17 +600,17 @@ register_magic_load_handler_invoker (Gimp *gimp,
|
|||
(proc->values[0].arg_type != GIMP_PDB_IMAGE)))
|
||||
{
|
||||
g_message ("load handler \"%s\" does not take the standard load handler args",
|
||||
name);
|
||||
canonical);
|
||||
goto done;
|
||||
}
|
||||
|
||||
file_proc = plug_ins_file_register_magic (gimp, name,
|
||||
file_proc = plug_ins_file_register_magic (gimp, canonical,
|
||||
extensions, prefixes, magics);
|
||||
|
||||
if (! file_proc)
|
||||
{
|
||||
g_message ("attempt to register nonexistent load handler \"%s\"",
|
||||
name);
|
||||
canonical);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
@ -610,7 +619,8 @@ register_magic_load_handler_invoker (Gimp *gimp,
|
|||
|
||||
success = TRUE;
|
||||
|
||||
done: ;
|
||||
done:
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
return procedural_db_return_args (®ister_magic_load_handler_proc, success);
|
||||
|
@ -642,7 +652,8 @@ static ProcArg register_magic_load_handler_inargs[] =
|
|||
|
||||
static ProcRecord register_magic_load_handler_proc =
|
||||
{
|
||||
"gimp_register_magic_load_handler",
|
||||
"gimp-register-magic-load-handler",
|
||||
"gimp-register-magic-load-handler",
|
||||
"Registers a file load handler procedure.",
|
||||
"Registers a procedural database procedure to be called to load files of a particular file format using magic file information.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -696,7 +707,8 @@ static ProcArg register_load_handler_inargs[] =
|
|||
|
||||
static ProcRecord register_load_handler_proc =
|
||||
{
|
||||
"gimp_register_load_handler",
|
||||
"gimp-register-load-handler",
|
||||
"gimp-register-load-handler",
|
||||
"Registers a file load handler procedure.",
|
||||
"Registers a procedural database procedure to be called to load files of a particular file format.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -734,9 +746,13 @@ register_save_handler_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
gchar *canonical;
|
||||
|
||||
success = FALSE;
|
||||
|
||||
proc = procedural_db_lookup (gimp, name);
|
||||
canonical = gimp_canonicalize_identifier (name);
|
||||
|
||||
proc = procedural_db_lookup (gimp, canonical);
|
||||
|
||||
if (proc && ((proc->num_args < 5) ||
|
||||
(proc->args[0].arg_type != GIMP_PDB_INT32) ||
|
||||
|
@ -746,17 +762,17 @@ register_save_handler_invoker (Gimp *gimp,
|
|||
(proc->args[4].arg_type != GIMP_PDB_STRING)))
|
||||
{
|
||||
g_message ("save handler \"%s\" does not take the standard save handler args",
|
||||
name);
|
||||
canonical);
|
||||
goto done;
|
||||
}
|
||||
|
||||
file_proc = plug_ins_file_register_magic (gimp, name,
|
||||
file_proc = plug_ins_file_register_magic (gimp, canonical,
|
||||
extensions, prefixes, NULL);
|
||||
|
||||
if (! file_proc)
|
||||
{
|
||||
g_message ("attempt to register nonexistent save handler \"%s\"",
|
||||
name);
|
||||
canonical);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
@ -765,7 +781,8 @@ register_save_handler_invoker (Gimp *gimp,
|
|||
|
||||
success = TRUE;
|
||||
|
||||
done: ;
|
||||
done:
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
return procedural_db_return_args (®ister_save_handler_proc, success);
|
||||
|
@ -792,7 +809,8 @@ static ProcArg register_save_handler_inargs[] =
|
|||
|
||||
static ProcRecord register_save_handler_proc =
|
||||
{
|
||||
"gimp_register_save_handler",
|
||||
"gimp-register-save-handler",
|
||||
"gimp-register-save-handler",
|
||||
"Registers a file save handler procedure.",
|
||||
"Registers a procedural database procedure to be called to save files in a particular file format.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -827,7 +845,13 @@ register_file_handler_mime_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
success = (plug_ins_file_register_mime (gimp, name, mime_type) != NULL);
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (name);
|
||||
|
||||
success = (plug_ins_file_register_mime (gimp, canonical, mime_type) != NULL);
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
return procedural_db_return_args (®ister_file_handler_mime_proc, success);
|
||||
|
@ -849,7 +873,8 @@ static ProcArg register_file_handler_mime_inargs[] =
|
|||
|
||||
static ProcRecord register_file_handler_mime_proc =
|
||||
{
|
||||
"gimp_register_file_handler_mime",
|
||||
"gimp-register-file-handler-mime",
|
||||
"gimp-register-file-handler-mime",
|
||||
"Associates a MIME type with a file handler procedure.",
|
||||
"Registers a MIME type for a file handler procedure. This allows GIMP to determine the MIME type of the file opened or saved using this procedure.",
|
||||
"Sven Neumann",
|
||||
|
@ -884,9 +909,14 @@ register_thumbnail_loader_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
success = (plug_ins_file_register_thumb_loader (gimp,
|
||||
load_proc,
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (load_proc);
|
||||
|
||||
success = (plug_ins_file_register_thumb_loader (gimp, canonical,
|
||||
thumb_proc) != NULL);
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
return procedural_db_return_args (®ister_thumbnail_loader_proc, success);
|
||||
|
@ -908,7 +938,8 @@ static ProcArg register_thumbnail_loader_inargs[] =
|
|||
|
||||
static ProcRecord register_thumbnail_loader_proc =
|
||||
{
|
||||
"gimp_register_thumbnail_loader",
|
||||
"gimp-register-thumbnail-loader",
|
||||
"gimp-register-thumbnail-loader",
|
||||
"Associates a thumbnail loader with a file load procedure.",
|
||||
"Some file formats allow for embedded thumbnails, other file formats contain a scalable image or provide the image data in different resolutions. A file plug-in for such a format may register a special procedure that allows GIMP to load a thumbnail preview of the image. This procedure is then associated with the standard load procedure using this function.",
|
||||
"Sven Neumann",
|
||||
|
|
|
@ -83,7 +83,8 @@ static ProcArg floating_sel_remove_inargs[] =
|
|||
|
||||
static ProcRecord floating_sel_remove_proc =
|
||||
{
|
||||
"gimp_floating_sel_remove",
|
||||
"gimp-floating-sel-remove",
|
||||
"gimp-floating-sel-remove",
|
||||
"Remove the specified floating selection from its associated drawable.",
|
||||
"This procedure removes the floating selection completely, without any side effects. The associated drawable is then set to active.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -133,7 +134,8 @@ static ProcArg floating_sel_anchor_inargs[] =
|
|||
|
||||
static ProcRecord floating_sel_anchor_proc =
|
||||
{
|
||||
"gimp_floating_sel_anchor",
|
||||
"gimp-floating-sel-anchor",
|
||||
"gimp-floating-sel-anchor",
|
||||
"Anchor the specified floating selection to its associated drawable.",
|
||||
"This procedure anchors the floating selection to its associated drawable. This is similar to merging with a merge type of ClipToBottomLayer. The floating selection layer is no longer valid after this operation.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -183,7 +185,8 @@ static ProcArg floating_sel_to_layer_inargs[] =
|
|||
|
||||
static ProcRecord floating_sel_to_layer_proc =
|
||||
{
|
||||
"gimp_floating_sel_to_layer",
|
||||
"gimp-floating-sel-to-layer",
|
||||
"gimp-floating-sel-to-layer",
|
||||
"Transforms the specified floating selection into a layer.",
|
||||
"This procedure transforms the specified floating selection into a layer with the same offsets and extents. The composited image will look precisely the same, but the floating selection layer will no longer be clipped to the extents of the drawable it was attached to. The floating selection will become the active layer. This procedure will not work if the floating selection has a different base type from the underlying image. This might be the case if the floating selection is above an auxillary channel or a layer mask.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -243,7 +246,8 @@ static ProcArg floating_sel_attach_inargs[] =
|
|||
|
||||
static ProcRecord floating_sel_attach_proc =
|
||||
{
|
||||
"gimp_floating_sel_attach",
|
||||
"gimp-floating-sel-attach",
|
||||
"gimp-floating-sel-attach",
|
||||
"Attach the specified layer as floating to the specified drawable.",
|
||||
"This procedure attaches the layer as floating selection to the drawable.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -301,7 +305,8 @@ static ProcArg floating_sel_rigor_inargs[] =
|
|||
|
||||
static ProcRecord floating_sel_rigor_proc =
|
||||
{
|
||||
"gimp_floating_sel_rigor",
|
||||
"gimp-floating-sel-rigor",
|
||||
"gimp-floating-sel-rigor",
|
||||
"Rigor the floating selection.",
|
||||
"This procedure rigors the floating selection.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -359,7 +364,8 @@ static ProcArg floating_sel_relax_inargs[] =
|
|||
|
||||
static ProcRecord floating_sel_relax_proc =
|
||||
{
|
||||
"gimp_floating_sel_relax",
|
||||
"gimp-floating-sel-relax",
|
||||
"gimp-floating-sel-relax",
|
||||
"Relax the floating selection.",
|
||||
"This procedure relaxes the floating selection.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -97,7 +97,8 @@ static ProcArg fonts_popup_inargs[] =
|
|||
|
||||
static ProcRecord fonts_popup_proc =
|
||||
{
|
||||
"gimp_fonts_popup",
|
||||
"gimp-fonts-popup",
|
||||
"gimp-fonts-popup",
|
||||
"Invokes the Gimp font selection.",
|
||||
"This procedure popups the font selection dialog.",
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
|
@ -147,7 +148,8 @@ static ProcArg fonts_close_popup_inargs[] =
|
|||
|
||||
static ProcRecord fonts_close_popup_proc =
|
||||
{
|
||||
"gimp_fonts_close_popup",
|
||||
"gimp-fonts-close-popup",
|
||||
"gimp-fonts-close-popup",
|
||||
"Popdown the Gimp font selection.",
|
||||
"This procedure closes an opened font selection dialog.",
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
|
@ -208,7 +210,8 @@ static ProcArg fonts_set_popup_inargs[] =
|
|||
|
||||
static ProcRecord fonts_set_popup_proc =
|
||||
{
|
||||
"gimp_fonts_set_popup",
|
||||
"gimp-fonts-set-popup",
|
||||
"gimp-fonts-set-popup",
|
||||
"Sets the current font selection in a popup.",
|
||||
"Sets the current font selection in a popup.",
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
|
|
|
@ -53,7 +53,8 @@ fonts_refresh_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord fonts_refresh_proc =
|
||||
{
|
||||
"gimp_fonts_refresh",
|
||||
"gimp-fonts-refresh",
|
||||
"gimp-fonts-refresh",
|
||||
"Refresh current fonts. This function always succeeds.",
|
||||
"This procedure retrieves all fonts currently in the user's font path and updates the font dialogs accordingly.",
|
||||
"Sven Neumann",
|
||||
|
@ -123,7 +124,8 @@ static ProcArg fonts_get_list_outargs[] =
|
|||
|
||||
static ProcRecord fonts_get_list_proc =
|
||||
{
|
||||
"gimp_fonts_get_list",
|
||||
"gimp-fonts-get-list",
|
||||
"gimp-fonts-get-list",
|
||||
"Retrieve the list of loaded fonts.",
|
||||
"This procedure returns a list of the fonts that are currently available.",
|
||||
"Sven Neumann",
|
||||
|
|
|
@ -109,68 +109,68 @@ procedural_db_init_procs (Gimp *gimp,
|
|||
}
|
||||
compat_procs[] =
|
||||
{
|
||||
{ "gimp_blend", "gimp_edit_blend" },
|
||||
{ "gimp_brushes_list", "gimp_brushes_get_list" },
|
||||
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
|
||||
{ "gimp_channel_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_channel_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_channel_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_channel_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_channel_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_channel_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_channel_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_color_picker", "gimp_image_pick_color" },
|
||||
{ "gimp_convert_grayscale", "gimp_image_convert_grayscale" },
|
||||
{ "gimp_convert_indexed", "gimp_image_convert_indexed" },
|
||||
{ "gimp_convert_rgb", "gimp_image_convert_rgb" },
|
||||
{ "gimp_crop", "gimp_image_crop" },
|
||||
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
|
||||
{ "gimp_drawable_image", "gimp_drawable_get_image" },
|
||||
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
|
||||
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
|
||||
{ "gimp_layer_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
|
||||
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_layer_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_layer_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_layer_mask", "gimp_layer_get_mask" },
|
||||
{ "gimp_layer_set_linked", "gimp_drawable_set_linked" },
|
||||
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
|
||||
{ "gimp_patterns_list", "gimp_patterns_get_list" },
|
||||
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
|
||||
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
|
||||
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
|
||||
{ "gimp-blend", "gimp-edit-blend" },
|
||||
{ "gimp-brushes-list", "gimp-brushes-get-list" },
|
||||
{ "gimp-bucket-fill", "gimp-edit-bucket-fill" },
|
||||
{ "gimp-channel-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-channel-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-channel-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-channel-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-channel-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-channel-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-channel-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-color-picker", "gimp-image-pick-color" },
|
||||
{ "gimp-convert-grayscale", "gimp-image-convert-grayscale" },
|
||||
{ "gimp-convert-indexed", "gimp-image-convert-indexed" },
|
||||
{ "gimp-convert-rgb", "gimp-image-convert-rgb" },
|
||||
{ "gimp-crop", "gimp-image-crop" },
|
||||
{ "gimp-drawable-bytes", "gimp-drawable-bpp" },
|
||||
{ "gimp-drawable-image", "gimp-drawable-get-image" },
|
||||
{ "gimp-image-active-drawable", "gimp-image-get-active-drawable" },
|
||||
{ "gimp-image-floating-selection", "gimp-image-get-floating-sel" },
|
||||
{ "gimp-layer-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-layer-get-linked", "gimp-drawable-get-linked" },
|
||||
{ "gimp-layer-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-layer-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-layer-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-layer-mask", "gimp-layer-get-mask" },
|
||||
{ "gimp-layer-set-linked", "gimp-drawable-set-linked" },
|
||||
{ "gimp-layer-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-layer-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-layer-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-palette-refresh", "gimp-palettes-refresh" },
|
||||
{ "gimp-patterns-list", "gimp-patterns-get-list" },
|
||||
{ "gimp-temp-PDB-name", "gimp-procedural-db-temp-name" },
|
||||
{ "gimp-undo-push-group-end", "gimp-image-undo-group-end" },
|
||||
{ "gimp-undo-push-group-start", "gimp-image-undo-group-start" },
|
||||
|
||||
/* deprecations since 2.0 */
|
||||
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
|
||||
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
|
||||
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
|
||||
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
|
||||
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
|
||||
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
|
||||
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
|
||||
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
|
||||
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
|
||||
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
|
||||
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
|
||||
{ "gimp_palette_get_background", "gimp_context_get_background" },
|
||||
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
|
||||
{ "gimp_palette_set_background", "gimp_context_set_background" },
|
||||
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
|
||||
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
|
||||
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
|
||||
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
|
||||
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
|
||||
{ "gimp_selection_clear", "gimp_selection_none" },
|
||||
{ "gimp-brushes-get-opacity", "gimp-context-get-opacity" },
|
||||
{ "gimp-brushes-get-paint-mode", "gimp-context-get-paint-mode" },
|
||||
{ "gimp-brushes-set-brush", "gimp-context-set-brush" },
|
||||
{ "gimp-brushes-set-opacity", "gimp-context-set-opacity" },
|
||||
{ "gimp-brushes-set-paint-mode", "gimp-context-set-paint-mode" },
|
||||
{ "gimp-channel-ops-duplicate", "gimp-image-duplicate" },
|
||||
{ "gimp-channel-ops-offset", "gimp-drawable-offset" },
|
||||
{ "gimp-gradients-get-active", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-get-gradient", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-set-active", "gimp-context-set-gradient" },
|
||||
{ "gimp-gradients-set-gradient", "gimp-context-set-gradient" },
|
||||
{ "gimp-image-get-cmap", "gimp-image-get-colormap" },
|
||||
{ "gimp-image-set-cmap", "gimp-image-set-colormap" },
|
||||
{ "gimp-palette-get-background", "gimp-context-get-background" },
|
||||
{ "gimp-palette-get-foreground", "gimp-context-get-foreground" },
|
||||
{ "gimp-palette-set-background", "gimp-context-set-background" },
|
||||
{ "gimp-palette-set-default-colors", "gimp-context-set-default-colors" },
|
||||
{ "gimp-palette-set-foreground", "gimp-context-set-foreground" },
|
||||
{ "gimp-palette-swap-colors", "gimp-context-swap-colors" },
|
||||
{ "gimp-palettes-set-palette", "gimp-context-set-palette" },
|
||||
{ "gimp-patterns-set-pattern", "gimp-context-set-pattern" },
|
||||
{ "gimp-selection-clear", "gimp-selection-none" },
|
||||
|
||||
/* deprecations since 2.2 */
|
||||
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
|
||||
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
|
||||
{ "gimp-layer-get-preserve-trans", "gimp-drawable-get-lock-alpha" },
|
||||
{ "gimp-layer-set-preserve-trans", "gimp-drawable-set-lock-alpha" }
|
||||
};
|
||||
|
||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||
|
|
|
@ -92,6 +92,7 @@ struct _ProcRecord
|
|||
{
|
||||
/* Procedure information */
|
||||
gchar *name; /* Procedure name */
|
||||
gchar *original_name; /* Procedure name before canonicalization */
|
||||
gchar *blurb; /* Short procedure description */
|
||||
gchar *help; /* Detailed help instructions */
|
||||
gchar *author; /* Author field */
|
||||
|
|
|
@ -109,68 +109,68 @@ procedural_db_init_procs (Gimp *gimp,
|
|||
}
|
||||
compat_procs[] =
|
||||
{
|
||||
{ "gimp_blend", "gimp_edit_blend" },
|
||||
{ "gimp_brushes_list", "gimp_brushes_get_list" },
|
||||
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
|
||||
{ "gimp_channel_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_channel_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_channel_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_channel_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_channel_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_channel_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_channel_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_color_picker", "gimp_image_pick_color" },
|
||||
{ "gimp_convert_grayscale", "gimp_image_convert_grayscale" },
|
||||
{ "gimp_convert_indexed", "gimp_image_convert_indexed" },
|
||||
{ "gimp_convert_rgb", "gimp_image_convert_rgb" },
|
||||
{ "gimp_crop", "gimp_image_crop" },
|
||||
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
|
||||
{ "gimp_drawable_image", "gimp_drawable_get_image" },
|
||||
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
|
||||
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
|
||||
{ "gimp_layer_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
|
||||
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_layer_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_layer_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_layer_mask", "gimp_layer_get_mask" },
|
||||
{ "gimp_layer_set_linked", "gimp_drawable_set_linked" },
|
||||
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
|
||||
{ "gimp_patterns_list", "gimp_patterns_get_list" },
|
||||
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
|
||||
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
|
||||
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
|
||||
{ "gimp-blend", "gimp-edit-blend" },
|
||||
{ "gimp-brushes-list", "gimp-brushes-get-list" },
|
||||
{ "gimp-bucket-fill", "gimp-edit-bucket-fill" },
|
||||
{ "gimp-channel-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-channel-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-channel-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-channel-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-channel-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-channel-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-channel-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-color-picker", "gimp-image-pick-color" },
|
||||
{ "gimp-convert-grayscale", "gimp-image-convert-grayscale" },
|
||||
{ "gimp-convert-indexed", "gimp-image-convert-indexed" },
|
||||
{ "gimp-convert-rgb", "gimp-image-convert-rgb" },
|
||||
{ "gimp-crop", "gimp-image-crop" },
|
||||
{ "gimp-drawable-bytes", "gimp-drawable-bpp" },
|
||||
{ "gimp-drawable-image", "gimp-drawable-get-image" },
|
||||
{ "gimp-image-active-drawable", "gimp-image-get-active-drawable" },
|
||||
{ "gimp-image-floating-selection", "gimp-image-get-floating-sel" },
|
||||
{ "gimp-layer-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-layer-get-linked", "gimp-drawable-get-linked" },
|
||||
{ "gimp-layer-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-layer-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-layer-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-layer-mask", "gimp-layer-get-mask" },
|
||||
{ "gimp-layer-set-linked", "gimp-drawable-set-linked" },
|
||||
{ "gimp-layer-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-layer-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-layer-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-palette-refresh", "gimp-palettes-refresh" },
|
||||
{ "gimp-patterns-list", "gimp-patterns-get-list" },
|
||||
{ "gimp-temp-PDB-name", "gimp-procedural-db-temp-name" },
|
||||
{ "gimp-undo-push-group-end", "gimp-image-undo-group-end" },
|
||||
{ "gimp-undo-push-group-start", "gimp-image-undo-group-start" },
|
||||
|
||||
/* deprecations since 2.0 */
|
||||
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
|
||||
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
|
||||
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
|
||||
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
|
||||
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
|
||||
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
|
||||
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
|
||||
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
|
||||
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
|
||||
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
|
||||
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
|
||||
{ "gimp_palette_get_background", "gimp_context_get_background" },
|
||||
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
|
||||
{ "gimp_palette_set_background", "gimp_context_set_background" },
|
||||
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
|
||||
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
|
||||
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
|
||||
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
|
||||
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
|
||||
{ "gimp_selection_clear", "gimp_selection_none" },
|
||||
{ "gimp-brushes-get-opacity", "gimp-context-get-opacity" },
|
||||
{ "gimp-brushes-get-paint-mode", "gimp-context-get-paint-mode" },
|
||||
{ "gimp-brushes-set-brush", "gimp-context-set-brush" },
|
||||
{ "gimp-brushes-set-opacity", "gimp-context-set-opacity" },
|
||||
{ "gimp-brushes-set-paint-mode", "gimp-context-set-paint-mode" },
|
||||
{ "gimp-channel-ops-duplicate", "gimp-image-duplicate" },
|
||||
{ "gimp-channel-ops-offset", "gimp-drawable-offset" },
|
||||
{ "gimp-gradients-get-active", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-get-gradient", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-set-active", "gimp-context-set-gradient" },
|
||||
{ "gimp-gradients-set-gradient", "gimp-context-set-gradient" },
|
||||
{ "gimp-image-get-cmap", "gimp-image-get-colormap" },
|
||||
{ "gimp-image-set-cmap", "gimp-image-set-colormap" },
|
||||
{ "gimp-palette-get-background", "gimp-context-get-background" },
|
||||
{ "gimp-palette-get-foreground", "gimp-context-get-foreground" },
|
||||
{ "gimp-palette-set-background", "gimp-context-set-background" },
|
||||
{ "gimp-palette-set-default-colors", "gimp-context-set-default-colors" },
|
||||
{ "gimp-palette-set-foreground", "gimp-context-set-foreground" },
|
||||
{ "gimp-palette-swap-colors", "gimp-context-swap-colors" },
|
||||
{ "gimp-palettes-set-palette", "gimp-context-set-palette" },
|
||||
{ "gimp-patterns-set-pattern", "gimp-context-set-pattern" },
|
||||
{ "gimp-selection-clear", "gimp-selection-none" },
|
||||
|
||||
/* deprecations since 2.2 */
|
||||
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
|
||||
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
|
||||
{ "gimp-layer-get-preserve-trans", "gimp-drawable-get-lock-alpha" },
|
||||
{ "gimp-layer-set-preserve-trans", "gimp-drawable-set-lock-alpha" }
|
||||
};
|
||||
|
||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||
|
|
|
@ -92,6 +92,7 @@ struct _ProcRecord
|
|||
{
|
||||
/* Procedure information */
|
||||
gchar *name; /* Procedure name */
|
||||
gchar *original_name; /* Procedure name before canonicalization */
|
||||
gchar *blurb; /* Short procedure description */
|
||||
gchar *help; /* Detailed help instructions */
|
||||
gchar *author; /* Author field */
|
||||
|
|
|
@ -56,6 +56,7 @@ plug_in_proc_def_free (PlugInProcDef *proc_def)
|
|||
g_return_if_fail (proc_def != NULL);
|
||||
|
||||
g_free (proc_def->db_info.name);
|
||||
g_free (proc_def->db_info.original_name);
|
||||
g_free (proc_def->db_info.blurb);
|
||||
g_free (proc_def->db_info.help);
|
||||
g_free (proc_def->db_info.author);
|
||||
|
|
|
@ -109,68 +109,68 @@ procedural_db_init_procs (Gimp *gimp,
|
|||
}
|
||||
compat_procs[] =
|
||||
{
|
||||
{ "gimp_blend", "gimp_edit_blend" },
|
||||
{ "gimp_brushes_list", "gimp_brushes_get_list" },
|
||||
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
|
||||
{ "gimp_channel_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_channel_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_channel_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_channel_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_channel_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_channel_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_channel_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_color_picker", "gimp_image_pick_color" },
|
||||
{ "gimp_convert_grayscale", "gimp_image_convert_grayscale" },
|
||||
{ "gimp_convert_indexed", "gimp_image_convert_indexed" },
|
||||
{ "gimp_convert_rgb", "gimp_image_convert_rgb" },
|
||||
{ "gimp_crop", "gimp_image_crop" },
|
||||
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
|
||||
{ "gimp_drawable_image", "gimp_drawable_get_image" },
|
||||
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
|
||||
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
|
||||
{ "gimp_layer_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
|
||||
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_layer_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_layer_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_layer_mask", "gimp_layer_get_mask" },
|
||||
{ "gimp_layer_set_linked", "gimp_drawable_set_linked" },
|
||||
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
|
||||
{ "gimp_patterns_list", "gimp_patterns_get_list" },
|
||||
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
|
||||
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
|
||||
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
|
||||
{ "gimp-blend", "gimp-edit-blend" },
|
||||
{ "gimp-brushes-list", "gimp-brushes-get-list" },
|
||||
{ "gimp-bucket-fill", "gimp-edit-bucket-fill" },
|
||||
{ "gimp-channel-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-channel-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-channel-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-channel-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-channel-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-channel-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-channel-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-color-picker", "gimp-image-pick-color" },
|
||||
{ "gimp-convert-grayscale", "gimp-image-convert-grayscale" },
|
||||
{ "gimp-convert-indexed", "gimp-image-convert-indexed" },
|
||||
{ "gimp-convert-rgb", "gimp-image-convert-rgb" },
|
||||
{ "gimp-crop", "gimp-image-crop" },
|
||||
{ "gimp-drawable-bytes", "gimp-drawable-bpp" },
|
||||
{ "gimp-drawable-image", "gimp-drawable-get-image" },
|
||||
{ "gimp-image-active-drawable", "gimp-image-get-active-drawable" },
|
||||
{ "gimp-image-floating-selection", "gimp-image-get-floating-sel" },
|
||||
{ "gimp-layer-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-layer-get-linked", "gimp-drawable-get-linked" },
|
||||
{ "gimp-layer-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-layer-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-layer-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-layer-mask", "gimp-layer-get-mask" },
|
||||
{ "gimp-layer-set-linked", "gimp-drawable-set-linked" },
|
||||
{ "gimp-layer-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-layer-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-layer-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-palette-refresh", "gimp-palettes-refresh" },
|
||||
{ "gimp-patterns-list", "gimp-patterns-get-list" },
|
||||
{ "gimp-temp-PDB-name", "gimp-procedural-db-temp-name" },
|
||||
{ "gimp-undo-push-group-end", "gimp-image-undo-group-end" },
|
||||
{ "gimp-undo-push-group-start", "gimp-image-undo-group-start" },
|
||||
|
||||
/* deprecations since 2.0 */
|
||||
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
|
||||
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
|
||||
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
|
||||
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
|
||||
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
|
||||
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
|
||||
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
|
||||
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
|
||||
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
|
||||
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
|
||||
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
|
||||
{ "gimp_palette_get_background", "gimp_context_get_background" },
|
||||
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
|
||||
{ "gimp_palette_set_background", "gimp_context_set_background" },
|
||||
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
|
||||
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
|
||||
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
|
||||
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
|
||||
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
|
||||
{ "gimp_selection_clear", "gimp_selection_none" },
|
||||
{ "gimp-brushes-get-opacity", "gimp-context-get-opacity" },
|
||||
{ "gimp-brushes-get-paint-mode", "gimp-context-get-paint-mode" },
|
||||
{ "gimp-brushes-set-brush", "gimp-context-set-brush" },
|
||||
{ "gimp-brushes-set-opacity", "gimp-context-set-opacity" },
|
||||
{ "gimp-brushes-set-paint-mode", "gimp-context-set-paint-mode" },
|
||||
{ "gimp-channel-ops-duplicate", "gimp-image-duplicate" },
|
||||
{ "gimp-channel-ops-offset", "gimp-drawable-offset" },
|
||||
{ "gimp-gradients-get-active", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-get-gradient", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-set-active", "gimp-context-set-gradient" },
|
||||
{ "gimp-gradients-set-gradient", "gimp-context-set-gradient" },
|
||||
{ "gimp-image-get-cmap", "gimp-image-get-colormap" },
|
||||
{ "gimp-image-set-cmap", "gimp-image-set-colormap" },
|
||||
{ "gimp-palette-get-background", "gimp-context-get-background" },
|
||||
{ "gimp-palette-get-foreground", "gimp-context-get-foreground" },
|
||||
{ "gimp-palette-set-background", "gimp-context-set-background" },
|
||||
{ "gimp-palette-set-default-colors", "gimp-context-set-default-colors" },
|
||||
{ "gimp-palette-set-foreground", "gimp-context-set-foreground" },
|
||||
{ "gimp-palette-swap-colors", "gimp-context-swap-colors" },
|
||||
{ "gimp-palettes-set-palette", "gimp-context-set-palette" },
|
||||
{ "gimp-patterns-set-pattern", "gimp-context-set-pattern" },
|
||||
{ "gimp-selection-clear", "gimp-selection-none" },
|
||||
|
||||
/* deprecations since 2.2 */
|
||||
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
|
||||
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
|
||||
{ "gimp-layer-get-preserve-trans", "gimp-drawable-get-lock-alpha" },
|
||||
{ "gimp-layer-set-preserve-trans", "gimp-drawable-set-lock-alpha" }
|
||||
};
|
||||
|
||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||
|
|
|
@ -92,6 +92,7 @@ struct _ProcRecord
|
|||
{
|
||||
/* Procedure information */
|
||||
gchar *name; /* Procedure name */
|
||||
gchar *original_name; /* Procedure name before canonicalization */
|
||||
gchar *blurb; /* Short procedure description */
|
||||
gchar *help; /* Detailed help instructions */
|
||||
gchar *author; /* Author field */
|
||||
|
|
|
@ -110,7 +110,8 @@ static ProcArg gimprc_query_outargs[] =
|
|||
|
||||
static ProcRecord gimprc_query_proc =
|
||||
{
|
||||
"gimp_gimprc_query",
|
||||
"gimp-gimprc-query",
|
||||
"gimp-gimprc-query",
|
||||
"Queries the gimprc file parser for information on a specified token.",
|
||||
"This procedure is used to locate additional information contained in the gimprc file considered extraneous to the operation of the GIMP. Plug-ins that need configuration information can expect it will be stored in the user gimprc file and can use this procedure to retrieve it. This query procedure will return the value associated with the specified token. This corresponds _only_ to entries with the format: (<token> <value>). The value must be a string. Entries not corresponding to this format will cause warnings to be issued on gimprc parsing and will not be queryable.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -173,7 +174,8 @@ static ProcArg gimprc_set_inargs[] =
|
|||
|
||||
static ProcRecord gimprc_set_proc =
|
||||
{
|
||||
"gimp_gimprc_set",
|
||||
"gimp-gimprc-set",
|
||||
"gimp-gimprc-set",
|
||||
"Sets a gimprc token to a value and saves it in the gimprc.",
|
||||
"This procedure is used to add or change additional information in the gimprc file that is considered extraneous to the operation of the GIMP. Plug-ins that need configuration information can use this function to store it, and gimp_gimprc_query to retrieve it. This will accept _only_ string values in UTF-8 encoding.",
|
||||
"Seth Burgess",
|
||||
|
@ -216,7 +218,8 @@ static ProcArg get_default_comment_outargs[] =
|
|||
|
||||
static ProcRecord get_default_comment_proc =
|
||||
{
|
||||
"gimp_get_default_comment",
|
||||
"gimp-get-default-comment",
|
||||
"gimp-get-default-comment",
|
||||
"Get the default image comment as specified in the Preferences.",
|
||||
"Returns a copy of the default image comment.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -268,7 +271,8 @@ static ProcArg get_monitor_resolution_outargs[] =
|
|||
|
||||
static ProcRecord get_monitor_resolution_proc =
|
||||
{
|
||||
"gimp_get_monitor_resolution",
|
||||
"gimp-get-monitor-resolution",
|
||||
"gimp-get-monitor-resolution",
|
||||
"Get the monitor resolution as specified in the Preferences.",
|
||||
"Returns the resolution of the monitor in pixels/inch. This value is taken from the Preferences (or the windowing system if this is set in the Preferences) and there's no guarantee for the value to be reasonable.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -311,7 +315,8 @@ static ProcArg get_theme_dir_outargs[] =
|
|||
|
||||
static ProcRecord get_theme_dir_proc =
|
||||
{
|
||||
"gimp_get_theme_dir",
|
||||
"gimp-get-theme-dir",
|
||||
"gimp-get-theme-dir",
|
||||
"Get the directory of the current GUI theme.",
|
||||
"Returns a copy of the current GUI theme dir.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -354,7 +359,8 @@ static ProcArg get_color_configuration_outargs[] =
|
|||
|
||||
static ProcRecord get_color_configuration_proc =
|
||||
{
|
||||
"gimp_get_color_configuration",
|
||||
"gimp-get-color-configuration",
|
||||
"gimp-get-color-configuration",
|
||||
"Get a serialized version of the color management configuration.",
|
||||
"Returns a string that can be deserialized into a GimpColorConfig object representing the current color management configuration.",
|
||||
"Sven Neumann",
|
||||
|
@ -397,7 +403,8 @@ static ProcArg get_module_load_inhibit_outargs[] =
|
|||
|
||||
static ProcRecord get_module_load_inhibit_proc =
|
||||
{
|
||||
"gimp_get_module_load_inhibit",
|
||||
"gimp-get-module-load-inhibit",
|
||||
"gimp-get-module-load-inhibit",
|
||||
"Get the list of modules which should not be loaded.",
|
||||
"Returns a copy of the list of modules which should not be loaded.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -153,7 +153,8 @@ static ProcArg gradient_new_outargs[] =
|
|||
|
||||
static ProcRecord gradient_new_proc =
|
||||
{
|
||||
"gimp_gradient_new",
|
||||
"gimp-gradient-new",
|
||||
"gimp-gradient-new",
|
||||
"Creates a new gradient",
|
||||
"This procedure creates a new, uninitialized gradient",
|
||||
"Shlomi Fish",
|
||||
|
@ -229,7 +230,8 @@ static ProcArg gradient_duplicate_outargs[] =
|
|||
|
||||
static ProcRecord gradient_duplicate_proc =
|
||||
{
|
||||
"gimp_gradient_duplicate",
|
||||
"gimp-gradient-duplicate",
|
||||
"gimp-gradient-duplicate",
|
||||
"Duplicates a gradient",
|
||||
"This procedure creates an identical gradient by a different name",
|
||||
"Shlomi Fish",
|
||||
|
@ -298,7 +300,8 @@ static ProcArg gradient_is_editable_outargs[] =
|
|||
|
||||
static ProcRecord gradient_is_editable_proc =
|
||||
{
|
||||
"gimp_gradient_is_editable",
|
||||
"gimp-gradient-is-editable",
|
||||
"gimp-gradient-is-editable",
|
||||
"Tests if gradient can be edited",
|
||||
"Returns True if you have permission to change the gradient",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -377,7 +380,8 @@ static ProcArg gradient_rename_outargs[] =
|
|||
|
||||
static ProcRecord gradient_rename_proc =
|
||||
{
|
||||
"gimp_gradient_rename",
|
||||
"gimp-gradient-rename",
|
||||
"gimp-gradient-rename",
|
||||
"Rename a gradient",
|
||||
"This procedure renames a gradient",
|
||||
"Shlomi Fish",
|
||||
|
@ -443,7 +447,8 @@ static ProcArg gradient_delete_inargs[] =
|
|||
|
||||
static ProcRecord gradient_delete_proc =
|
||||
{
|
||||
"gimp_gradient_delete",
|
||||
"gimp-gradient-delete",
|
||||
"gimp-gradient-delete",
|
||||
"Deletes a gradient",
|
||||
"This procedure deletes a gradient",
|
||||
"Shlomi Fish",
|
||||
|
@ -563,7 +568,8 @@ static ProcArg gradient_get_uniform_samples_outargs[] =
|
|||
|
||||
static ProcRecord gradient_get_uniform_samples_proc =
|
||||
{
|
||||
"gimp_gradient_get_uniform_samples",
|
||||
"gimp-gradient-get-uniform-samples",
|
||||
"gimp-gradient-get-uniform-samples",
|
||||
"Sample the specified in uniform parts.",
|
||||
"This procedure samples the active gradient in the specified number of uniform parts. It returns a list of floating-point values which correspond to the RGBA values for each sample. The minimum number of samples to take is 2, in which case the returned colors will correspond to the { 0.0, 1.0 } positions in the gradient. For example, if the number of samples is 3, the procedure will return the colors at positions { 0.0, 0.5, 1.0 }.",
|
||||
"Federico Mena Quintero",
|
||||
|
@ -689,7 +695,8 @@ static ProcArg gradient_get_custom_samples_outargs[] =
|
|||
|
||||
static ProcRecord gradient_get_custom_samples_proc =
|
||||
{
|
||||
"gimp_gradient_get_custom_samples",
|
||||
"gimp-gradient-get-custom-samples",
|
||||
"gimp-gradient-get-custom-samples",
|
||||
"Sample the spacified gradient in custom positions.",
|
||||
"This procedure samples the active gradient in the specified number of points. The procedure will sample the gradient in the specified positions from the list. The left endpoint of the gradient corresponds to position 0.0, and the right endpoint corresponds to 1.0. The procedure returns a list of floating-point values which correspond to the RGBA values for each sample.",
|
||||
"Federico Mena Quintero",
|
||||
|
@ -790,7 +797,8 @@ static ProcArg gradient_segment_get_left_color_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_get_left_color_proc =
|
||||
{
|
||||
"gimp_gradient_segment_get_left_color",
|
||||
"gimp-gradient-segment-get-left-color",
|
||||
"gimp-gradient-segment-get-left-color",
|
||||
"Retrieves the left endpoint color of the specified gradient and segment",
|
||||
"This procedure retrieves the left endpoint color of the specified segment of the specified gradient.",
|
||||
"Shlomi Fish",
|
||||
|
@ -884,7 +892,8 @@ static ProcArg gradient_segment_set_left_color_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_set_left_color_proc =
|
||||
{
|
||||
"gimp_gradient_segment_set_left_color",
|
||||
"gimp-gradient-segment-set-left-color",
|
||||
"gimp-gradient-segment-set-left-color",
|
||||
"Retrieves the left endpoint color of the specified gradient and segment",
|
||||
"This procedure retrieves the left endpoint color of the specified segment of the specified gradient.",
|
||||
"Shlomi Fish",
|
||||
|
@ -985,7 +994,8 @@ static ProcArg gradient_segment_get_right_color_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_get_right_color_proc =
|
||||
{
|
||||
"gimp_gradient_segment_get_right_color",
|
||||
"gimp-gradient-segment-get-right-color",
|
||||
"gimp-gradient-segment-get-right-color",
|
||||
"Retrieves the right endpoint color of the specified gradient and segment",
|
||||
"This procedure retrieves the right endpoint color of the specified segment of the specified gradient.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1079,7 +1089,8 @@ static ProcArg gradient_segment_set_right_color_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_set_right_color_proc =
|
||||
{
|
||||
"gimp_gradient_segment_set_right_color",
|
||||
"gimp-gradient-segment-set-right-color",
|
||||
"gimp-gradient-segment-set-right-color",
|
||||
"Retrieves the right endpoint color of the specified gradient and segment",
|
||||
"This procedure retrieves the right endpoint color of the specified segment of the specified gradient.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1170,7 +1181,8 @@ static ProcArg gradient_segment_get_left_pos_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_get_left_pos_proc =
|
||||
{
|
||||
"gimp_gradient_segment_get_left_pos",
|
||||
"gimp-gradient-segment-get-left-pos",
|
||||
"gimp-gradient-segment-get-left-pos",
|
||||
"Retrieves the left endpoint position of the specified gradient and segment",
|
||||
"This procedure retrieves the left endpoint position of the specified segment of the specified gradient.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1272,7 +1284,8 @@ static ProcArg gradient_segment_set_left_pos_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_set_left_pos_proc =
|
||||
{
|
||||
"gimp_gradient_segment_set_left_pos",
|
||||
"gimp-gradient-segment-set-left-pos",
|
||||
"gimp-gradient-segment-set-left-pos",
|
||||
"Sets the left endpoint position of the specified gradient and segment",
|
||||
"This procedure sets the left endpoint position of the specified segment of the specified gradient. The final position will be between the position of the middle point to the left to the middle point of the current segement. This procedure returns the final position.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1363,7 +1376,8 @@ static ProcArg gradient_segment_get_middle_pos_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_get_middle_pos_proc =
|
||||
{
|
||||
"gimp_gradient_segment_get_middle_pos",
|
||||
"gimp-gradient-segment-get-middle-pos",
|
||||
"gimp-gradient-segment-get-middle-pos",
|
||||
"Retrieves the middle point position of the specified gradient and segment",
|
||||
"This procedure retrieves the middle point position of the specified segment of the specified gradient.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1465,7 +1479,8 @@ static ProcArg gradient_segment_set_middle_pos_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_set_middle_pos_proc =
|
||||
{
|
||||
"gimp_gradient_segment_set_middle_pos",
|
||||
"gimp-gradient-segment-set-middle-pos",
|
||||
"gimp-gradient-segment-set-middle-pos",
|
||||
"Sets the middle point position of the specified gradient and segment",
|
||||
"This procedure sets the middle point position of the specified segment of the specified gradient. The final position will be between the two endpoints of the segment. This procedure returns the final position.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1556,7 +1571,8 @@ static ProcArg gradient_segment_get_right_pos_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_get_right_pos_proc =
|
||||
{
|
||||
"gimp_gradient_segment_get_right_pos",
|
||||
"gimp-gradient-segment-get-right-pos",
|
||||
"gimp-gradient-segment-get-right-pos",
|
||||
"Retrieves the right endpoint position of the specified gradient and segment",
|
||||
"This procedure retrieves the right endpoint position of the specified segment of the specified gradient.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1658,7 +1674,8 @@ static ProcArg gradient_segment_set_right_pos_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_set_right_pos_proc =
|
||||
{
|
||||
"gimp_gradient_segment_set_right_pos",
|
||||
"gimp-gradient-segment-set-right-pos",
|
||||
"gimp-gradient-segment-set-right-pos",
|
||||
"Sets the right endpoint position of the specified gradient and segment",
|
||||
"This procedure sets the right endpoint position of the specified segment of the specified gradient. The final position will be between the position of the middle point of the current segment and the middle point of the segment to the right. This procedure returns the final position.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1750,7 +1767,8 @@ static ProcArg gradient_segment_get_blending_function_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_get_blending_function_proc =
|
||||
{
|
||||
"gimp_gradient_segment_get_blending_function",
|
||||
"gimp-gradient-segment-get-blending-function",
|
||||
"gimp-gradient-segment-get-blending-function",
|
||||
"Retrieves the gradient segment's blending function",
|
||||
"This procedure retrieves the blending function of the segment at the specified gradient name and segment index.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1842,7 +1860,8 @@ static ProcArg gradient_segment_get_coloring_type_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_get_coloring_type_proc =
|
||||
{
|
||||
"gimp_gradient_segment_get_coloring_type",
|
||||
"gimp-gradient-segment-get-coloring-type",
|
||||
"gimp-gradient-segment-get-coloring-type",
|
||||
"Retrieves the gradient segment's coloring type",
|
||||
"This procedure retrieves the coloring type of the segment at the specified gradient name and segment index.",
|
||||
"Shlomi Fish",
|
||||
|
@ -1957,7 +1976,8 @@ static ProcArg gradient_segment_range_set_blending_function_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_set_blending_function_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_set_blending_function",
|
||||
"gimp-gradient-segment-range-set-blending-function",
|
||||
"gimp-gradient-segment-range-set-blending-function",
|
||||
"Change the blending function of a segments range",
|
||||
"This function changes the blending function of a segment range to the specified blending function.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2072,7 +2092,8 @@ static ProcArg gradient_segment_range_set_coloring_type_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_set_coloring_type_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_set_coloring_type",
|
||||
"gimp-gradient-segment-range-set-coloring-type",
|
||||
"gimp-gradient-segment-range-set-coloring-type",
|
||||
"Change the coloring type of a segments range",
|
||||
"This function changes the coloring type of a segment range to the specified coloring type.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2177,7 +2198,8 @@ static ProcArg gradient_segment_range_flip_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_flip_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_flip",
|
||||
"gimp-gradient-segment-range-flip",
|
||||
"gimp-gradient-segment-range-flip",
|
||||
"Flip the segment range",
|
||||
"This function flips a segment range.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2293,7 +2315,8 @@ static ProcArg gradient_segment_range_replicate_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_replicate_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_replicate",
|
||||
"gimp-gradient-segment-range-replicate",
|
||||
"gimp-gradient-segment-range-replicate",
|
||||
"Replicate the segment range",
|
||||
"This function replicates a segment range a given number of times. Instead of the original segment range, several smaller scaled copies of it will appear in equal widths.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2398,7 +2421,8 @@ static ProcArg gradient_segment_range_split_midpoint_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_split_midpoint_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_split_midpoint",
|
||||
"gimp-gradient-segment-range-split-midpoint",
|
||||
"gimp-gradient-segment-range-split-midpoint",
|
||||
"Splits each segment in the segment range at midpoint",
|
||||
"This function splits each segment in the segment range at its midpoint.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2514,7 +2538,8 @@ static ProcArg gradient_segment_range_split_uniform_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_split_uniform_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_split_uniform",
|
||||
"gimp-gradient-segment-range-split-uniform",
|
||||
"gimp-gradient-segment-range-split-uniform",
|
||||
"Splits each segment in the segment range uniformly",
|
||||
"This function splits each segment in the segment range uniformly according to the number of times specified by the parameter.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2619,7 +2644,8 @@ static ProcArg gradient_segment_range_delete_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_delete_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_delete",
|
||||
"gimp-gradient-segment-range-delete",
|
||||
"gimp-gradient-segment-range-delete",
|
||||
"Delete the segment range",
|
||||
"This function deletes a segment range.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2723,7 +2749,8 @@ static ProcArg gradient_segment_range_redistribute_handles_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_redistribute_handles_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_redistribute_handles",
|
||||
"gimp-gradient-segment-range-redistribute-handles",
|
||||
"gimp-gradient-segment-range-redistribute-handles",
|
||||
"Uniformly redistribute the segment range's handles",
|
||||
"This function redistributes the handles of the specified segment range of the specified gradient, so they'll be evenly spaced.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2829,7 +2856,8 @@ static ProcArg gradient_segment_range_blend_colors_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_blend_colors_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_blend_colors",
|
||||
"gimp-gradient-segment-range-blend-colors",
|
||||
"gimp-gradient-segment-range-blend-colors",
|
||||
"Blend the colors of the segment range.",
|
||||
"This function blends the colors (but not the opacity) of the segments' range of the gradient. Using it, the colors' transition will be uniform across the range.",
|
||||
"Shlomi Fish",
|
||||
|
@ -2935,7 +2963,8 @@ static ProcArg gradient_segment_range_blend_opacity_inargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_blend_opacity_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_blend_opacity",
|
||||
"gimp-gradient-segment-range-blend-opacity",
|
||||
"gimp-gradient-segment-range-blend-opacity",
|
||||
"Blend the opacity of the segment range.",
|
||||
"This function blends the opacity (but not the colors) of the segments' range of the gradient. Using it, the opacity's transition will be uniform across the range.",
|
||||
"Shlomi Fish",
|
||||
|
@ -3076,7 +3105,8 @@ static ProcArg gradient_segment_range_move_outargs[] =
|
|||
|
||||
static ProcRecord gradient_segment_range_move_proc =
|
||||
{
|
||||
"gimp_gradient_segment_range_move",
|
||||
"gimp-gradient-segment-range-move",
|
||||
"gimp-gradient-segment-range-move",
|
||||
"Move the position of an entire segment range by a delta.",
|
||||
"This funtions moves the position of an entire segment range by a delta. The actual delta (which is returned) will be limited by the control points of the neighboring segments.",
|
||||
"Shlomi Fish",
|
||||
|
|
|
@ -110,7 +110,8 @@ static ProcArg gradients_popup_inargs[] =
|
|||
|
||||
static ProcRecord gradients_popup_proc =
|
||||
{
|
||||
"gimp_gradients_popup",
|
||||
"gimp-gradients-popup",
|
||||
"gimp-gradients-popup",
|
||||
"Invokes the Gimp gradients selection.",
|
||||
"This procedure popups the gradients selection dialog.",
|
||||
"Andy Thomas",
|
||||
|
@ -161,7 +162,8 @@ static ProcArg gradients_close_popup_inargs[] =
|
|||
|
||||
static ProcRecord gradients_close_popup_proc =
|
||||
{
|
||||
"gimp_gradients_close_popup",
|
||||
"gimp-gradients-close-popup",
|
||||
"gimp-gradients-close-popup",
|
||||
"Popdown the Gimp gradient selection.",
|
||||
"This procedure closes an opened gradient selection dialog.",
|
||||
"Andy Thomas",
|
||||
|
@ -223,7 +225,8 @@ static ProcArg gradients_set_popup_inargs[] =
|
|||
|
||||
static ProcRecord gradients_set_popup_proc =
|
||||
{
|
||||
"gimp_gradients_set_popup",
|
||||
"gimp-gradients-set-popup",
|
||||
"gimp-gradients-set-popup",
|
||||
"Sets the current gradient selection in a popup.",
|
||||
"Sets the current gradient selection in a popup.",
|
||||
"Andy Thomas",
|
||||
|
|
|
@ -62,7 +62,8 @@ gradients_refresh_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord gradients_refresh_proc =
|
||||
{
|
||||
"gimp_gradients_refresh",
|
||||
"gimp-gradients-refresh",
|
||||
"gimp-gradients-refresh",
|
||||
"Refresh current gradients. This function always succeeds.",
|
||||
"This procedure retrieves all gradients currently in the user's gradient path and updates the gradient dialogs accordingly.",
|
||||
"Michael Natterer",
|
||||
|
@ -132,9 +133,10 @@ static ProcArg gradients_get_list_outargs[] =
|
|||
|
||||
static ProcRecord gradients_get_list_proc =
|
||||
{
|
||||
"gimp_gradients_get_list",
|
||||
"gimp-gradients-get-list",
|
||||
"gimp-gradients-get-list",
|
||||
"Retrieve the list of loaded gradients.",
|
||||
"This procedure returns a list of the gradients that are currently loaded. You can later use the 'gimp_context_set_gradient' function to set the active gradient.",
|
||||
"This procedure returns a list of the gradients that are currently loaded. You can later use the 'gimp-context-set-gradient' function to set the active gradient.",
|
||||
"Federico Mena Quintero",
|
||||
"Federico Mena Quintero",
|
||||
"1997",
|
||||
|
@ -237,13 +239,14 @@ static ProcArg gradients_sample_uniform_outargs[] =
|
|||
|
||||
static ProcRecord gradients_sample_uniform_proc =
|
||||
{
|
||||
"gimp_gradients_sample_uniform",
|
||||
"This procedure is deprecated! Use 'gimp_gradient_get_uniform_samples' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_gradient_get_uniform_samples' instead.",
|
||||
"gimp-gradients-sample-uniform",
|
||||
"gimp-gradients-sample-uniform",
|
||||
"This procedure is deprecated! Use 'gimp-gradient-get-uniform-samples' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-gradient-get-uniform-samples' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_gradient_get_uniform_samples",
|
||||
"gimp-gradient-get-uniform-samples",
|
||||
GIMP_INTERNAL,
|
||||
2,
|
||||
gradients_sample_uniform_inargs,
|
||||
|
@ -346,13 +349,14 @@ static ProcArg gradients_sample_custom_outargs[] =
|
|||
|
||||
static ProcRecord gradients_sample_custom_proc =
|
||||
{
|
||||
"gimp_gradients_sample_custom",
|
||||
"This procedure is deprecated! Use 'gimp_gradient_get_custom_samples' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_gradient_get_custom_samples' instead.",
|
||||
"gimp-gradients-sample-custom",
|
||||
"gimp-gradients-sample-custom",
|
||||
"This procedure is deprecated! Use 'gimp-gradient-get-custom-samples' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-gradient-get-custom-samples' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_gradient_get_custom_samples",
|
||||
"gimp-gradient-get-custom-samples",
|
||||
GIMP_INTERNAL,
|
||||
3,
|
||||
gradients_sample_custom_inargs,
|
||||
|
@ -480,13 +484,14 @@ static ProcArg gradients_get_gradient_data_outargs[] =
|
|||
|
||||
static ProcRecord gradients_get_gradient_data_proc =
|
||||
{
|
||||
"gimp_gradients_get_gradient_data",
|
||||
"This procedure is deprecated! Use 'gimp_gradient_get_uniform_samples' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_gradient_get_uniform_samples' instead.",
|
||||
"gimp-gradients-get-gradient-data",
|
||||
"gimp-gradients-get-gradient-data",
|
||||
"This procedure is deprecated! Use 'gimp-gradient-get-uniform-samples' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-gradient-get-uniform-samples' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_gradient_get_uniform_samples",
|
||||
"gimp-gradient-get-uniform-samples",
|
||||
GIMP_INTERNAL,
|
||||
3,
|
||||
gradients_get_gradient_data_inargs,
|
||||
|
|
|
@ -113,7 +113,8 @@ static ProcArg image_add_hguide_outargs[] =
|
|||
|
||||
static ProcRecord image_add_hguide_proc =
|
||||
{
|
||||
"gimp_image_add_hguide",
|
||||
"gimp-image-add-hguide",
|
||||
"gimp-image-add-hguide",
|
||||
"Add a horizontal guide to an image.",
|
||||
"This procedure adds a horizontal guide to an image. It takes the input image and the y-position of the new guide as parameters. It returns the guide ID of the new guide.",
|
||||
"Adam D. Moss",
|
||||
|
@ -193,7 +194,8 @@ static ProcArg image_add_vguide_outargs[] =
|
|||
|
||||
static ProcRecord image_add_vguide_proc =
|
||||
{
|
||||
"gimp_image_add_vguide",
|
||||
"gimp-image-add-vguide",
|
||||
"gimp-image-add-vguide",
|
||||
"Add a vertical guide to an image.",
|
||||
"This procedure adds a vertical guide to an image. It takes the input image and the x-position of the new guide as parameters. It returns the guide ID of the new guide.",
|
||||
"Adam D. Moss",
|
||||
|
@ -261,7 +263,8 @@ static ProcArg image_delete_guide_inargs[] =
|
|||
|
||||
static ProcRecord image_delete_guide_proc =
|
||||
{
|
||||
"gimp_image_delete_guide",
|
||||
"gimp-image-delete-guide",
|
||||
"gimp-image-delete-guide",
|
||||
"Deletes a guide from an image.",
|
||||
"This procedure takes an image and a guide ID as input and removes the specified guide from the specified image.",
|
||||
"Adam D. Moss",
|
||||
|
@ -368,7 +371,8 @@ static ProcArg image_find_next_guide_outargs[] =
|
|||
|
||||
static ProcRecord image_find_next_guide_proc =
|
||||
{
|
||||
"gimp_image_find_next_guide",
|
||||
"gimp-image-find-next-guide",
|
||||
"gimp-image-find-next-guide",
|
||||
"Find next guide on an image.",
|
||||
"This procedure takes an image and a guide ID as input and finds the guide ID of the successor of the given guide ID in the image's guide list. If the supplied guide ID is 0, the procedure will return the first Guide. The procedure will return 0 if given the final guide ID as an argument or the image has no guides.",
|
||||
"Adam D. Moss",
|
||||
|
@ -453,7 +457,8 @@ static ProcArg image_get_guide_orientation_outargs[] =
|
|||
|
||||
static ProcRecord image_get_guide_orientation_proc =
|
||||
{
|
||||
"gimp_image_get_guide_orientation",
|
||||
"gimp-image-get-guide-orientation",
|
||||
"gimp-image-get-guide-orientation",
|
||||
"Get orientation of a guide on an image.",
|
||||
"This procedure takes an image and a guide ID as input and returns the orientations of the guide.",
|
||||
"Adam D. Moss",
|
||||
|
@ -538,7 +543,8 @@ static ProcArg image_get_guide_position_outargs[] =
|
|||
|
||||
static ProcRecord image_get_guide_position_proc =
|
||||
{
|
||||
"gimp_image_get_guide_position",
|
||||
"gimp-image-get-guide-position",
|
||||
"gimp-image-get-guide-position",
|
||||
"Get position of a guide on an image.",
|
||||
"This procedure takes an image and a guide ID as input and returns the position of the guide relative to the top or left of the image.",
|
||||
"Adam D. Moss",
|
||||
|
|
|
@ -84,7 +84,8 @@ static ProcArg help_inargs[] =
|
|||
|
||||
static ProcRecord help_proc =
|
||||
{
|
||||
"gimp_help",
|
||||
"gimp-help",
|
||||
"gimp-help",
|
||||
"Load a help page.",
|
||||
"This procedure loads the specified help page into the helpbrowser or what ever is configured as help viewer. The help page is identified by its domain and ID: if help_domain is NULL, we use the help_domain which was registered using the gimp-plugin-help-register procedure. If help_domain is NULL and no help domain was registered, the help domain of the main GIMP installation is used.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
|
|
@ -239,7 +239,8 @@ static ProcArg image_list_outargs[] =
|
|||
|
||||
static ProcRecord image_list_proc =
|
||||
{
|
||||
"gimp_image_list",
|
||||
"gimp-image-list",
|
||||
"gimp-image-list",
|
||||
"Returns the list of images currently open.",
|
||||
"This procedure returns the list of images currently open in the GIMP.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -323,7 +324,8 @@ static ProcArg image_new_outargs[] =
|
|||
|
||||
static ProcRecord image_new_proc =
|
||||
{
|
||||
"gimp_image_new",
|
||||
"gimp-image-new",
|
||||
"gimp-image-new",
|
||||
"Creates a new image with the specified width, height, and type.",
|
||||
"Creates a new image, undisplayed with the specified extents and type. A layer should be created and added before this image is displayed, or subsequent calls to 'gimp_display_new' with this image as an argument will fail. Layers can be created using the 'gimp_layer_new' commands. They can be added to an image using the 'gimp_image_add_layer' command.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -384,7 +386,8 @@ static ProcArg image_duplicate_outargs[] =
|
|||
|
||||
static ProcRecord image_duplicate_proc =
|
||||
{
|
||||
"gimp_image_duplicate",
|
||||
"gimp-image-duplicate",
|
||||
"gimp-image-duplicate",
|
||||
"Duplicate the specified image",
|
||||
"This procedure duplicates the specified image, copying all layers, channels, and image information.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -434,7 +437,8 @@ static ProcArg image_delete_inargs[] =
|
|||
|
||||
static ProcRecord image_delete_proc =
|
||||
{
|
||||
"gimp_image_delete",
|
||||
"gimp-image-delete",
|
||||
"gimp-image-delete",
|
||||
"Delete the specified image.",
|
||||
"If there are no displays associated with this image it will be deleted. This means that you can not delete an image through the PDB that was created by the user. If the associated display was however created through the PDB and you know the display ID, you may delete the display. Removal of the last associated display will then delete the image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -495,7 +499,8 @@ static ProcArg image_base_type_outargs[] =
|
|||
|
||||
static ProcRecord image_base_type_proc =
|
||||
{
|
||||
"gimp_image_base_type",
|
||||
"gimp-image-base-type",
|
||||
"gimp-image-base-type",
|
||||
"Get the base type of the image.",
|
||||
"This procedure returns the image's base type. Layers in the image must be of this subtype, but can have an optional alpha channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -552,7 +557,8 @@ static ProcArg image_width_outargs[] =
|
|||
|
||||
static ProcRecord image_width_proc =
|
||||
{
|
||||
"gimp_image_width",
|
||||
"gimp-image-width",
|
||||
"gimp-image-width",
|
||||
"Return the width of the image",
|
||||
"This procedure returns the image's width. This value is independent of any of the layers in this image. This is the \"canvas\" width.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -609,7 +615,8 @@ static ProcArg image_height_outargs[] =
|
|||
|
||||
static ProcRecord image_height_proc =
|
||||
{
|
||||
"gimp_image_height",
|
||||
"gimp-image-height",
|
||||
"gimp-image-height",
|
||||
"Return the height of the image",
|
||||
"This procedure returns the image's height. This value is independent of any of the layers in this image. This is the \"canvas\" height.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -654,7 +661,8 @@ static ProcArg image_free_shadow_inargs[] =
|
|||
|
||||
static ProcRecord image_free_shadow_proc =
|
||||
{
|
||||
"gimp_image_free_shadow",
|
||||
"gimp-image-free-shadow",
|
||||
"gimp-image-free-shadow",
|
||||
"Free the specified image's shadow data (if it exists).",
|
||||
"This procedure is intended as a memory saving device. If any shadow memory has been allocated, it will be freed automatically on a call to 'gimp_image_delete'.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -738,7 +746,8 @@ static ProcArg image_resize_inargs[] =
|
|||
|
||||
static ProcRecord image_resize_proc =
|
||||
{
|
||||
"gimp_image_resize",
|
||||
"gimp-image-resize",
|
||||
"gimp-image-resize",
|
||||
"Resize the image to the specified extents.",
|
||||
"This procedure resizes the image so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. No bounds checking is currently provided, so don't supply parameters that are out of bounds. All channels within the image are resized according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -785,7 +794,8 @@ static ProcArg image_resize_to_layers_inargs[] =
|
|||
|
||||
static ProcRecord image_resize_to_layers_proc =
|
||||
{
|
||||
"gimp_image_resize_to_layers",
|
||||
"gimp-image-resize-to-layers",
|
||||
"gimp-image-resize-to-layers",
|
||||
"Resize the image to fit all layers.",
|
||||
"This procedure resizes the image to the bounding box of all layers of the image. All channels within the image are resized to the new size; this includes the image selection mask. All layers within the image are repositioned to the new image area.",
|
||||
"Simon Budig",
|
||||
|
@ -854,7 +864,8 @@ static ProcArg image_scale_inargs[] =
|
|||
|
||||
static ProcRecord image_scale_proc =
|
||||
{
|
||||
"gimp_image_scale",
|
||||
"gimp-image-scale",
|
||||
"gimp-image-scale",
|
||||
"Scale the image to the specified extents.",
|
||||
"This procedure scales the image so that its new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. No bounds checking is currently provided, so don't supply parameters that are out of bounds. All channels within the image are scaled according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -949,7 +960,8 @@ static ProcArg image_crop_inargs[] =
|
|||
|
||||
static ProcRecord image_crop_proc =
|
||||
{
|
||||
"gimp_image_crop",
|
||||
"gimp-image-crop",
|
||||
"gimp-image-crop",
|
||||
"Crop the image to the specified extents.",
|
||||
"This procedure crops the image so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. All channels and layers within the image are cropped to the new image extents; this includes the image selection mask. If any parameters are out of range, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1006,7 +1018,8 @@ static ProcArg image_flip_inargs[] =
|
|||
|
||||
static ProcRecord image_flip_proc =
|
||||
{
|
||||
"gimp_image_flip",
|
||||
"gimp-image-flip",
|
||||
"gimp-image-flip",
|
||||
"Flips the image horizontally or vertically.",
|
||||
"This procedure flips (mirrors) the image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1063,7 +1076,8 @@ static ProcArg image_rotate_inargs[] =
|
|||
|
||||
static ProcRecord image_rotate_proc =
|
||||
{
|
||||
"gimp_image_rotate",
|
||||
"gimp-image-rotate",
|
||||
"gimp-image-rotate",
|
||||
"Rotates the image by the specified degrees.",
|
||||
"This procedure rotates the image.",
|
||||
"Michael Natterer",
|
||||
|
@ -1145,7 +1159,8 @@ static ProcArg image_get_layers_outargs[] =
|
|||
|
||||
static ProcRecord image_get_layers_proc =
|
||||
{
|
||||
"gimp_image_get_layers",
|
||||
"gimp-image-get-layers",
|
||||
"gimp-image-get-layers",
|
||||
"Returns the list of layers contained in the specified image.",
|
||||
"This procedure returns the list of layers contained in the specified image. The order of layers is from topmost to bottommost.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1227,7 +1242,8 @@ static ProcArg image_get_channels_outargs[] =
|
|||
|
||||
static ProcRecord image_get_channels_proc =
|
||||
{
|
||||
"gimp_image_get_channels",
|
||||
"gimp-image-get-channels",
|
||||
"gimp-image-get-channels",
|
||||
"Returns the list of channels contained in the specified image.",
|
||||
"This procedure returns the list of channels contained in the specified image. This does not include the selection mask, or layer masks. The order is from topmost to bottommost.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1309,7 +1325,8 @@ static ProcArg image_get_vectors_outargs[] =
|
|||
|
||||
static ProcRecord image_get_vectors_proc =
|
||||
{
|
||||
"gimp_image_get_vectors",
|
||||
"gimp-image-get-vectors",
|
||||
"gimp-image-get-vectors",
|
||||
"Returns the list of vectors contained in the specified image.",
|
||||
"This procedure returns the list of vectors contained in the specified image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1370,7 +1387,8 @@ static ProcArg image_get_active_drawable_outargs[] =
|
|||
|
||||
static ProcRecord image_get_active_drawable_proc =
|
||||
{
|
||||
"gimp_image_get_active_drawable",
|
||||
"gimp-image-get-active-drawable",
|
||||
"gimp-image-get-active-drawable",
|
||||
"Get the image's active drawable",
|
||||
"This procedure returns the ID of the image's active drawable. This can be either a layer, a channel, or a layer mask. The active drawable is specified by the active image channel. If that is -1, then by the active image layer. If the active image layer has a layer mask and the layer mask is in edit mode, then the layer mask is the active drawable.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1415,7 +1433,8 @@ static ProcArg image_unset_active_channel_inargs[] =
|
|||
|
||||
static ProcRecord image_unset_active_channel_proc =
|
||||
{
|
||||
"gimp_image_unset_active_channel",
|
||||
"gimp-image-unset-active-channel",
|
||||
"gimp-image-unset-active-channel",
|
||||
"Unsets the active channel in the specified image.",
|
||||
"If an active channel exists, it is unset. There then exists no active channel, and if desired, one can be set through a call to 'Set Active Channel'. No error is returned in the case of no existing active channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1476,7 +1495,8 @@ static ProcArg image_get_floating_sel_outargs[] =
|
|||
|
||||
static ProcRecord image_get_floating_sel_proc =
|
||||
{
|
||||
"gimp_image_get_floating_sel",
|
||||
"gimp-image-get-floating-sel",
|
||||
"gimp-image-get-floating-sel",
|
||||
"Return the floating selection of the image.",
|
||||
"This procedure returns the image's floating selection, if it exists. If it doesn't exist, -1 is returned as the layer ID.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1545,7 +1565,8 @@ static ProcArg image_floating_sel_attached_to_outargs[] =
|
|||
|
||||
static ProcRecord image_floating_sel_attached_to_proc =
|
||||
{
|
||||
"gimp_image_floating_sel_attached_to",
|
||||
"gimp-image-floating-sel-attached-to",
|
||||
"gimp-image-floating-sel-attached-to",
|
||||
"Return the drawable the floating selection is attached to.",
|
||||
"This procedure returns the drawable the image's floating selection is attached to, if it exists. If it doesn't exist, -1 is returned as the drawable ID.",
|
||||
"Wolfgang Hofer",
|
||||
|
@ -1671,7 +1692,8 @@ static ProcArg image_pick_color_outargs[] =
|
|||
|
||||
static ProcRecord image_pick_color_proc =
|
||||
{
|
||||
"gimp_image_pick_color",
|
||||
"gimp-image-pick-color",
|
||||
"gimp-image-pick-color",
|
||||
"Determine the color at the given drawable coordinates",
|
||||
"This tool determines the color at the specified coordinates. The returned color is an RGB triplet even for grayscale and indexed drawables. If the coordinates lie outside of the extents of the specified drawable, then an error is returned. If the drawable has an alpha channel, the algorithm examines the alpha value of the drawable at the coordinates. If the alpha value is completely transparent (0), then an error is returned. If the sample_merged parameter is non-zero, the data of the composite image will be used instead of that for the specified drawable. This is equivalent to sampling for colors after merging all visible layers. In the case of a merged sampling, the supplied drawable is ignored except for finding the image it belongs to.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1748,7 +1770,8 @@ static ProcArg image_pick_correlate_layer_outargs[] =
|
|||
|
||||
static ProcRecord image_pick_correlate_layer_proc =
|
||||
{
|
||||
"gimp_image_pick_correlate_layer",
|
||||
"gimp-image-pick-correlate-layer",
|
||||
"gimp-image-pick-correlate-layer",
|
||||
"Find the layer visible at the specified coordinates.",
|
||||
"This procedure finds the layer which is visible at the specified coordinates. Layers which do not qualify are those whose extents do not pass within the specified coordinates, or which are transparent at the specified coordinates. This procedure will return -1 if no layer is found.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1822,7 +1845,8 @@ static ProcArg image_add_layer_inargs[] =
|
|||
|
||||
static ProcRecord image_add_layer_proc =
|
||||
{
|
||||
"gimp_image_add_layer",
|
||||
"gimp-image-add-layer",
|
||||
"gimp-image-add-layer",
|
||||
"Add the specified layer to the image.",
|
||||
"This procedure adds the specified layer to the gimage at the given position. If the position is specified as -1, then the layer is inserted at the top of the layer stack. If the layer to be added has no alpha channel, it must be added at position 0. The layer type must be compatible with the image base type.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1877,7 +1901,8 @@ static ProcArg image_remove_layer_inargs[] =
|
|||
|
||||
static ProcRecord image_remove_layer_proc =
|
||||
{
|
||||
"gimp_image_remove_layer",
|
||||
"gimp-image-remove-layer",
|
||||
"gimp-image-remove-layer",
|
||||
"Remove the specified layer from the image.",
|
||||
"This procedure removes the specified layer from the image. If the layer doesn't exist, an error is returned. If there are no layers left in the image, this call will fail. If this layer is the last layer remaining, the image will become empty and have no active layer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1932,7 +1957,8 @@ static ProcArg image_raise_layer_inargs[] =
|
|||
|
||||
static ProcRecord image_raise_layer_proc =
|
||||
{
|
||||
"gimp_image_raise_layer",
|
||||
"gimp-image-raise-layer",
|
||||
"gimp-image-raise-layer",
|
||||
"Raise the specified layer in the image's layer stack",
|
||||
"This procedure raises the specified layer one step in the existing layer stack. It will not move the layer if there is no layer above it, or the layer has no alpha channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1987,7 +2013,8 @@ static ProcArg image_lower_layer_inargs[] =
|
|||
|
||||
static ProcRecord image_lower_layer_proc =
|
||||
{
|
||||
"gimp_image_lower_layer",
|
||||
"gimp-image-lower-layer",
|
||||
"gimp-image-lower-layer",
|
||||
"Lower the specified layer in the image's layer stack",
|
||||
"This procedure lowers the specified layer one step in the existing layer stack. It will not move the layer if there is no layer below it, or the layer has no alpha channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2042,7 +2069,8 @@ static ProcArg image_raise_layer_to_top_inargs[] =
|
|||
|
||||
static ProcRecord image_raise_layer_to_top_proc =
|
||||
{
|
||||
"gimp_image_raise_layer_to_top",
|
||||
"gimp-image-raise-layer-to-top",
|
||||
"gimp-image-raise-layer-to-top",
|
||||
"Raise the specified layer in the image's layer stack to top of stack",
|
||||
"This procedure raises the specified layer to top of the existing layer stack. It will not move the layer if there is no layer above it, or the layer has no alpha channel.",
|
||||
"Wolfgang Hofer, Sven Neumann",
|
||||
|
@ -2097,7 +2125,8 @@ static ProcArg image_lower_layer_to_bottom_inargs[] =
|
|||
|
||||
static ProcRecord image_lower_layer_to_bottom_proc =
|
||||
{
|
||||
"gimp_image_lower_layer_to_bottom",
|
||||
"gimp-image-lower-layer-to-bottom",
|
||||
"gimp-image-lower-layer-to-bottom",
|
||||
"Lower the specified layer in the image's layer stack to bottom of stack",
|
||||
"This procedure lowers the specified layer to bottom of the existing layer stack. It will not move the layer if there is no layer below it, or the layer has no alpha channel.",
|
||||
"Wolfgang Hofer, Sven Neumann",
|
||||
|
@ -2165,7 +2194,8 @@ static ProcArg image_add_channel_inargs[] =
|
|||
|
||||
static ProcRecord image_add_channel_proc =
|
||||
{
|
||||
"gimp_image_add_channel",
|
||||
"gimp-image-add-channel",
|
||||
"gimp-image-add-channel",
|
||||
"Add the specified channel to the image.",
|
||||
"This procedure adds the specified channel to the image. The position channel is not currently used, so the channel is always inserted at the top of the channel stack.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2220,7 +2250,8 @@ static ProcArg image_remove_channel_inargs[] =
|
|||
|
||||
static ProcRecord image_remove_channel_proc =
|
||||
{
|
||||
"gimp_image_remove_channel",
|
||||
"gimp-image-remove-channel",
|
||||
"gimp-image-remove-channel",
|
||||
"Remove the specified channel from the image.",
|
||||
"This procedure removes the specified channel from the image. If the channel doesn't exist, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2275,7 +2306,8 @@ static ProcArg image_raise_channel_inargs[] =
|
|||
|
||||
static ProcRecord image_raise_channel_proc =
|
||||
{
|
||||
"gimp_image_raise_channel",
|
||||
"gimp-image-raise-channel",
|
||||
"gimp-image-raise-channel",
|
||||
"Raise the specified channel in the image's channel stack",
|
||||
"This procedure raises the specified channel one step in the existing channel stack. It will not move the channel if there is no channel above it.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2330,7 +2362,8 @@ static ProcArg image_lower_channel_inargs[] =
|
|||
|
||||
static ProcRecord image_lower_channel_proc =
|
||||
{
|
||||
"gimp_image_lower_channel",
|
||||
"gimp-image-lower-channel",
|
||||
"gimp-image-lower-channel",
|
||||
"Lower the specified layer in the image's layer stack",
|
||||
"This procedure lowers the specified layer one step in the existing layer stack. It will not move the layer if there is no layer below it, or the layer has no alpha channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2391,7 +2424,8 @@ static ProcArg image_flatten_outargs[] =
|
|||
|
||||
static ProcRecord image_flatten_proc =
|
||||
{
|
||||
"gimp_image_flatten",
|
||||
"gimp-image-flatten",
|
||||
"gimp-image-flatten",
|
||||
"Flatten all visible layers into a single layer. Discard all invisible layers.",
|
||||
"This procedure combines the visible layers in a manner analogous to merging with the CLIP_TO_IMAGE merge type. Non-visible layers are discarded, and the resulting image is stripped of its alpha channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2465,7 +2499,8 @@ static ProcArg image_merge_visible_layers_outargs[] =
|
|||
|
||||
static ProcRecord image_merge_visible_layers_proc =
|
||||
{
|
||||
"gimp_image_merge_visible_layers",
|
||||
"gimp-image-merge-visible-layers",
|
||||
"gimp-image-merge-visible-layers",
|
||||
"Merge the visible image layers into one.",
|
||||
"This procedure combines the visible layers into a single layer using the specified merge type. A merge type of EXPAND_AS_NECESSARY expands the final layer to encompass the areas of the visible layers. A merge type of CLIP_TO_IMAGE clips the final layer to the extents of the image. A merge type of CLIP_TO_BOTTOM_LAYER clips the final layer to the size of the bottommost layer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2549,7 +2584,8 @@ static ProcArg image_merge_down_outargs[] =
|
|||
|
||||
static ProcRecord image_merge_down_proc =
|
||||
{
|
||||
"gimp_image_merge_down",
|
||||
"gimp-image-merge-down",
|
||||
"gimp-image-merge-down",
|
||||
"Merge the layer passed and the first visible layer below.",
|
||||
"This procedure combines the passed layer and the first visible layer below it using the specified merge type. A merge type of EXPAND_AS_NECESSARY expands the final layer to encompass the areas of the visible layers. A merge type of CLIP_TO_IMAGE clips the final layer to the extents of the image. A merge type of CLIP_TO_BOTTOM_LAYER clips the final layer to the size of the bottommost layer.",
|
||||
"Larry Ewing",
|
||||
|
@ -2616,13 +2652,14 @@ static ProcArg image_add_layer_mask_inargs[] =
|
|||
|
||||
static ProcRecord image_add_layer_mask_proc =
|
||||
{
|
||||
"gimp_image_add_layer_mask",
|
||||
"This procedure is deprecated! Use 'gimp_layer_add_mask' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_layer_add_mask' instead.",
|
||||
"gimp-image-add-layer-mask",
|
||||
"gimp-image-add-layer-mask",
|
||||
"This procedure is deprecated! Use 'gimp-layer-add-mask' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-layer-add-mask' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_layer_add_mask",
|
||||
"gimp-layer-add-mask",
|
||||
GIMP_INTERNAL,
|
||||
3,
|
||||
image_add_layer_mask_inargs,
|
||||
|
@ -2681,13 +2718,14 @@ static ProcArg image_remove_layer_mask_inargs[] =
|
|||
|
||||
static ProcRecord image_remove_layer_mask_proc =
|
||||
{
|
||||
"gimp_image_remove_layer_mask",
|
||||
"This procedure is deprecated! Use 'gimp_layer_remove_mask' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_layer_remove_mask' instead.",
|
||||
"gimp-image-remove-layer-mask",
|
||||
"gimp-image-remove-layer-mask",
|
||||
"This procedure is deprecated! Use 'gimp-layer-remove-mask' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-layer-remove-mask' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_layer_remove_mask",
|
||||
"gimp-layer-remove-mask",
|
||||
GIMP_INTERNAL,
|
||||
3,
|
||||
image_remove_layer_mask_inargs,
|
||||
|
@ -2754,7 +2792,8 @@ static ProcArg image_get_colormap_outargs[] =
|
|||
|
||||
static ProcRecord image_get_colormap_proc =
|
||||
{
|
||||
"gimp_image_get_colormap",
|
||||
"gimp-image-get-colormap",
|
||||
"gimp-image-get-colormap",
|
||||
"Returns the image's colormap",
|
||||
"This procedure returns an actual pointer to the image's colormap, as well as the number of bytes contained in the colormap. The actual number of colors in the transmitted colormap will be \"num_bytes\" / 3. If the image is not of base type GIMP_INDEXED, this pointer will be NULL.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2817,7 +2856,8 @@ static ProcArg image_set_colormap_inargs[] =
|
|||
|
||||
static ProcRecord image_set_colormap_proc =
|
||||
{
|
||||
"gimp_image_set_colormap",
|
||||
"gimp-image-set-colormap",
|
||||
"gimp-image-set-colormap",
|
||||
"Sets the entries in the image's colormap.",
|
||||
"This procedure sets the entries in the specified image's colormap. The number of entries is specified by the \"num_bytes\" parameter and corresponds to the number of INT8 triples that must be contained in the \"colormap\" array. The actual number of colors in the transmitted colormap is \"num_bytes\" / 3.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2862,7 +2902,8 @@ static ProcArg image_clean_all_inargs[] =
|
|||
|
||||
static ProcRecord image_clean_all_proc =
|
||||
{
|
||||
"gimp_image_clean_all",
|
||||
"gimp-image-clean-all",
|
||||
"gimp-image-clean-all",
|
||||
"Set the image dirty count to 0.",
|
||||
"This procedure sets the specified image's dirty count to 0, allowing operations to occur without having a 'dirtied' image. This is especially useful for creating and loading images which should not initially be considered dirty, even though layers must be created, filled, and installed in the image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -2923,7 +2964,8 @@ static ProcArg image_is_dirty_outargs[] =
|
|||
|
||||
static ProcRecord image_is_dirty_proc =
|
||||
{
|
||||
"gimp_image_is_dirty",
|
||||
"gimp-image-is-dirty",
|
||||
"gimp-image-is-dirty",
|
||||
"Checks if the image has unsaved changes.",
|
||||
"This procedure checks the specified image's dirty count to see if it needs to be saved.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3072,7 +3114,8 @@ static ProcArg image_thumbnail_outargs[] =
|
|||
|
||||
static ProcRecord image_thumbnail_proc =
|
||||
{
|
||||
"gimp_image_thumbnail",
|
||||
"gimp-image-thumbnail",
|
||||
"gimp-image-thumbnail",
|
||||
"Get a thumbnail of an image.",
|
||||
"This function gets data from which a thumbnail of an image preview can be created. Maximum x or y dimension is 1024 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bits per pixel in the image.",
|
||||
"Andy Thomas",
|
||||
|
@ -3133,7 +3176,8 @@ static ProcArg image_get_active_layer_outargs[] =
|
|||
|
||||
static ProcRecord image_get_active_layer_proc =
|
||||
{
|
||||
"gimp_image_get_active_layer",
|
||||
"gimp-image-get-active-layer",
|
||||
"gimp-image-get-active-layer",
|
||||
"Returns the specified image's active layer.",
|
||||
"If there is an active layer, its ID will be returned, otherwise, -1. If a channel is currently active, then no layer will be. If a layer mask is active, then this will return the associated layer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3188,7 +3232,8 @@ static ProcArg image_set_active_layer_inargs[] =
|
|||
|
||||
static ProcRecord image_set_active_layer_proc =
|
||||
{
|
||||
"gimp_image_set_active_layer",
|
||||
"gimp-image-set-active-layer",
|
||||
"gimp-image-set-active-layer",
|
||||
"Sets the specified image's active layer.",
|
||||
"If the layer exists, it is set as the active layer in the image. Any previous active layer or channel is set to inactive. An exception is a previously existing floating selection, in which case this procedure will return an execution error.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3249,7 +3294,8 @@ static ProcArg image_get_active_channel_outargs[] =
|
|||
|
||||
static ProcRecord image_get_active_channel_proc =
|
||||
{
|
||||
"gimp_image_get_active_channel",
|
||||
"gimp-image-get-active-channel",
|
||||
"gimp-image-get-active-channel",
|
||||
"Returns the specified image's active channel.",
|
||||
"If there is an active channel, this will return the channel ID, otherwise, -1.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3304,7 +3350,8 @@ static ProcArg image_set_active_channel_inargs[] =
|
|||
|
||||
static ProcRecord image_set_active_channel_proc =
|
||||
{
|
||||
"gimp_image_set_active_channel",
|
||||
"gimp-image-set-active-channel",
|
||||
"gimp-image-set-active-channel",
|
||||
"Sets the specified image's active channel.",
|
||||
"If the channel exists, it is set as the active channel in the image. Any previous active channel or channel is set to inactive. An exception is a previously existing floating selection, in which case this procedure will return an execution error.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3365,7 +3412,8 @@ static ProcArg image_get_selection_outargs[] =
|
|||
|
||||
static ProcRecord image_get_selection_proc =
|
||||
{
|
||||
"gimp_image_get_selection",
|
||||
"gimp-image-get-selection",
|
||||
"gimp-image-get-selection",
|
||||
"Returns the specified image's selection.",
|
||||
"This will always return a valid ID for a selection -- which is represented as a channel internally.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3442,7 +3490,8 @@ static ProcArg image_get_component_active_outargs[] =
|
|||
|
||||
static ProcRecord image_get_component_active_proc =
|
||||
{
|
||||
"gimp_image_get_component_active",
|
||||
"gimp-image-get-component-active",
|
||||
"gimp-image-get-component-active",
|
||||
"Returns if the specified image's image component is active.",
|
||||
"This procedure returns if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is active or inactive -- whether or not it can be modified. If the specified component is not valid for the image type, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3515,7 +3564,8 @@ static ProcArg image_set_component_active_inargs[] =
|
|||
|
||||
static ProcRecord image_set_component_active_proc =
|
||||
{
|
||||
"gimp_image_set_component_active",
|
||||
"gimp-image-set-component-active",
|
||||
"gimp-image-set-component-active",
|
||||
"Sets if the specified image's image component is active.",
|
||||
"This procedure sets if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is active or inactive -- whether or not it can be modified. If the specified component is not valid for the image type, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3592,7 +3642,8 @@ static ProcArg image_get_component_visible_outargs[] =
|
|||
|
||||
static ProcRecord image_get_component_visible_proc =
|
||||
{
|
||||
"gimp_image_get_component_visible",
|
||||
"gimp-image-get-component-visible",
|
||||
"gimp-image-get-component-visible",
|
||||
"Returns if the specified image's image component is visible.",
|
||||
"This procedure returns if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is visible or invisible -- whether or not it can be seen. If the specified component is not valid for the image type, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3665,7 +3716,8 @@ static ProcArg image_set_component_visible_inargs[] =
|
|||
|
||||
static ProcRecord image_set_component_visible_proc =
|
||||
{
|
||||
"gimp_image_set_component_visible",
|
||||
"gimp-image-set-component-visible",
|
||||
"gimp-image-set-component-visible",
|
||||
"Sets if the specified image's image component is visible.",
|
||||
"This procedure sets if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is visible or invisible -- whether or not it can be seen. If the specified component is not valid for the image type, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3722,7 +3774,8 @@ static ProcArg image_get_filename_outargs[] =
|
|||
|
||||
static ProcRecord image_get_filename_proc =
|
||||
{
|
||||
"gimp_image_get_filename",
|
||||
"gimp-image-get-filename",
|
||||
"gimp-image-get-filename",
|
||||
"Returns the specified image's filename.",
|
||||
"This procedure returns the specified image's filename in the filesystem encoding. The image has a filename only if it was loaded or has since been saved. Otherwise, this function returns %NULL.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3797,7 +3850,8 @@ static ProcArg image_set_filename_inargs[] =
|
|||
|
||||
static ProcRecord image_set_filename_proc =
|
||||
{
|
||||
"gimp_image_set_filename",
|
||||
"gimp-image-set-filename",
|
||||
"gimp-image-set-filename",
|
||||
"Sets the specified image's filename.",
|
||||
"This procedure sets the specified image's filename. The filename should be in the filesystem encoding.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3866,7 +3920,8 @@ static ProcArg image_get_name_outargs[] =
|
|||
|
||||
static ProcRecord image_get_name_proc =
|
||||
{
|
||||
"gimp_image_get_name",
|
||||
"gimp-image-get-name",
|
||||
"gimp-image-get-name",
|
||||
"Returns the specified image's name.",
|
||||
"This procedure returns the specified image's name.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -3931,7 +3986,8 @@ static ProcArg image_get_resolution_outargs[] =
|
|||
|
||||
static ProcRecord image_get_resolution_proc =
|
||||
{
|
||||
"gimp_image_get_resolution",
|
||||
"gimp-image-get-resolution",
|
||||
"gimp-image-get-resolution",
|
||||
"Returns the specified image's resolution.",
|
||||
"This procedure returns the specified image's resolution in dots per inch. This value is independent of any of the layers in this image.",
|
||||
"Austin Donnelly",
|
||||
|
@ -4006,7 +4062,8 @@ static ProcArg image_set_resolution_inargs[] =
|
|||
|
||||
static ProcRecord image_set_resolution_proc =
|
||||
{
|
||||
"gimp_image_set_resolution",
|
||||
"gimp-image-set-resolution",
|
||||
"gimp-image-set-resolution",
|
||||
"Sets the specified image's resolution.",
|
||||
"This procedure sets the specified image's resolution in dots per inch. This value is independent of any of the layers in this image. No scaling or resizing is performed.",
|
||||
"Austin Donnelly",
|
||||
|
@ -4063,7 +4120,8 @@ static ProcArg image_get_unit_outargs[] =
|
|||
|
||||
static ProcRecord image_get_unit_proc =
|
||||
{
|
||||
"gimp_image_get_unit",
|
||||
"gimp-image-get-unit",
|
||||
"gimp-image-get-unit",
|
||||
"Returns the specified image's unit.",
|
||||
"This procedure returns the specified image's unit. This value is independent of any of the layers in this image. See the gimp_unit_* procedure definitions for the valid range of unit IDs and a description of the unit system.",
|
||||
"Michael Natterer",
|
||||
|
@ -4118,7 +4176,8 @@ static ProcArg image_set_unit_inargs[] =
|
|||
|
||||
static ProcRecord image_set_unit_proc =
|
||||
{
|
||||
"gimp_image_set_unit",
|
||||
"gimp-image-set-unit",
|
||||
"gimp-image-set-unit",
|
||||
"Sets the specified image's unit.",
|
||||
"This procedure sets the specified image's unit. No scaling or resizing is performed. This value is independent of any of the layers in this image. See the gimp_unit_* procedure definitions for the valid range of unit IDs and a description of the unit system.",
|
||||
"Michael Natterer",
|
||||
|
@ -4175,7 +4234,8 @@ static ProcArg image_get_tattoo_state_outargs[] =
|
|||
|
||||
static ProcRecord image_get_tattoo_state_proc =
|
||||
{
|
||||
"gimp_image_get_tattoo_state",
|
||||
"gimp-image-get-tattoo-state",
|
||||
"gimp-image-get-tattoo-state",
|
||||
"Returns the tattoo state associated with the image.",
|
||||
"This procedure returns the tattoo state of the image. Use only by save/load plugins that wish to preserve an images tattoo state. Using this function at other times will produce unexpected results.",
|
||||
"Andy Thomas",
|
||||
|
@ -4228,7 +4288,8 @@ static ProcArg image_set_tattoo_state_inargs[] =
|
|||
|
||||
static ProcRecord image_set_tattoo_state_proc =
|
||||
{
|
||||
"gimp_image_set_tattoo_state",
|
||||
"gimp-image-set-tattoo-state",
|
||||
"gimp-image-set-tattoo-state",
|
||||
"Set the tattoo state associated with the image.",
|
||||
"This procedure sets the tattoo state of the image. Use only by save/load plugins that wish to preserve an images tattoo state. Using this function at other times will produce unexpected results. A full check of uniqueness of states in layers, channels and paths will be performed by this procedure and a execution failure will be returned if this fails. A failure will also be returned if the new tattoo state value is less than the maximum tattoo value from all of the tattoos from the paths, layers and channels. After the image data has been loaded and all the tattoos have been set then this is the last procedure that should be called. If effectively does a status check on the tattoo values that have been set to make sure that all is OK.",
|
||||
"Andy Thomas",
|
||||
|
@ -4302,7 +4363,8 @@ static ProcArg image_get_layer_by_tattoo_outargs[] =
|
|||
|
||||
static ProcRecord image_get_layer_by_tattoo_proc =
|
||||
{
|
||||
"gimp_image_get_layer_by_tattoo",
|
||||
"gimp-image-get-layer-by-tattoo",
|
||||
"gimp-image-get-layer-by-tattoo",
|
||||
"Find a layer with a given tattoo in an image.",
|
||||
"This procedure returns the layer with the given tattoo in the specified image.",
|
||||
"Jay Cox",
|
||||
|
@ -4376,7 +4438,8 @@ static ProcArg image_get_channel_by_tattoo_outargs[] =
|
|||
|
||||
static ProcRecord image_get_channel_by_tattoo_proc =
|
||||
{
|
||||
"gimp_image_get_channel_by_tattoo",
|
||||
"gimp-image-get-channel-by-tattoo",
|
||||
"gimp-image-get-channel-by-tattoo",
|
||||
"Find a channel with a given tattoo in an image.",
|
||||
"This procedure returns the channel with the given tattoo in the specified image.",
|
||||
"Jay Cox",
|
||||
|
|
|
@ -210,7 +210,8 @@ static ProcArg layer_new_outargs[] =
|
|||
|
||||
static ProcRecord layer_new_proc =
|
||||
{
|
||||
"gimp_layer_new",
|
||||
"gimp-layer-new",
|
||||
"gimp-layer-new",
|
||||
"Create a new layer.",
|
||||
"This procedure creates a new layer with the specified width, height, and type. Name, opacity, and mode are also supplied parameters. The new layer still needs to be added to the image, as this is not automatic. Add the new layer with the 'gimp_image_add_layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -299,7 +300,8 @@ static ProcArg layer_new_from_drawable_outargs[] =
|
|||
|
||||
static ProcRecord layer_new_from_drawable_proc =
|
||||
{
|
||||
"gimp_layer_new_from_drawable",
|
||||
"gimp-layer-new-from-drawable",
|
||||
"gimp-layer-new-from-drawable",
|
||||
"Create a new layer by copying an existing drawable.",
|
||||
"This procedure creates a new layer as a copy of the specified drawable. The new layer still needs to be added to the image, as this is not automatic. Add the new layer with the 'gimp_image_add_layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -368,7 +370,8 @@ static ProcArg layer_copy_outargs[] =
|
|||
|
||||
static ProcRecord layer_copy_proc =
|
||||
{
|
||||
"gimp_layer_copy",
|
||||
"gimp-layer-copy",
|
||||
"gimp-layer-copy",
|
||||
"Copy a layer.",
|
||||
"This procedure copies the specified layer and returns the copy. The newly copied layer is for use within the original layer's image. It should not be subsequently added to any other image. The copied layer can optionally have an added alpha channel. This is useful if the background layer in an image is being copied and added to the same image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -413,7 +416,8 @@ static ProcArg layer_add_alpha_inargs[] =
|
|||
|
||||
static ProcRecord layer_add_alpha_proc =
|
||||
{
|
||||
"gimp_layer_add_alpha",
|
||||
"gimp-layer-add-alpha",
|
||||
"gimp-layer-add-alpha",
|
||||
"Add an alpha channel to the layer if it doesn't already have one.",
|
||||
"This procedure adds an additional component to the specified layer if it does not already possess an alpha channel. An alpha channel makes it possible to move a layer from the bottom of the layer stack and to clear and erase to transparency, instead of the background color. This transforms images of type RGB to RGBA, GRAY to GRAYA, and INDEXED to INDEXEDA.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -491,7 +495,8 @@ static ProcArg layer_scale_inargs[] =
|
|||
|
||||
static ProcRecord layer_scale_proc =
|
||||
{
|
||||
"gimp_layer_scale",
|
||||
"gimp-layer-scale",
|
||||
"gimp-layer-scale",
|
||||
"Scale the layer to the specified extents.",
|
||||
"This procedure scales the layer so that it's new width and height are equal to the supplied parameters. The \"local_origin\" parameter specifies whether to scale from the center of the layer, or from the image origin. This operation only works if the layer has been added to an image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -577,7 +582,8 @@ static ProcArg layer_resize_inargs[] =
|
|||
|
||||
static ProcRecord layer_resize_proc =
|
||||
{
|
||||
"gimp_layer_resize",
|
||||
"gimp-layer-resize",
|
||||
"gimp-layer-resize",
|
||||
"Resize the layer to the specified extents.",
|
||||
"This procedure resizes the layer so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous layer's content. This operation only works if the layer has been added to an image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -627,7 +633,8 @@ static ProcArg layer_resize_to_image_size_inargs[] =
|
|||
|
||||
static ProcRecord layer_resize_to_image_size_proc =
|
||||
{
|
||||
"gimp_layer_resize_to_image_size",
|
||||
"gimp-layer-resize-to-image-size",
|
||||
"gimp-layer-resize-to-image-size",
|
||||
"Resize a layer to the image size.",
|
||||
"This procedure resizes the layer so that it's new width and height are equal to the width and height of its image container.",
|
||||
"Manish Singh",
|
||||
|
@ -700,7 +707,8 @@ static ProcArg layer_translate_inargs[] =
|
|||
|
||||
static ProcRecord layer_translate_proc =
|
||||
{
|
||||
"gimp_layer_translate",
|
||||
"gimp-layer-translate",
|
||||
"gimp-layer-translate",
|
||||
"Translate the layer by the specified offsets.",
|
||||
"This procedure translates the layer by the amounts specified in the x and y arguments. These can be negative, and are considered offsets from the current position. This command only works if the layer has been added to an image. All additional layers contained in the image which have the linked flag set to TRUE w ill also be translated by the specified offsets.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -773,7 +781,8 @@ static ProcArg layer_set_offsets_inargs[] =
|
|||
|
||||
static ProcRecord layer_set_offsets_proc =
|
||||
{
|
||||
"gimp_layer_set_offsets",
|
||||
"gimp-layer-set-offsets",
|
||||
"gimp-layer-set-offsets",
|
||||
"Set the layer offsets.",
|
||||
"This procedure sets the offsets for the specified layer. The offsets are relative to the image origin and can be any values. This operation is valid only on layers which have been added to an image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -844,7 +853,8 @@ static ProcArg layer_create_mask_outargs[] =
|
|||
|
||||
static ProcRecord layer_create_mask_proc =
|
||||
{
|
||||
"gimp_layer_create_mask",
|
||||
"gimp-layer-create-mask",
|
||||
"gimp-layer-create-mask",
|
||||
"Create a layer mask for the specified specified layer.",
|
||||
"This procedure creates a layer mask for the specified layer. Layer masks serve as an additional alpha channel for a layer. A number of ifferent types of masks are allowed for initialisation: completely white masks (which will leave the layer fully visible), completely black masks (which will give the layer complete transparency, the layer's already existing alpha channel (which will leave the layer fully visible, but which may be more useful than a white mask), the current selection or a grayscale copy of the layer. The layer mask still needs to be added to the layer. This can be done with a call to 'gimp_layer_add_mask'.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -901,7 +911,8 @@ static ProcArg layer_get_mask_outargs[] =
|
|||
|
||||
static ProcRecord layer_get_mask_proc =
|
||||
{
|
||||
"gimp_layer_get_mask",
|
||||
"gimp-layer-get-mask",
|
||||
"gimp-layer-get-mask",
|
||||
"Get the specified layer's mask if it exists.",
|
||||
"This procedure returns the specified layer's mask, or -1 if none exists.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -964,7 +975,8 @@ static ProcArg layer_from_mask_outargs[] =
|
|||
|
||||
static ProcRecord layer_from_mask_proc =
|
||||
{
|
||||
"gimp_layer_from_mask",
|
||||
"gimp-layer-from-mask",
|
||||
"gimp-layer-from-mask",
|
||||
"Get the specified mask's layer.",
|
||||
"This procedure returns the specified mask's layer , or -1 if none exists.",
|
||||
"Geert Jordaens",
|
||||
|
@ -1024,7 +1036,8 @@ static ProcArg layer_add_mask_inargs[] =
|
|||
|
||||
static ProcRecord layer_add_mask_proc =
|
||||
{
|
||||
"gimp_layer_add_mask",
|
||||
"gimp-layer-add-mask",
|
||||
"gimp-layer-add-mask",
|
||||
"Add a layer mask to the specified layer.",
|
||||
"This procedure adds a layer mask to the specified layer. Layer masks serve as an additional alpha channel for a layer. This procedure will fail if a number of prerequisites aren't met. The layer cannot already have a layer mask. The specified mask must exist and have the same dimensions as the layer. Both the mask and the layer must have been created for use with the specified image.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1084,7 +1097,8 @@ static ProcArg layer_remove_mask_inargs[] =
|
|||
|
||||
static ProcRecord layer_remove_mask_proc =
|
||||
{
|
||||
"gimp_layer_remove_mask",
|
||||
"gimp-layer-remove-mask",
|
||||
"gimp-layer-remove-mask",
|
||||
"Remove the specified layer mask from the layer.",
|
||||
"This procedure removes the specified layer mask from the layer. If the mask doesn't exist, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1141,7 +1155,8 @@ static ProcArg layer_is_floating_sel_outargs[] =
|
|||
|
||||
static ProcRecord layer_is_floating_sel_proc =
|
||||
{
|
||||
"gimp_layer_is_floating_sel",
|
||||
"gimp-layer-is-floating-sel",
|
||||
"gimp-layer-is-floating-sel",
|
||||
"Is the specified layer a floating selection?",
|
||||
"This procedure returns whether the layer is a floating selection. Floating selections are special cases of layers which are attached to a specific drawable.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1198,7 +1213,8 @@ static ProcArg layer_get_lock_alpha_outargs[] =
|
|||
|
||||
static ProcRecord layer_get_lock_alpha_proc =
|
||||
{
|
||||
"gimp_layer_get_lock_alpha",
|
||||
"gimp-layer-get-lock-alpha",
|
||||
"gimp-layer-get-lock-alpha",
|
||||
"Get the lock alpha channel setting of the specified layer.",
|
||||
"This procedure returns the specified layer's lock alpha channel setting.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1251,7 +1267,8 @@ static ProcArg layer_set_lock_alpha_inargs[] =
|
|||
|
||||
static ProcRecord layer_set_lock_alpha_proc =
|
||||
{
|
||||
"gimp_layer_set_lock_alpha",
|
||||
"gimp-layer-set-lock-alpha",
|
||||
"gimp-layer-set-lock-alpha",
|
||||
"Set the lock alpha channel setting of the specified layer.",
|
||||
"This procedure sets the specified layer's lock alpha channel setting.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1308,7 +1325,8 @@ static ProcArg layer_get_apply_mask_outargs[] =
|
|||
|
||||
static ProcRecord layer_get_apply_mask_proc =
|
||||
{
|
||||
"gimp_layer_get_apply_mask",
|
||||
"gimp-layer-get-apply-mask",
|
||||
"gimp-layer-get-apply-mask",
|
||||
"Get the apply mask of the specified layer.",
|
||||
"This procedure returns the specified layer's apply mask. If the value is non-zero, then the layer mask for this layer is currently being composited with the layer's alpha channel.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1361,7 +1379,8 @@ static ProcArg layer_set_apply_mask_inargs[] =
|
|||
|
||||
static ProcRecord layer_set_apply_mask_proc =
|
||||
{
|
||||
"gimp_layer_set_apply_mask",
|
||||
"gimp-layer-set-apply-mask",
|
||||
"gimp-layer-set-apply-mask",
|
||||
"Set the apply mask of the specified layer.",
|
||||
"This procedure sets the specified layer's apply mask. This controls whether the layer's mask is currently affecting the alpha channel. If there is no layer mask, this function will return an error.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1418,7 +1437,8 @@ static ProcArg layer_get_show_mask_outargs[] =
|
|||
|
||||
static ProcRecord layer_get_show_mask_proc =
|
||||
{
|
||||
"gimp_layer_get_show_mask",
|
||||
"gimp-layer-get-show-mask",
|
||||
"gimp-layer-get-show-mask",
|
||||
"Get the show mask of the specified layer.",
|
||||
"This procedure returns the specified layer's show mask. If the value is non-zero, then the layer mask for this layer is currently being shown instead of the layer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1471,7 +1491,8 @@ static ProcArg layer_set_show_mask_inargs[] =
|
|||
|
||||
static ProcRecord layer_set_show_mask_proc =
|
||||
{
|
||||
"gimp_layer_set_show_mask",
|
||||
"gimp-layer-set-show-mask",
|
||||
"gimp-layer-set-show-mask",
|
||||
"Set the show mask of the specified layer.",
|
||||
"This procedure sets the specified layer's show mask. This controls whether the layer or it's mask is visible. Non-zero values indicate that the mask should be visible. If the layer has no mask, then this function returns an error.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1528,7 +1549,8 @@ static ProcArg layer_get_edit_mask_outargs[] =
|
|||
|
||||
static ProcRecord layer_get_edit_mask_proc =
|
||||
{
|
||||
"gimp_layer_get_edit_mask",
|
||||
"gimp-layer-get-edit-mask",
|
||||
"gimp-layer-get-edit-mask",
|
||||
"Get the edit mask of the specified layer.",
|
||||
"This procedure returns the specified layer's edit mask. If the value is non-zero, then the layer mask for this layer is currently active, and not the layer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1581,7 +1603,8 @@ static ProcArg layer_set_edit_mask_inargs[] =
|
|||
|
||||
static ProcRecord layer_set_edit_mask_proc =
|
||||
{
|
||||
"gimp_layer_set_edit_mask",
|
||||
"gimp-layer-set-edit-mask",
|
||||
"gimp-layer-set-edit-mask",
|
||||
"Set the edit mask of the specified layer.",
|
||||
"This procedure sets the specified layer's edit mask. This controls whether the layer or it's mask is currently active for editing. If the specified layer has no layer mask, then this procedure will return an error.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1638,7 +1661,8 @@ static ProcArg layer_get_opacity_outargs[] =
|
|||
|
||||
static ProcRecord layer_get_opacity_proc =
|
||||
{
|
||||
"gimp_layer_get_opacity",
|
||||
"gimp-layer-get-opacity",
|
||||
"gimp-layer-get-opacity",
|
||||
"Get the opacity of the specified layer.",
|
||||
"This procedure returns the specified layer's opacity.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1693,7 +1717,8 @@ static ProcArg layer_set_opacity_inargs[] =
|
|||
|
||||
static ProcRecord layer_set_opacity_proc =
|
||||
{
|
||||
"gimp_layer_set_opacity",
|
||||
"gimp-layer-set-opacity",
|
||||
"gimp-layer-set-opacity",
|
||||
"Set the opacity of the specified layer.",
|
||||
"This procedure sets the specified layer's opacity.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1750,7 +1775,8 @@ static ProcArg layer_get_mode_outargs[] =
|
|||
|
||||
static ProcRecord layer_get_mode_proc =
|
||||
{
|
||||
"gimp_layer_get_mode",
|
||||
"gimp-layer-get-mode",
|
||||
"gimp-layer-get-mode",
|
||||
"Get the combination mode of the specified layer.",
|
||||
"This procedure returns the specified layer's combination mode.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1805,7 +1831,8 @@ static ProcArg layer_set_mode_inargs[] =
|
|||
|
||||
static ProcRecord layer_set_mode_proc =
|
||||
{
|
||||
"gimp_layer_set_mode",
|
||||
"gimp-layer-set-mode",
|
||||
"gimp-layer-set-mode",
|
||||
"Set the combination mode of the specified layer.",
|
||||
"This procedure sets the specified layer's combination mode.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -79,7 +79,8 @@ static ProcArg message_inargs[] =
|
|||
|
||||
static ProcRecord message_proc =
|
||||
{
|
||||
"gimp_message",
|
||||
"gimp-message",
|
||||
"gimp-message",
|
||||
"Displays a dialog box with a message.",
|
||||
"Displays a dialog box with a message. Useful for status or error reporting. The message must be in UTF-8 encoding.",
|
||||
"Manish Singh",
|
||||
|
@ -119,7 +120,8 @@ static ProcArg message_get_handler_outargs[] =
|
|||
|
||||
static ProcRecord message_get_handler_proc =
|
||||
{
|
||||
"gimp_message_get_handler",
|
||||
"gimp-message-get-handler",
|
||||
"gimp-message-get-handler",
|
||||
"Returns the current state of where warning messages are displayed.",
|
||||
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
|
||||
"Manish Singh",
|
||||
|
@ -164,7 +166,8 @@ static ProcArg message_set_handler_inargs[] =
|
|||
|
||||
static ProcRecord message_set_handler_proc =
|
||||
{
|
||||
"gimp_message_set_handler",
|
||||
"gimp-message-set-handler",
|
||||
"gimp-message-set-handler",
|
||||
"Controls where warning messages are displayed.",
|
||||
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
|
||||
"Manish Singh",
|
||||
|
|
|
@ -79,7 +79,8 @@ static ProcArg version_outargs[] =
|
|||
|
||||
static ProcRecord version_proc =
|
||||
{
|
||||
"gimp_version",
|
||||
"gimp-version",
|
||||
"gimp-version",
|
||||
"Returns the host gimp version.",
|
||||
"This procedure returns the version number of the currently running gimp.",
|
||||
"Manish Singh",
|
||||
|
@ -119,7 +120,8 @@ static ProcArg getpid_outargs[] =
|
|||
|
||||
static ProcRecord getpid_proc =
|
||||
{
|
||||
"gimp_getpid",
|
||||
"gimp-getpid",
|
||||
"gimp-getpid",
|
||||
"Returns the PID of the host gimp process.",
|
||||
"This procedure returns the process ID of the currently running gimp.",
|
||||
"Michael Natterer",
|
||||
|
@ -160,7 +162,8 @@ static ProcArg quit_inargs[] =
|
|||
|
||||
static ProcRecord quit_proc =
|
||||
{
|
||||
"gimp_quit",
|
||||
"gimp-quit",
|
||||
"gimp-quit",
|
||||
"Causes the gimp to exit gracefully.",
|
||||
"The internal procedure which can either be used to make the gimp quit. If there are unsaved images in an interactive GIMP session, the user will be asked for confirmation. If force is TRUE, the application is quit without querying the user to save any dirty images.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -194,7 +194,8 @@ static ProcArg airbrush_inargs[] =
|
|||
|
||||
static ProcRecord airbrush_proc =
|
||||
{
|
||||
"gimp_airbrush",
|
||||
"gimp-airbrush",
|
||||
"gimp-airbrush",
|
||||
"Paint in the current brush with varying pressure. Paint application is time-dependent.",
|
||||
"This tool simulates the use of an airbrush. Paint pressure represents the relative intensity of the paint application. High pressure results in a thicker layer of paint while low pressure results in a thinner layer.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -272,7 +273,8 @@ static ProcArg airbrush_default_inargs[] =
|
|||
|
||||
static ProcRecord airbrush_default_proc =
|
||||
{
|
||||
"gimp_airbrush_default",
|
||||
"gimp-airbrush-default",
|
||||
"gimp-airbrush-default",
|
||||
"Paint in the current brush with varying pressure. Paint application is time-dependent.",
|
||||
"This tool simulates the use of an airbrush. It is similar to gimp_airbrush except that the pressure is derived from the airbrush tools options box. It the option has not been set the default for the option will be used.",
|
||||
"Andy Thomas",
|
||||
|
@ -401,7 +403,8 @@ static ProcArg clone_inargs[] =
|
|||
|
||||
static ProcRecord clone_proc =
|
||||
{
|
||||
"gimp_clone",
|
||||
"gimp-clone",
|
||||
"gimp-clone",
|
||||
"Clone from the source to the dest drawable using the current brush",
|
||||
"This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -479,7 +482,8 @@ static ProcArg clone_default_inargs[] =
|
|||
|
||||
static ProcRecord clone_default_proc =
|
||||
{
|
||||
"gimp_clone_default",
|
||||
"gimp-clone-default",
|
||||
"gimp-clone-default",
|
||||
"Clone from the source to the dest drawable using the current brush",
|
||||
"This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. This function performs exactly the same as the gimp_clone function except that the tools arguments are obtained from the clones option dialog. It this dialog has not been activated then the dialogs default values will be used.",
|
||||
"Andy Thomas",
|
||||
|
@ -582,7 +586,8 @@ static ProcArg convolve_inargs[] =
|
|||
|
||||
static ProcRecord convolve_proc =
|
||||
{
|
||||
"gimp_convolve",
|
||||
"gimp-convolve",
|
||||
"gimp-convolve",
|
||||
"Convolve (Blur, Sharpen) using the current brush.",
|
||||
"This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -660,7 +665,8 @@ static ProcArg convolve_default_inargs[] =
|
|||
|
||||
static ProcRecord convolve_default_proc =
|
||||
{
|
||||
"gimp_convolve_default",
|
||||
"gimp-convolve-default",
|
||||
"gimp-convolve-default",
|
||||
"Convolve (Blur, Sharpen) using the current brush.",
|
||||
"This tool convolves the specified drawable with either a sharpening or blurring kernel. This function performs exactly the same as the gimp_convolve function except that the tools arguments are obtained from the convolve option dialog. It this dialog has not been activated then the dialogs default values will be used.",
|
||||
"Andy Thomas",
|
||||
|
@ -774,7 +780,8 @@ static ProcArg dodgeburn_inargs[] =
|
|||
|
||||
static ProcRecord dodgeburn_proc =
|
||||
{
|
||||
"gimp_dodgeburn",
|
||||
"gimp-dodgeburn",
|
||||
"gimp-dodgeburn",
|
||||
"Dodgeburn image with varying exposure.",
|
||||
"Dodgeburn. More details here later.",
|
||||
"Andy Thomas",
|
||||
|
@ -852,7 +859,8 @@ static ProcArg dodgeburn_default_inargs[] =
|
|||
|
||||
static ProcRecord dodgeburn_default_proc =
|
||||
{
|
||||
"gimp_dodgeburn_default",
|
||||
"gimp-dodgeburn-default",
|
||||
"gimp-dodgeburn-default",
|
||||
"Dodgeburn image with varying exposure. This is the same as the gimp_dodgeburn function except that the exposure, type and mode are taken from the tools option dialog. If the dialog has not been activated then the defaults as used by the dialog will be used.",
|
||||
"Dodgeburn. More details here later.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -955,7 +963,8 @@ static ProcArg eraser_inargs[] =
|
|||
|
||||
static ProcRecord eraser_proc =
|
||||
{
|
||||
"gimp_eraser",
|
||||
"gimp-eraser",
|
||||
"gimp-eraser",
|
||||
"Erase using the current brush.",
|
||||
"This tool erases using the current brush mask. If the specified drawable contains an alpha channel, then the erased pixels will become transparent. Otherwise, the eraser tool replaces the contents of the drawable with the background color. Like paintbrush, this tool linearly interpolates between the specified stroke coordinates.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1033,7 +1042,8 @@ static ProcArg eraser_default_inargs[] =
|
|||
|
||||
static ProcRecord eraser_default_proc =
|
||||
{
|
||||
"gimp_eraser_default",
|
||||
"gimp-eraser-default",
|
||||
"gimp-eraser-default",
|
||||
"Erase using the current brush.",
|
||||
"This tool erases using the current brush mask. This function performs exactly the same as the gimp_eraser function except that the tools arguments are obtained from the eraser option dialog. It this dialog has not been activated then the dialogs default values will be used.",
|
||||
"Andy Thomas",
|
||||
|
@ -1149,7 +1159,8 @@ static ProcArg paintbrush_inargs[] =
|
|||
|
||||
static ProcRecord paintbrush_proc =
|
||||
{
|
||||
"gimp_paintbrush",
|
||||
"gimp-paintbrush",
|
||||
"gimp-paintbrush",
|
||||
"Paint in the current brush with optional fade out parameter and pull colors from a gradient.",
|
||||
"This tool is the standard paintbrush. It draws linearly interpolated lines through the specified stroke coordinates. It operates on the specified drawable in the foreground color with the active brush. The \"fade_out\" parameter is measured in pixels and allows the brush stroke to linearly fall off. The pressure is set to the maximum at the beginning of the stroke. As the distance of the stroke nears the fade_out value, the pressure will approach zero. The gradient_length is the distance to spread the gradient over. It is measured in pixels. If the gradient_length is 0, no gradient is used.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1227,7 +1238,8 @@ static ProcArg paintbrush_default_inargs[] =
|
|||
|
||||
static ProcRecord paintbrush_default_proc =
|
||||
{
|
||||
"gimp_paintbrush_default",
|
||||
"gimp-paintbrush-default",
|
||||
"gimp-paintbrush-default",
|
||||
"Paint in the current brush. The fade out parameter and pull colors from a gradient parameter are set from the paintbrush options dialog. If this dialog has not been activated then the dialog defaults will be used.",
|
||||
"This tool is similar to the standard paintbrush. It draws linearly interpolated lines through the specified stroke coordinates. It operates on the specified drawable in the foreground color with the active brush. The \"fade_out\" parameter is measured in pixels and allows the brush stroke to linearly fall off (value obtained from the option dialog). The pressure is set to the maximum at the beginning of the stroke. As the distance of the stroke nears the fade_out value, the pressure will approach zero. The gradient_length (value obtained from the option dialog) is the distance to spread the gradient over. It is measured in pixels. If the gradient_length is 0, no gradient is used.",
|
||||
"Andy Thomas",
|
||||
|
@ -1305,7 +1317,8 @@ static ProcArg pencil_inargs[] =
|
|||
|
||||
static ProcRecord pencil_proc =
|
||||
{
|
||||
"gimp_pencil",
|
||||
"gimp-pencil",
|
||||
"gimp-pencil",
|
||||
"Paint in the current brush without sub-pixel sampling.",
|
||||
"This tool is the standard pencil. It draws linearly interpolated lines through the specified stroke coordinates. It operates on the specified drawable in the foreground color with the active brush. The brush mask is treated as though it contains only black and white values. Any value below half is treated as black; any above half, as white.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1397,7 +1410,8 @@ static ProcArg smudge_inargs[] =
|
|||
|
||||
static ProcRecord smudge_proc =
|
||||
{
|
||||
"gimp_smudge",
|
||||
"gimp-smudge",
|
||||
"gimp-smudge",
|
||||
"Smudge image with varying pressure.",
|
||||
"This tool simulates a smudge using the current brush. High pressure results in a greater smudge of paint while low pressure results in a lesser smudge.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1475,7 +1489,8 @@ static ProcArg smudge_default_inargs[] =
|
|||
|
||||
static ProcRecord smudge_default_proc =
|
||||
{
|
||||
"gimp_smudge_default",
|
||||
"gimp-smudge-default",
|
||||
"gimp-smudge-default",
|
||||
"Smudge image with varying pressure.",
|
||||
"This tool simulates a smudge using the current brush. It behaves exactly the same as gimp_smudge except that the pressure value is taken from the smudge tool options or the options default if the tools option dialog has not been activated.",
|
||||
"Andy Thomas",
|
||||
|
|
|
@ -120,7 +120,8 @@ static ProcArg palette_new_outargs[] =
|
|||
|
||||
static ProcRecord palette_new_proc =
|
||||
{
|
||||
"gimp_palette_new",
|
||||
"gimp-palette-new",
|
||||
"gimp-palette-new",
|
||||
"Creates a new palette",
|
||||
"This procedure creates a new, uninitialized palette",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -196,7 +197,8 @@ static ProcArg palette_duplicate_outargs[] =
|
|||
|
||||
static ProcRecord palette_duplicate_proc =
|
||||
{
|
||||
"gimp_palette_duplicate",
|
||||
"gimp-palette-duplicate",
|
||||
"gimp-palette-duplicate",
|
||||
"Duplicates a palette",
|
||||
"This procedure creates an identical palette by a different name",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -275,7 +277,8 @@ static ProcArg palette_rename_outargs[] =
|
|||
|
||||
static ProcRecord palette_rename_proc =
|
||||
{
|
||||
"gimp_palette_rename",
|
||||
"gimp-palette-rename",
|
||||
"gimp-palette-rename",
|
||||
"Rename a palette",
|
||||
"This procedure renames a palette",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -341,7 +344,8 @@ static ProcArg palette_delete_inargs[] =
|
|||
|
||||
static ProcRecord palette_delete_proc =
|
||||
{
|
||||
"gimp_palette_delete",
|
||||
"gimp-palette-delete",
|
||||
"gimp-palette-delete",
|
||||
"Deletes a palette",
|
||||
"This procedure deletes a palette",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -410,7 +414,8 @@ static ProcArg palette_is_editable_outargs[] =
|
|||
|
||||
static ProcRecord palette_is_editable_proc =
|
||||
{
|
||||
"gimp_palette_is_editable",
|
||||
"gimp-palette-is-editable",
|
||||
"gimp-palette-is-editable",
|
||||
"Tests if palette can be edited",
|
||||
"Returns True if you have permission to change the palette",
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu",
|
||||
|
@ -476,7 +481,8 @@ static ProcArg palette_get_info_outargs[] =
|
|||
|
||||
static ProcRecord palette_get_info_proc =
|
||||
{
|
||||
"gimp_palette_get_info",
|
||||
"gimp-palette-get-info",
|
||||
"gimp-palette-get-info",
|
||||
"Retrieve information about the specified palette.",
|
||||
"This procedure retrieves information about the specified palette. This includes the name, and the number of colors.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -542,7 +548,8 @@ static ProcArg palette_get_columns_outargs[] =
|
|||
|
||||
static ProcRecord palette_get_columns_proc =
|
||||
{
|
||||
"gimp_palette_get_columns",
|
||||
"gimp-palette-get-columns",
|
||||
"gimp-palette-get-columns",
|
||||
"Retrieves the number of columns to use to display this palette",
|
||||
"This procedures retrieves the prefered number of columns to use when the palette is being displayed.",
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
|
@ -606,7 +613,8 @@ static ProcArg palette_set_columns_inargs[] =
|
|||
|
||||
static ProcRecord palette_set_columns_proc =
|
||||
{
|
||||
"gimp_palette_set_columns",
|
||||
"gimp-palette-set-columns",
|
||||
"gimp-palette-set-columns",
|
||||
"Sets the number of columns to use when displaying the palette",
|
||||
"This procedures allows to control how many colors are shown per row when the palette is being displayed. This value can only be changed if the palette is writable. The maximum allowed value is 64.",
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
|
@ -694,7 +702,8 @@ static ProcArg palette_add_entry_outargs[] =
|
|||
|
||||
static ProcRecord palette_add_entry_proc =
|
||||
{
|
||||
"gimp_palette_add_entry",
|
||||
"gimp-palette-add-entry",
|
||||
"gimp-palette-add-entry",
|
||||
"Adds a palette entry to the specified palette.",
|
||||
"This procedure adds an entry to the specifed palette. It returns an error if the entry palette does not exist.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -766,7 +775,8 @@ static ProcArg palette_delete_entry_inargs[] =
|
|||
|
||||
static ProcRecord palette_delete_entry_proc =
|
||||
{
|
||||
"gimp_palette_delete_entry",
|
||||
"gimp-palette-delete-entry",
|
||||
"gimp-palette-delete-entry",
|
||||
"Deletes a palette entry from the specified palette.",
|
||||
"This procedure deletes an entry from the specifed palette. It returns an error if the entry palette does not exist.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -854,7 +864,8 @@ static ProcArg palette_entry_get_color_outargs[] =
|
|||
|
||||
static ProcRecord palette_entry_get_color_proc =
|
||||
{
|
||||
"gimp_palette_entry_get_color",
|
||||
"gimp-palette-entry-get-color",
|
||||
"gimp-palette-entry-get-color",
|
||||
"Gets the specified palette entry from the specified palette.",
|
||||
"This procedure retrieves the color of the zero-based entry specifed for the specified palette. It returns an error if the entry does not exist.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -936,7 +947,8 @@ static ProcArg palette_entry_set_color_inargs[] =
|
|||
|
||||
static ProcRecord palette_entry_set_color_proc =
|
||||
{
|
||||
"gimp_palette_entry_set_color",
|
||||
"gimp-palette-entry-set-color",
|
||||
"gimp-palette-entry-set-color",
|
||||
"Sets the specified palette entry in the specified palette.",
|
||||
"This procedure sets the color of the zero-based entry specifed for the specified palette. It returns an error if the entry does not exist.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -1019,7 +1031,8 @@ static ProcArg palette_entry_get_name_outargs[] =
|
|||
|
||||
static ProcRecord palette_entry_get_name_proc =
|
||||
{
|
||||
"gimp_palette_entry_get_name",
|
||||
"gimp-palette-entry-get-name",
|
||||
"gimp-palette-entry-get-name",
|
||||
"Gets the specified palette entry from the specified palette.",
|
||||
"This procedure retrieves the name of the zero-based entry specifed for the specified palette. It returns an error if the entry does not exist.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -1104,7 +1117,8 @@ static ProcArg palette_entry_set_name_inargs[] =
|
|||
|
||||
static ProcRecord palette_entry_set_name_proc =
|
||||
{
|
||||
"gimp_palette_entry_set_name",
|
||||
"gimp-palette-entry-set-name",
|
||||
"gimp-palette-entry-set-name",
|
||||
"Sets the specified palette entry in the specified palette.",
|
||||
"This procedure sets the name of the zero-based entry specifed for the specified palette. It returns an error if the entry does not exist.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
|
|
@ -98,7 +98,8 @@ static ProcArg palettes_popup_inargs[] =
|
|||
|
||||
static ProcRecord palettes_popup_proc =
|
||||
{
|
||||
"gimp_palettes_popup",
|
||||
"gimp-palettes-popup",
|
||||
"gimp-palettes-popup",
|
||||
"Invokes the Gimp palette selection.",
|
||||
"This procedure popups the palette selection dialog.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -149,7 +150,8 @@ static ProcArg palettes_close_popup_inargs[] =
|
|||
|
||||
static ProcRecord palettes_close_popup_proc =
|
||||
{
|
||||
"gimp_palettes_close_popup",
|
||||
"gimp-palettes-close-popup",
|
||||
"gimp-palettes-close-popup",
|
||||
"Popdown the Gimp palette selection.",
|
||||
"This procedure closes an opened palette selection dialog.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -211,7 +213,8 @@ static ProcArg palettes_set_popup_inargs[] =
|
|||
|
||||
static ProcRecord palettes_set_popup_proc =
|
||||
{
|
||||
"gimp_palettes_set_popup",
|
||||
"gimp-palettes-set-popup",
|
||||
"gimp-palettes-set-popup",
|
||||
"Sets the current palette selection in a popup.",
|
||||
"Sets the current palette selection in a popup.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
|
|
@ -62,7 +62,8 @@ palettes_refresh_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord palettes_refresh_proc =
|
||||
{
|
||||
"gimp_palettes_refresh",
|
||||
"gimp-palettes-refresh",
|
||||
"gimp-palettes-refresh",
|
||||
"Refreshes current palettes. This function always succeeds.",
|
||||
"This procedure retrieves all palettes currently in the user's palette path and updates the palette dialogs accordingly.",
|
||||
"Adrian Likins <adrian@gimp.org>",
|
||||
|
@ -132,9 +133,10 @@ static ProcArg palettes_get_list_outargs[] =
|
|||
|
||||
static ProcRecord palettes_get_list_proc =
|
||||
{
|
||||
"gimp_palettes_get_list",
|
||||
"gimp-palettes-get-list",
|
||||
"gimp-palettes-get-list",
|
||||
"Retrieves a list of all of the available palettes",
|
||||
"This procedure returns a complete listing of available palettes. Each name returned can be used as input to the command 'gimp_context_set_palette'.",
|
||||
"This procedure returns a complete listing of available palettes. Each name returned can be used as input to the command 'gimp-context-set-palette'.",
|
||||
"Nathan Summers <rock@gimp.org>",
|
||||
"Nathan Summers",
|
||||
"2001",
|
||||
|
@ -186,13 +188,14 @@ static ProcArg palettes_get_palette_outargs[] =
|
|||
|
||||
static ProcRecord palettes_get_palette_proc =
|
||||
{
|
||||
"gimp_palettes_get_palette",
|
||||
"This procedure is deprecated! Use 'gimp_context_get_palette' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_context_get_palette' instead.",
|
||||
"gimp-palettes-get-palette",
|
||||
"gimp-palettes-get-palette",
|
||||
"This procedure is deprecated! Use 'gimp-context-get-palette' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-context-get-palette' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_context_get_palette",
|
||||
"gimp-context-get-palette",
|
||||
GIMP_INTERNAL,
|
||||
0,
|
||||
NULL,
|
||||
|
@ -300,13 +303,14 @@ static ProcArg palettes_get_palette_entry_outargs[] =
|
|||
|
||||
static ProcRecord palettes_get_palette_entry_proc =
|
||||
{
|
||||
"gimp_palettes_get_palette_entry",
|
||||
"This procedure is deprecated! Use 'gimp_palette_entry_get_color' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_palette_entry_get_color' instead.",
|
||||
"gimp-palettes-get-palette-entry",
|
||||
"gimp-palettes-get-palette-entry",
|
||||
"This procedure is deprecated! Use 'gimp-palette-entry-get-color' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-palette-entry-get-color' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_palette_entry_get_color",
|
||||
"gimp-palette-entry-get-color",
|
||||
GIMP_INTERNAL,
|
||||
2,
|
||||
palettes_get_palette_entry_inargs,
|
||||
|
|
|
@ -111,7 +111,8 @@ static ProcArg parasite_find_outargs[] =
|
|||
|
||||
static ProcRecord parasite_find_proc =
|
||||
{
|
||||
"gimp_parasite_find",
|
||||
"gimp-parasite-find",
|
||||
"gimp-parasite-find",
|
||||
"Finds the named parasite.",
|
||||
"Finds and returns the named parasite that was previously attached to the gimp.",
|
||||
"Jay Cox",
|
||||
|
@ -156,7 +157,8 @@ static ProcArg parasite_attach_inargs[] =
|
|||
|
||||
static ProcRecord parasite_attach_proc =
|
||||
{
|
||||
"gimp_parasite_attach",
|
||||
"gimp-parasite-attach",
|
||||
"gimp-parasite-attach",
|
||||
"Add a parasite to the gimp.",
|
||||
"This procedure attaches a parasite to the gimp. It has no return values.",
|
||||
"Jay Cox",
|
||||
|
@ -201,7 +203,8 @@ static ProcArg parasite_detach_inargs[] =
|
|||
|
||||
static ProcRecord parasite_detach_proc =
|
||||
{
|
||||
"gimp_parasite_detach",
|
||||
"gimp-parasite-detach",
|
||||
"gimp-parasite-detach",
|
||||
"Removes a parasite from the gimp.",
|
||||
"This procedure detaches a parasite from the gimp. It has no return values.",
|
||||
"Jay Cox",
|
||||
|
@ -252,7 +255,8 @@ static ProcArg parasite_list_outargs[] =
|
|||
|
||||
static ProcRecord parasite_list_proc =
|
||||
{
|
||||
"gimp_parasite_list",
|
||||
"gimp-parasite-list",
|
||||
"gimp-parasite-list",
|
||||
"List all parasites.",
|
||||
"Returns a list of all currently attached parasites.",
|
||||
"Marc Lehmann",
|
||||
|
@ -326,7 +330,8 @@ static ProcArg drawable_parasite_find_outargs[] =
|
|||
|
||||
static ProcRecord drawable_parasite_find_proc =
|
||||
{
|
||||
"gimp_drawable_parasite_find",
|
||||
"gimp-drawable-parasite-find",
|
||||
"gimp-drawable-parasite-find",
|
||||
"Finds the named parasite in a drawable",
|
||||
"Finds and returns the named parasite that was previously attached to a drawable.",
|
||||
"Jay Cox",
|
||||
|
@ -381,7 +386,8 @@ static ProcArg drawable_parasite_attach_inargs[] =
|
|||
|
||||
static ProcRecord drawable_parasite_attach_proc =
|
||||
{
|
||||
"gimp_drawable_parasite_attach",
|
||||
"gimp-drawable-parasite-attach",
|
||||
"gimp-drawable-parasite-attach",
|
||||
"Add a parasite to a drawable.",
|
||||
"This procedure attaches a parasite to a drawable. It has no return values.",
|
||||
"Jay Cox",
|
||||
|
@ -436,7 +442,8 @@ static ProcArg drawable_parasite_detach_inargs[] =
|
|||
|
||||
static ProcRecord drawable_parasite_detach_proc =
|
||||
{
|
||||
"gimp_drawable_parasite_detach",
|
||||
"gimp-drawable-parasite-detach",
|
||||
"gimp-drawable-parasite-detach",
|
||||
"Removes a parasite from a drawable.",
|
||||
"This procedure detaches a parasite from a drawable. It has no return values.",
|
||||
"Jay Cox",
|
||||
|
@ -506,7 +513,8 @@ static ProcArg drawable_parasite_list_outargs[] =
|
|||
|
||||
static ProcRecord drawable_parasite_list_proc =
|
||||
{
|
||||
"gimp_drawable_parasite_list",
|
||||
"gimp-drawable-parasite-list",
|
||||
"gimp-drawable-parasite-list",
|
||||
"List all parasites.",
|
||||
"Returns a list of all currently attached parasites.",
|
||||
"Marc Lehmann",
|
||||
|
@ -580,7 +588,8 @@ static ProcArg image_parasite_find_outargs[] =
|
|||
|
||||
static ProcRecord image_parasite_find_proc =
|
||||
{
|
||||
"gimp_image_parasite_find",
|
||||
"gimp-image-parasite-find",
|
||||
"gimp-image-parasite-find",
|
||||
"Finds the named parasite in an image",
|
||||
"Finds and returns the named parasite that was previously attached to an image.",
|
||||
"Jay Cox",
|
||||
|
@ -635,7 +644,8 @@ static ProcArg image_parasite_attach_inargs[] =
|
|||
|
||||
static ProcRecord image_parasite_attach_proc =
|
||||
{
|
||||
"gimp_image_parasite_attach",
|
||||
"gimp-image-parasite-attach",
|
||||
"gimp-image-parasite-attach",
|
||||
"Add a parasite to an image.",
|
||||
"This procedure attaches a parasite to an image. It has no return values.",
|
||||
"Jay Cox",
|
||||
|
@ -690,7 +700,8 @@ static ProcArg image_parasite_detach_inargs[] =
|
|||
|
||||
static ProcRecord image_parasite_detach_proc =
|
||||
{
|
||||
"gimp_image_parasite_detach",
|
||||
"gimp-image-parasite-detach",
|
||||
"gimp-image-parasite-detach",
|
||||
"Removes a parasite from an image.",
|
||||
"This procedure detaches a parasite from an image. It has no return values.",
|
||||
"Jay Cox",
|
||||
|
@ -760,7 +771,8 @@ static ProcArg image_parasite_list_outargs[] =
|
|||
|
||||
static ProcRecord image_parasite_list_proc =
|
||||
{
|
||||
"gimp_image_parasite_list",
|
||||
"gimp-image-parasite-list",
|
||||
"gimp-image-parasite-list",
|
||||
"List all parasites.",
|
||||
"Returns a list of all currently attached parasites.",
|
||||
"Marc Lehmann",
|
||||
|
|
|
@ -132,7 +132,8 @@ static ProcArg path_list_outargs[] =
|
|||
|
||||
static ProcRecord path_list_proc =
|
||||
{
|
||||
"gimp_path_list",
|
||||
"gimp-path-list",
|
||||
"gimp-path-list",
|
||||
"List the paths associated with the passed image.",
|
||||
"List the paths associated with the passed image.",
|
||||
"Andy Thomas",
|
||||
|
@ -201,7 +202,8 @@ static ProcArg path_get_current_outargs[] =
|
|||
|
||||
static ProcRecord path_get_current_proc =
|
||||
{
|
||||
"gimp_path_get_current",
|
||||
"gimp-path-get-current",
|
||||
"gimp-path-get-current",
|
||||
"The name of the current path. Error if no paths.",
|
||||
"The name of the current path. Error if no paths.",
|
||||
"Andy Thomas",
|
||||
|
@ -264,7 +266,8 @@ static ProcArg path_set_current_inargs[] =
|
|||
|
||||
static ProcRecord path_set_current_proc =
|
||||
{
|
||||
"gimp_path_set_current",
|
||||
"gimp-path-set-current",
|
||||
"gimp-path-set-current",
|
||||
"Sets the current path associated with the passed image.",
|
||||
"Sets a named path as the current path.",
|
||||
"Andy Thomas",
|
||||
|
@ -327,7 +330,8 @@ static ProcArg path_delete_inargs[] =
|
|||
|
||||
static ProcRecord path_delete_proc =
|
||||
{
|
||||
"gimp_path_delete",
|
||||
"gimp-path-delete",
|
||||
"gimp-path-delete",
|
||||
"Delete the named path associated with the passed image.",
|
||||
"Delete the named path.",
|
||||
"Andy Thomas",
|
||||
|
@ -460,7 +464,8 @@ static ProcArg path_get_points_outargs[] =
|
|||
|
||||
static ProcRecord path_get_points_proc =
|
||||
{
|
||||
"gimp_path_get_points",
|
||||
"gimp-path-get-points",
|
||||
"gimp-path-get-points",
|
||||
"List the points associated with the named path.",
|
||||
"List the points associated with the named path.",
|
||||
"Andy Thomas",
|
||||
|
@ -579,7 +584,8 @@ static ProcArg path_set_points_inargs[] =
|
|||
|
||||
static ProcRecord path_set_points_proc =
|
||||
{
|
||||
"gimp_path_set_points",
|
||||
"gimp-path-set-points",
|
||||
"gimp-path-set-points",
|
||||
"Set the points associated with the named path.",
|
||||
"Set the points associated with the named path.",
|
||||
"Andy Thomas",
|
||||
|
@ -641,7 +647,8 @@ static ProcArg path_stroke_current_inargs[] =
|
|||
|
||||
static ProcRecord path_stroke_current_proc =
|
||||
{
|
||||
"gimp_path_stroke_current",
|
||||
"gimp-path-stroke-current",
|
||||
"gimp-path-stroke-current",
|
||||
"Stroke the current path in the passed image.",
|
||||
"Stroke the current path in the passed image.",
|
||||
"Andy Thomas",
|
||||
|
@ -775,7 +782,8 @@ static ProcArg path_get_point_at_dist_outargs[] =
|
|||
|
||||
static ProcRecord path_get_point_at_dist_proc =
|
||||
{
|
||||
"gimp_path_get_point_at_dist",
|
||||
"gimp-path-get-point-at-dist",
|
||||
"gimp-path-get-point-at-dist",
|
||||
"Get point on a path at a specified distance along the path.",
|
||||
"This will return the x,y position of a point at a given distance along the bezier curve. The distance will be obtained by first digitizing the curve internally and then walking along the curve. For a closed curve the start of the path is the first point on the path that was created. This might not be obvious. Note the current path is used.",
|
||||
"Andy Thomas",
|
||||
|
@ -854,7 +862,8 @@ static ProcArg path_get_tattoo_outargs[] =
|
|||
|
||||
static ProcRecord path_get_tattoo_proc =
|
||||
{
|
||||
"gimp_path_get_tattoo",
|
||||
"gimp-path-get-tattoo",
|
||||
"gimp-path-get-tattoo",
|
||||
"Returns the tattoo associated with the name path.",
|
||||
"This procedure returns the tattoo associated with the specified path. A tattoo is a unique and permanent identifier attached to a path that can be used to uniquely identify a path within an image even between sessions.",
|
||||
"Andy Thomas",
|
||||
|
@ -925,7 +934,8 @@ static ProcArg path_set_tattoo_inargs[] =
|
|||
|
||||
static ProcRecord path_set_tattoo_proc =
|
||||
{
|
||||
"gimp_path_set_tattoo",
|
||||
"gimp-path-set-tattoo",
|
||||
"gimp-path-set-tattoo",
|
||||
"Sets the tattoo associated with the named path.",
|
||||
"This procedure sets the tattoo associated with the specified path. A tattoo is a unique and permenant identifier attached to a path that can be used to uniquely identify a path within an image even between sessions. Note that the value passed to this function must have been obtained from a previous call to path_get_tattoo.",
|
||||
"Andy Thomas",
|
||||
|
@ -1002,7 +1012,8 @@ static ProcArg get_path_by_tattoo_outargs[] =
|
|||
|
||||
static ProcRecord get_path_by_tattoo_proc =
|
||||
{
|
||||
"gimp_get_path_by_tattoo",
|
||||
"gimp-get-path-by-tattoo",
|
||||
"gimp-get-path-by-tattoo",
|
||||
"Return the name of the path with the given tattoo.",
|
||||
"The procedure returns the name of the path in the specified image which has the passed tattoo. The tattoos are unique within the image and will be preserved across sessions and through renaming of the path. An error is returned if no path with the specified tattoo can be found.",
|
||||
"Andy Thomas",
|
||||
|
@ -1081,7 +1092,8 @@ static ProcArg path_get_locked_outargs[] =
|
|||
|
||||
static ProcRecord path_get_locked_proc =
|
||||
{
|
||||
"gimp_path_get_locked",
|
||||
"gimp-path-get-locked",
|
||||
"gimp-path-get-locked",
|
||||
"Returns the locked status associated with the named path.",
|
||||
"This procedure returns the lock status associated with the specified path. A path can be \"locked\" which means that the transformation tool operations will also apply to the path.",
|
||||
"Andy Thomas",
|
||||
|
@ -1152,7 +1164,8 @@ static ProcArg path_set_locked_inargs[] =
|
|||
|
||||
static ProcRecord path_set_locked_proc =
|
||||
{
|
||||
"gimp_path_set_locked",
|
||||
"gimp-path-set-locked",
|
||||
"gimp-path-set-locked",
|
||||
"Set the locked status associated with the named path.",
|
||||
"This procedure sets the lock status associated with the specified path. A path can be \"locked\" which means that the transformation tool operations will also apply to the path.",
|
||||
"Andy Thomas",
|
||||
|
@ -1264,7 +1277,8 @@ static ProcArg path_to_selection_inargs[] =
|
|||
|
||||
static ProcRecord path_to_selection_proc =
|
||||
{
|
||||
"gimp_path_to_selection",
|
||||
"gimp-path-to-selection",
|
||||
"gimp-path-to-selection",
|
||||
"Transforms the active path into a selection",
|
||||
"This procedure renders the desired path into the current selection.",
|
||||
"Joao S. O. Bueno",
|
||||
|
@ -1335,7 +1349,8 @@ static ProcArg path_import_inargs[] =
|
|||
|
||||
static ProcRecord path_import_proc =
|
||||
{
|
||||
"gimp_path_import",
|
||||
"gimp-path-import",
|
||||
"gimp-path-import",
|
||||
"Import paths from an SVG file.",
|
||||
"This procedure imports paths from an SVG file. SVG elements other than paths and basic shapes are ignored.",
|
||||
"Sven Neumann",
|
||||
|
@ -1414,7 +1429,8 @@ static ProcArg path_import_string_inargs[] =
|
|||
|
||||
static ProcRecord path_import_string_proc =
|
||||
{
|
||||
"gimp_path_import_string",
|
||||
"gimp-path-import-string",
|
||||
"gimp-path-import-string",
|
||||
"Import paths from an SVG string.",
|
||||
"This procedure works like gimp_path_import() but takes a string rather than reading the SVG from a file. This allows you to write scripts that generate SVG and feed it to GIMP.",
|
||||
"Sven Neumann",
|
||||
|
|
|
@ -109,7 +109,8 @@ static ProcArg pattern_get_info_outargs[] =
|
|||
|
||||
static ProcRecord pattern_get_info_proc =
|
||||
{
|
||||
"gimp_pattern_get_info",
|
||||
"gimp-pattern-get-info",
|
||||
"gimp-pattern-get-info",
|
||||
"Retrieve information about the specified pattern.",
|
||||
"This procedure retrieves information about the specified pattern. This includes the pattern extents (width and height).",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -211,7 +212,8 @@ static ProcArg pattern_get_pixels_outargs[] =
|
|||
|
||||
static ProcRecord pattern_get_pixels_proc =
|
||||
{
|
||||
"gimp_pattern_get_pixels",
|
||||
"gimp-pattern-get-pixels",
|
||||
"gimp-pattern-get-pixels",
|
||||
"Retrieve information about the specified pattern (including pixels).",
|
||||
"This procedure retrieves information about the specified. This includes the pattern extents (width and height), its bpp and its pixel data.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
|
|
@ -98,7 +98,8 @@ static ProcArg patterns_popup_inargs[] =
|
|||
|
||||
static ProcRecord patterns_popup_proc =
|
||||
{
|
||||
"gimp_patterns_popup",
|
||||
"gimp-patterns-popup",
|
||||
"gimp-patterns-popup",
|
||||
"Invokes the Gimp pattern selection.",
|
||||
"This procedure popups the pattern selection dialog.",
|
||||
"Andy Thomas",
|
||||
|
@ -149,7 +150,8 @@ static ProcArg patterns_close_popup_inargs[] =
|
|||
|
||||
static ProcRecord patterns_close_popup_proc =
|
||||
{
|
||||
"gimp_patterns_close_popup",
|
||||
"gimp-patterns-close-popup",
|
||||
"gimp-patterns-close-popup",
|
||||
"Popdown the Gimp pattern selection.",
|
||||
"This procedure closes an opened pattern selection dialog.",
|
||||
"Andy Thomas",
|
||||
|
@ -211,7 +213,8 @@ static ProcArg patterns_set_popup_inargs[] =
|
|||
|
||||
static ProcRecord patterns_set_popup_proc =
|
||||
{
|
||||
"gimp_patterns_set_popup",
|
||||
"gimp-patterns-set-popup",
|
||||
"gimp-patterns-set-popup",
|
||||
"Sets the current pattern selection in a popup.",
|
||||
"Sets the current pattern selection in a popup.",
|
||||
"Andy Thomas",
|
||||
|
|
|
@ -61,7 +61,8 @@ patterns_refresh_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord patterns_refresh_proc =
|
||||
{
|
||||
"gimp_patterns_refresh",
|
||||
"gimp-patterns-refresh",
|
||||
"gimp-patterns-refresh",
|
||||
"Refresh current patterns. This function always succeeds.",
|
||||
"This procedure retrieves all patterns currently in the user's pattern path and updates all pattern dialogs accordingly.",
|
||||
"Michael Natterer",
|
||||
|
@ -131,9 +132,10 @@ static ProcArg patterns_get_list_outargs[] =
|
|||
|
||||
static ProcRecord patterns_get_list_proc =
|
||||
{
|
||||
"gimp_patterns_get_list",
|
||||
"gimp-patterns-get-list",
|
||||
"gimp-patterns-get-list",
|
||||
"Retrieve a complete listing of the available patterns.",
|
||||
"This procedure returns a complete listing of available GIMP patterns. Each name returned can be used as input to the 'gimp_context_set_pattern'.",
|
||||
"This procedure returns a complete listing of available GIMP patterns. Each name returned can be used as input to the 'gimp-context-set-pattern'.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996",
|
||||
|
@ -191,13 +193,14 @@ static ProcArg patterns_get_pattern_outargs[] =
|
|||
|
||||
static ProcRecord patterns_get_pattern_proc =
|
||||
{
|
||||
"gimp_patterns_get_pattern",
|
||||
"This procedure is deprecated! Use 'gimp_context_get_pattern' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_context_get_pattern' instead.",
|
||||
"gimp-patterns-get-pattern",
|
||||
"gimp-patterns-get-pattern",
|
||||
"This procedure is deprecated! Use 'gimp-context-get-pattern' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-context-get-pattern' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_context_get_pattern",
|
||||
"gimp-context-get-pattern",
|
||||
GIMP_INTERNAL,
|
||||
0,
|
||||
NULL,
|
||||
|
@ -306,13 +309,14 @@ static ProcArg patterns_get_pattern_data_outargs[] =
|
|||
|
||||
static ProcRecord patterns_get_pattern_data_proc =
|
||||
{
|
||||
"gimp_patterns_get_pattern_data",
|
||||
"This procedure is deprecated! Use 'gimp_pattern_get_pixels' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_pattern_get_pixels' instead.",
|
||||
"gimp-patterns-get-pattern-data",
|
||||
"gimp-patterns-get-pattern-data",
|
||||
"This procedure is deprecated! Use 'gimp-pattern-get-pixels' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-pattern-get-pixels' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_pattern_get_pixels",
|
||||
"gimp-pattern-get-pixels",
|
||||
GIMP_INTERNAL,
|
||||
1,
|
||||
patterns_get_pattern_data_inargs,
|
||||
|
|
|
@ -176,7 +176,8 @@ static ProcArg plugins_query_outargs[] =
|
|||
|
||||
static ProcRecord plugins_query_proc =
|
||||
{
|
||||
"gimp_plugins_query",
|
||||
"gimp-plugins-query",
|
||||
"gimp-plugins-query",
|
||||
"Queries the plugin database for its contents.",
|
||||
"This procedure queries the contents of the plugin database.",
|
||||
"Andy Thomas",
|
||||
|
@ -239,7 +240,8 @@ static ProcArg plugin_domain_register_inargs[] =
|
|||
|
||||
static ProcRecord plugin_domain_register_proc =
|
||||
{
|
||||
"gimp_plugin_domain_register",
|
||||
"gimp-plugin-domain-register",
|
||||
"gimp-plugin-domain-register",
|
||||
"Registers a textdomain for localisation.",
|
||||
"This procedure adds a textdomain to the list of domains Gimp searches for strings when translating its menu entries. There is no need to call this function for plug-ins that have their strings included in the gimp-std-plugins domain as that is used by default. If the compiled message catalog is not in the standard location, you may specify an absolute path to another location. This procedure can only be called in the query function of a plug-in and it has to be called before any procedure is installed.",
|
||||
"Sven Neumann",
|
||||
|
@ -304,7 +306,8 @@ static ProcArg plugin_help_register_inargs[] =
|
|||
|
||||
static ProcRecord plugin_help_register_proc =
|
||||
{
|
||||
"gimp_plugin_help_register",
|
||||
"gimp-plugin-help-register",
|
||||
"gimp-plugin-help-register",
|
||||
"Register a help path for a plug-in.",
|
||||
"This procedure changes the help rootdir for the plug-in which calls it. All subsequent calls of gimp_help from this plug-in will be interpreted relative to this rootdir.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -342,14 +345,17 @@ plugin_menu_register_invoker (Gimp *gimp,
|
|||
if (gimp->current_plug_in)
|
||||
{
|
||||
PlugInProcDef *proc_def = NULL;
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (procedure_name);
|
||||
|
||||
if (gimp->current_plug_in->plug_in_def)
|
||||
proc_def = plug_in_proc_def_find (gimp->current_plug_in->plug_in_def->proc_defs,
|
||||
procedure_name);
|
||||
canonical);
|
||||
|
||||
if (! proc_def)
|
||||
proc_def = plug_in_proc_def_find (gimp->current_plug_in->temp_proc_defs,
|
||||
procedure_name);
|
||||
canonical);
|
||||
|
||||
if (proc_def)
|
||||
{
|
||||
|
@ -359,7 +365,7 @@ plugin_menu_register_invoker (Gimp *gimp,
|
|||
|
||||
if (! plug_in_proc_args_check (gimp->current_plug_in->name,
|
||||
gimp->current_plug_in->prog,
|
||||
procedure_name,
|
||||
canonical,
|
||||
menu_path,
|
||||
proc_def->db_info.args,
|
||||
proc_def->db_info.num_args,
|
||||
|
@ -415,13 +421,15 @@ plugin_menu_register_invoker (Gimp *gimp,
|
|||
"label to gimp_install_procedure().",
|
||||
gimp_filename_to_utf8 (gimp->current_plug_in->name),
|
||||
gimp_filename_to_utf8 (gimp->current_plug_in->prog),
|
||||
menu_path, procedure_name);
|
||||
menu_path, canonical);
|
||||
|
||||
success = FALSE;
|
||||
}
|
||||
}
|
||||
else
|
||||
success = FALSE;
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
else
|
||||
success = FALSE;
|
||||
|
@ -446,7 +454,8 @@ static ProcArg plugin_menu_register_inargs[] =
|
|||
|
||||
static ProcRecord plugin_menu_register_proc =
|
||||
{
|
||||
"gimp_plugin_menu_register",
|
||||
"gimp-plugin-menu-register",
|
||||
"gimp-plugin-menu-register",
|
||||
"Register an additional menu path for a plug-in procedure.",
|
||||
"This procedure installs an additional menu entry for the given procedure.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -517,7 +526,8 @@ static ProcArg plugin_menu_branch_register_inargs[] =
|
|||
|
||||
static ProcRecord plugin_menu_branch_register_proc =
|
||||
{
|
||||
"gimp_plugin_menu_branch_register",
|
||||
"gimp-plugin-menu-branch-register",
|
||||
"gimp-plugin-menu-branch-register",
|
||||
"Register a sub-menu.",
|
||||
"This procedure installs an sub-menu which does not belong to any procedure.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -563,9 +573,14 @@ plugin_icon_register_invoker (Gimp *gimp,
|
|||
if (gimp->current_plug_in && gimp->current_plug_in->query)
|
||||
{
|
||||
PlugInProcDef *proc_def;
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (procedure_name);
|
||||
|
||||
proc_def = plug_in_proc_def_find (gimp->current_plug_in->plug_in_def->proc_defs,
|
||||
procedure_name);
|
||||
canonical);
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
if (proc_def)
|
||||
plug_in_proc_def_set_icon (proc_def, icon_type,
|
||||
|
@ -606,7 +621,8 @@ static ProcArg plugin_icon_register_inargs[] =
|
|||
|
||||
static ProcRecord plugin_icon_register_proc =
|
||||
{
|
||||
"gimp_plugin_icon_register",
|
||||
"gimp-plugin-icon-register",
|
||||
"gimp-plugin-icon-register",
|
||||
"Register an icon for a plug-in procedure.",
|
||||
"This procedure installs an icon for the given procedure.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
|
|
@ -109,68 +109,68 @@ procedural_db_init_procs (Gimp *gimp,
|
|||
}
|
||||
compat_procs[] =
|
||||
{
|
||||
{ "gimp_blend", "gimp_edit_blend" },
|
||||
{ "gimp_brushes_list", "gimp_brushes_get_list" },
|
||||
{ "gimp_bucket_fill", "gimp_edit_bucket_fill" },
|
||||
{ "gimp_channel_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_channel_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_channel_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_channel_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_channel_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_channel_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_channel_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_color_picker", "gimp_image_pick_color" },
|
||||
{ "gimp_convert_grayscale", "gimp_image_convert_grayscale" },
|
||||
{ "gimp_convert_indexed", "gimp_image_convert_indexed" },
|
||||
{ "gimp_convert_rgb", "gimp_image_convert_rgb" },
|
||||
{ "gimp_crop", "gimp_image_crop" },
|
||||
{ "gimp_drawable_bytes", "gimp_drawable_bpp" },
|
||||
{ "gimp_drawable_image", "gimp_drawable_get_image" },
|
||||
{ "gimp_image_active_drawable", "gimp_image_get_active_drawable" },
|
||||
{ "gimp_image_floating_selection", "gimp_image_get_floating_sel" },
|
||||
{ "gimp_layer_delete", "gimp_drawable_delete" },
|
||||
{ "gimp_layer_get_linked", "gimp_drawable_get_linked" },
|
||||
{ "gimp_layer_get_name", "gimp_drawable_get_name" },
|
||||
{ "gimp_layer_get_tattoo", "gimp_drawable_get_tattoo" },
|
||||
{ "gimp_layer_get_visible", "gimp_drawable_get_visible" },
|
||||
{ "gimp_layer_mask", "gimp_layer_get_mask" },
|
||||
{ "gimp_layer_set_linked", "gimp_drawable_set_linked" },
|
||||
{ "gimp_layer_set_name", "gimp_drawable_set_name" },
|
||||
{ "gimp_layer_set_tattoo", "gimp_drawable_set_tattoo" },
|
||||
{ "gimp_layer_set_visible", "gimp_drawable_set_visible" },
|
||||
{ "gimp_palette_refresh", "gimp_palettes_refresh" },
|
||||
{ "gimp_patterns_list", "gimp_patterns_get_list" },
|
||||
{ "gimp_temp_PDB_name", "gimp_procedural_db_temp_name" },
|
||||
{ "gimp_undo_push_group_end", "gimp_image_undo_group_end" },
|
||||
{ "gimp_undo_push_group_start", "gimp_image_undo_group_start" },
|
||||
{ "gimp-blend", "gimp-edit-blend" },
|
||||
{ "gimp-brushes-list", "gimp-brushes-get-list" },
|
||||
{ "gimp-bucket-fill", "gimp-edit-bucket-fill" },
|
||||
{ "gimp-channel-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-channel-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-channel-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-channel-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-channel-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-channel-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-channel-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-color-picker", "gimp-image-pick-color" },
|
||||
{ "gimp-convert-grayscale", "gimp-image-convert-grayscale" },
|
||||
{ "gimp-convert-indexed", "gimp-image-convert-indexed" },
|
||||
{ "gimp-convert-rgb", "gimp-image-convert-rgb" },
|
||||
{ "gimp-crop", "gimp-image-crop" },
|
||||
{ "gimp-drawable-bytes", "gimp-drawable-bpp" },
|
||||
{ "gimp-drawable-image", "gimp-drawable-get-image" },
|
||||
{ "gimp-image-active-drawable", "gimp-image-get-active-drawable" },
|
||||
{ "gimp-image-floating-selection", "gimp-image-get-floating-sel" },
|
||||
{ "gimp-layer-delete", "gimp-drawable-delete" },
|
||||
{ "gimp-layer-get-linked", "gimp-drawable-get-linked" },
|
||||
{ "gimp-layer-get-name", "gimp-drawable-get-name" },
|
||||
{ "gimp-layer-get-tattoo", "gimp-drawable-get-tattoo" },
|
||||
{ "gimp-layer-get-visible", "gimp-drawable-get-visible" },
|
||||
{ "gimp-layer-mask", "gimp-layer-get-mask" },
|
||||
{ "gimp-layer-set-linked", "gimp-drawable-set-linked" },
|
||||
{ "gimp-layer-set-name", "gimp-drawable-set-name" },
|
||||
{ "gimp-layer-set-tattoo", "gimp-drawable-set-tattoo" },
|
||||
{ "gimp-layer-set-visible", "gimp-drawable-set-visible" },
|
||||
{ "gimp-palette-refresh", "gimp-palettes-refresh" },
|
||||
{ "gimp-patterns-list", "gimp-patterns-get-list" },
|
||||
{ "gimp-temp-PDB-name", "gimp-procedural-db-temp-name" },
|
||||
{ "gimp-undo-push-group-end", "gimp-image-undo-group-end" },
|
||||
{ "gimp-undo-push-group-start", "gimp-image-undo-group-start" },
|
||||
|
||||
/* deprecations since 2.0 */
|
||||
{ "gimp_brushes_get_opacity", "gimp_context_get_opacity" },
|
||||
{ "gimp_brushes_get_paint_mode", "gimp_context_get_paint_mode" },
|
||||
{ "gimp_brushes_set_brush", "gimp_context_set_brush" },
|
||||
{ "gimp_brushes_set_opacity", "gimp_context_set_opacity" },
|
||||
{ "gimp_brushes_set_paint_mode", "gimp_context_set_paint_mode" },
|
||||
{ "gimp_channel_ops_duplicate", "gimp_image_duplicate" },
|
||||
{ "gimp_channel_ops_offset", "gimp_drawable_offset" },
|
||||
{ "gimp_gradients_get_active", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_get_gradient", "gimp_context_get_gradient" },
|
||||
{ "gimp_gradients_set_active", "gimp_context_set_gradient" },
|
||||
{ "gimp_gradients_set_gradient", "gimp_context_set_gradient" },
|
||||
{ "gimp_image_get_cmap", "gimp_image_get_colormap" },
|
||||
{ "gimp_image_set_cmap", "gimp_image_set_colormap" },
|
||||
{ "gimp_palette_get_background", "gimp_context_get_background" },
|
||||
{ "gimp_palette_get_foreground", "gimp_context_get_foreground" },
|
||||
{ "gimp_palette_set_background", "gimp_context_set_background" },
|
||||
{ "gimp_palette_set_default_colors", "gimp_context_set_default_colors" },
|
||||
{ "gimp_palette_set_foreground", "gimp_context_set_foreground" },
|
||||
{ "gimp_palette_swap_colors", "gimp_context_swap_colors" },
|
||||
{ "gimp_palettes_set_palette", "gimp_context_set_palette" },
|
||||
{ "gimp_patterns_set_pattern", "gimp_context_set_pattern" },
|
||||
{ "gimp_selection_clear", "gimp_selection_none" },
|
||||
{ "gimp-brushes-get-opacity", "gimp-context-get-opacity" },
|
||||
{ "gimp-brushes-get-paint-mode", "gimp-context-get-paint-mode" },
|
||||
{ "gimp-brushes-set-brush", "gimp-context-set-brush" },
|
||||
{ "gimp-brushes-set-opacity", "gimp-context-set-opacity" },
|
||||
{ "gimp-brushes-set-paint-mode", "gimp-context-set-paint-mode" },
|
||||
{ "gimp-channel-ops-duplicate", "gimp-image-duplicate" },
|
||||
{ "gimp-channel-ops-offset", "gimp-drawable-offset" },
|
||||
{ "gimp-gradients-get-active", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-get-gradient", "gimp-context-get-gradient" },
|
||||
{ "gimp-gradients-set-active", "gimp-context-set-gradient" },
|
||||
{ "gimp-gradients-set-gradient", "gimp-context-set-gradient" },
|
||||
{ "gimp-image-get-cmap", "gimp-image-get-colormap" },
|
||||
{ "gimp-image-set-cmap", "gimp-image-set-colormap" },
|
||||
{ "gimp-palette-get-background", "gimp-context-get-background" },
|
||||
{ "gimp-palette-get-foreground", "gimp-context-get-foreground" },
|
||||
{ "gimp-palette-set-background", "gimp-context-set-background" },
|
||||
{ "gimp-palette-set-default-colors", "gimp-context-set-default-colors" },
|
||||
{ "gimp-palette-set-foreground", "gimp-context-set-foreground" },
|
||||
{ "gimp-palette-swap-colors", "gimp-context-swap-colors" },
|
||||
{ "gimp-palettes-set-palette", "gimp-context-set-palette" },
|
||||
{ "gimp-patterns-set-pattern", "gimp-context-set-pattern" },
|
||||
{ "gimp-selection-clear", "gimp-selection-none" },
|
||||
|
||||
/* deprecations since 2.2 */
|
||||
{ "gimp_layer_get_preserve_trans", "gimp_drawable_get_lock_alpha" },
|
||||
{ "gimp_layer_set_preserve_trans", "gimp_drawable_set_lock_alpha" }
|
||||
{ "gimp-layer-get-preserve-trans", "gimp-drawable-get-lock-alpha" },
|
||||
{ "gimp-layer-set-preserve-trans", "gimp-drawable-set-lock-alpha" }
|
||||
};
|
||||
|
||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||
|
|
|
@ -92,6 +92,7 @@ struct _ProcRecord
|
|||
{
|
||||
/* Procedure information */
|
||||
gchar *name; /* Procedure name */
|
||||
gchar *original_name; /* Procedure name before canonicalization */
|
||||
gchar *blurb; /* Short procedure description */
|
||||
gchar *help; /* Detailed help instructions */
|
||||
gchar *author; /* Author field */
|
||||
|
|
|
@ -63,7 +63,7 @@ procedural_db_temp_name_invoker (Gimp *gimp,
|
|||
gchar *temp_name;
|
||||
static gint proc_number = 0;
|
||||
|
||||
temp_name = g_strdup_printf ("temp_procedure_number_%d", proc_number++);
|
||||
temp_name = g_strdup_printf ("temp-procedure-number-%d", proc_number++);
|
||||
|
||||
return_args = procedural_db_return_args (&procedural_db_temp_name_proc, TRUE);
|
||||
return_args[1].value.pdb_pointer = temp_name;
|
||||
|
@ -82,7 +82,8 @@ static ProcArg procedural_db_temp_name_outargs[] =
|
|||
|
||||
static ProcRecord procedural_db_temp_name_proc =
|
||||
{
|
||||
"gimp_procedural_db_temp_name",
|
||||
"gimp-procedural-db-temp-name",
|
||||
"gimp-procedural-db-temp-name",
|
||||
"Generates a unique temporary PDB name.",
|
||||
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is mainly used by the interactive popup dialogs to generate a PDB entry name.",
|
||||
"Andy Thomas",
|
||||
|
@ -129,7 +130,8 @@ static ProcArg procedural_db_dump_inargs[] =
|
|||
|
||||
static ProcRecord procedural_db_dump_proc =
|
||||
{
|
||||
"gimp_procedural_db_dump",
|
||||
"gimp-procedural-db-dump",
|
||||
"gimp-procedural-db-dump",
|
||||
"Dumps the current contents of the procedural database",
|
||||
"This procedure dumps the contents of the procedural database to the specified file. The file will contain all of the information provided for each registered procedure. This file is in a format appropriate for use with the supplied \"pdb_self_doc.el\" Elisp script, which generates a texinfo document.",
|
||||
"Spencer Kimball & Josh MacDonald",
|
||||
|
@ -263,7 +265,8 @@ static ProcArg procedural_db_query_outargs[] =
|
|||
|
||||
static ProcRecord procedural_db_query_proc =
|
||||
{
|
||||
"gimp_procedural_db_query",
|
||||
"gimp-procedural-db-query",
|
||||
"gimp-procedural-db-query",
|
||||
"Queries the procedural database for its contents using regular expression matching.",
|
||||
"This procedure queries the contents of the procedural database. It is supplied with seven arguments matching procedures on { name, blurb, help, author, copyright, date, procedure type}. This is accomplished using regular expression matching. For instance, to find all procedures with \"jpeg\" listed in the blurb, all seven arguments can be supplied as \".*\", except for the second, which can be supplied as \".*jpeg.*\". There are two return arguments for this procedure. The first is the number of procedures matching the query. The second is a concatenated list of procedure names corresponding to those matching the query. If no matching entries are found, then the returned string is NULL and the number of entries is 0.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -302,13 +305,17 @@ procedural_db_proc_info_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
GimpPDBProcType ptype;
|
||||
GimpPDBProcType ptype;
|
||||
gchar *canonical;
|
||||
|
||||
success = procedural_db_proc_info (gimp, proc_name,
|
||||
canonical = gimp_canonicalize_identifier (proc_name);
|
||||
|
||||
success = procedural_db_proc_info (gimp, canonical,
|
||||
&blurb, &help, &author, ©right, &date, &ptype,
|
||||
&num_args, &num_values);
|
||||
|
||||
proc_type = ptype;
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
return_args = procedural_db_return_args (&procedural_db_proc_info_proc, success);
|
||||
|
@ -383,7 +390,8 @@ static ProcArg procedural_db_proc_info_outargs[] =
|
|||
|
||||
static ProcRecord procedural_db_proc_info_proc =
|
||||
{
|
||||
"gimp_procedural_db_proc_info",
|
||||
"gimp-procedural-db-proc-info",
|
||||
"gimp-procedural-db-proc-info",
|
||||
"Queries the procedural database for information on the specified procedure.",
|
||||
"This procedure returns information on the specified procedure. A short blurb, detailed help, author(s), copyright information, procedure type, number of input, and number of return values are returned. For specific information on each input argument and return value, use the 'gimp_procedural_db_proc_arg' and 'gimp_procedural_db_proc_val' procedures.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -419,18 +427,24 @@ procedural_db_proc_arg_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
proc = procedural_db_lookup (gimp, proc_name);
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_name);
|
||||
|
||||
proc = procedural_db_lookup (gimp, canonical);
|
||||
|
||||
if (! proc)
|
||||
{
|
||||
const gchar *compat_name;
|
||||
|
||||
compat_name = g_hash_table_lookup (gimp->procedural_compat_ht, proc_name);
|
||||
compat_name = g_hash_table_lookup (gimp->procedural_compat_ht, canonical);
|
||||
|
||||
if (compat_name)
|
||||
proc = procedural_db_lookup (gimp, compat_name);
|
||||
}
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
if (proc && (arg_num >= 0 && arg_num < proc->num_args))
|
||||
arg = &proc->args[arg_num];
|
||||
else
|
||||
|
@ -484,7 +498,8 @@ static ProcArg procedural_db_proc_arg_outargs[] =
|
|||
|
||||
static ProcRecord procedural_db_proc_arg_proc =
|
||||
{
|
||||
"gimp_procedural_db_proc_arg",
|
||||
"gimp-procedural-db-proc-arg",
|
||||
"gimp-procedural-db-proc-arg",
|
||||
"Queries the procedural database for information on the specified procedure's argument.",
|
||||
"This procedure returns information on the specified procedure's argument. The argument type, name, and a description are retrieved.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -520,18 +535,24 @@ procedural_db_proc_val_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
proc = procedural_db_lookup (gimp, proc_name);
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_name);
|
||||
|
||||
proc = procedural_db_lookup (gimp, canonical);
|
||||
|
||||
if (! proc)
|
||||
{
|
||||
const gchar *compat_name;
|
||||
|
||||
compat_name = g_hash_table_lookup (gimp->procedural_compat_ht, proc_name);
|
||||
compat_name = g_hash_table_lookup (gimp->procedural_compat_ht, canonical);
|
||||
|
||||
if (compat_name)
|
||||
proc = procedural_db_lookup (gimp, compat_name);
|
||||
}
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
if (proc && (val_num >= 0 && val_num < proc->num_values))
|
||||
val = &proc->values[val_num];
|
||||
else
|
||||
|
@ -585,7 +606,8 @@ static ProcArg procedural_db_proc_val_outargs[] =
|
|||
|
||||
static ProcRecord procedural_db_proc_val_proc =
|
||||
{
|
||||
"gimp_procedural_db_proc_val",
|
||||
"gimp-procedural-db-proc-val",
|
||||
"gimp-procedural-db-proc-val",
|
||||
"Queries the procedural database for information on the specified procedure's return value.",
|
||||
"This procedure returns information on the specified procedure's return value. The return value type, name, and a description are retrieved.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -619,9 +641,15 @@ procedural_db_get_data_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
data = procedural_db_get_data (gimp, identifier, &bytes);
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (identifier);
|
||||
|
||||
data = procedural_db_get_data (gimp, canonical, &bytes);
|
||||
success = (data != NULL);
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
if (success)
|
||||
data_copy = g_memdup (data, bytes);
|
||||
}
|
||||
|
@ -662,7 +690,8 @@ static ProcArg procedural_db_get_data_outargs[] =
|
|||
|
||||
static ProcRecord procedural_db_get_data_proc =
|
||||
{
|
||||
"gimp_procedural_db_get_data",
|
||||
"gimp-procedural-db-get-data",
|
||||
"gimp-procedural-db-get-data",
|
||||
"Returns data associated with the specified identifier.",
|
||||
"This procedure returns any data which may have been associated with the specified identifier. The data is a variable length array of bytes. If no data has been associated with the identifier, an error is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -695,8 +724,14 @@ procedural_db_get_data_size_invoker (Gimp *gimp,
|
|||
|
||||
if (success)
|
||||
{
|
||||
data = procedural_db_get_data (gimp, identifier, &bytes);
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (identifier);
|
||||
|
||||
data = procedural_db_get_data (gimp, canonical, &bytes);
|
||||
success = (data != NULL);
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
return_args = procedural_db_return_args (&procedural_db_get_data_size_proc, success);
|
||||
|
@ -727,7 +762,8 @@ static ProcArg procedural_db_get_data_size_outargs[] =
|
|||
|
||||
static ProcRecord procedural_db_get_data_size_proc =
|
||||
{
|
||||
"gimp_procedural_db_get_data_size",
|
||||
"gimp-procedural-db-get-data-size",
|
||||
"gimp-procedural-db-get-data-size",
|
||||
"Returns size of data associated with the specified identifier.",
|
||||
"This procedure returns the size of any data which may have been associated with the specified identifier. If no data has been associated with the identifier, an error is returned.",
|
||||
"Nick Lamb",
|
||||
|
@ -764,7 +800,15 @@ procedural_db_set_data_invoker (Gimp *gimp,
|
|||
data = (guint8 *) args[2].value.pdb_pointer;
|
||||
|
||||
if (success)
|
||||
procedural_db_set_data (gimp, identifier, bytes, data);
|
||||
{
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (identifier);
|
||||
|
||||
procedural_db_set_data (gimp, canonical, bytes, data);
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
return procedural_db_return_args (&procedural_db_set_data_proc, success);
|
||||
}
|
||||
|
@ -790,7 +834,8 @@ static ProcArg procedural_db_set_data_inargs[] =
|
|||
|
||||
static ProcRecord procedural_db_set_data_proc =
|
||||
{
|
||||
"gimp_procedural_db_set_data",
|
||||
"gimp-procedural-db-set-data",
|
||||
"gimp-procedural-db-set-data",
|
||||
"Associates the specified identifier with the supplied data.",
|
||||
"This procedure associates the supplied data with the provided identifier. The data may be subsequently retrieved by a call to 'procedural-db-get-data'.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -96,7 +96,8 @@ static ProcArg progress_init_inargs[] =
|
|||
|
||||
static ProcRecord progress_init_proc =
|
||||
{
|
||||
"gimp_progress_init",
|
||||
"gimp-progress-init",
|
||||
"gimp-progress-init",
|
||||
"Initializes the progress bar for the current plug-in.",
|
||||
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -144,7 +145,8 @@ static ProcArg progress_update_inargs[] =
|
|||
|
||||
static ProcRecord progress_update_proc =
|
||||
{
|
||||
"gimp_progress_update",
|
||||
"gimp-progress-update",
|
||||
"gimp-progress-update",
|
||||
"Updates the progress bar for the current plug-in.",
|
||||
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -178,7 +180,8 @@ progress_pulse_invoker (Gimp *gimp,
|
|||
|
||||
static ProcRecord progress_pulse_proc =
|
||||
{
|
||||
"gimp_progress_pulse",
|
||||
"gimp-progress-pulse",
|
||||
"gimp-progress-pulse",
|
||||
"Pulses the progress bar for the current plug-in.",
|
||||
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in. Use this function instead of gimp_progress_update() if you cannot tell how much progress has been made. This usually causes the the progress bar to enter \"activity mode\", where a block bounces back and forth.",
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
|
@ -231,7 +234,8 @@ static ProcArg progress_set_text_inargs[] =
|
|||
|
||||
static ProcRecord progress_set_text_proc =
|
||||
{
|
||||
"gimp_progress_set_text",
|
||||
"gimp-progress-set-text",
|
||||
"gimp-progress-set-text",
|
||||
"Changes the text in the progress bar for the current plug-in.",
|
||||
"This function allows to change the text in the progress bar for the current plug-in. Unlike gimp_progress_init() it does not change the displayed value.",
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
|
@ -282,7 +286,8 @@ static ProcArg progress_install_inargs[] =
|
|||
|
||||
static ProcRecord progress_install_proc =
|
||||
{
|
||||
"gimp_progress_install",
|
||||
"gimp-progress-install",
|
||||
"gimp-progress-install",
|
||||
"Installs a progress callback for the current plug-in.",
|
||||
"This function installs a temporary PDB procedure which will handle all progress calls made by this plug-in and any procedure it calls. Calling this function multiple times simply replaces the old progress callbacks.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -333,7 +338,8 @@ static ProcArg progress_uninstall_inargs[] =
|
|||
|
||||
static ProcRecord progress_uninstall_proc =
|
||||
{
|
||||
"gimp_progress_uninstall",
|
||||
"gimp-progress-uninstall",
|
||||
"gimp-progress-uninstall",
|
||||
"Uninstalls the progress callback for the current plug-in.",
|
||||
"This function uninstalls any progress callback installed with gimp_progress_install() before.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
@ -384,7 +390,8 @@ static ProcArg progress_cancel_inargs[] =
|
|||
|
||||
static ProcRecord progress_cancel_proc =
|
||||
{
|
||||
"gimp_progress_cancel",
|
||||
"gimp-progress-cancel",
|
||||
"gimp-progress-cancel",
|
||||
"Cancels a running progress.",
|
||||
"This function cancels the currently running progress.",
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
|
|
|
@ -151,7 +151,8 @@ static ProcArg selection_bounds_outargs[] =
|
|||
|
||||
static ProcRecord selection_bounds_proc =
|
||||
{
|
||||
"gimp_selection_bounds",
|
||||
"gimp-selection-bounds",
|
||||
"gimp-selection-bounds",
|
||||
"Find the bounding box of the current selection.",
|
||||
"This procedure returns whether there is a selection for the specified image. If there is one, the upper left and lower right corners of the bounding box are returned. These coordinates are relative to the image. Please note that the pixel specified by the lower righthand coordinate of the bounding box is not part of the selection. The selection ends at the upper left corner of this pixel. This means the width of the selection can be calculated as (x2 - x1), its height as (y2 - y1).",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -224,7 +225,8 @@ static ProcArg selection_value_outargs[] =
|
|||
|
||||
static ProcRecord selection_value_proc =
|
||||
{
|
||||
"gimp_selection_value",
|
||||
"gimp-selection-value",
|
||||
"gimp-selection-value",
|
||||
"Find the value of the selection at the specified coordinates.",
|
||||
"This procedure returns the value of the selection at the specified coordinates. If the coordinates lie out of bounds, 0 is returned.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -281,7 +283,8 @@ static ProcArg selection_is_empty_outargs[] =
|
|||
|
||||
static ProcRecord selection_is_empty_proc =
|
||||
{
|
||||
"gimp_selection_is_empty",
|
||||
"gimp-selection-is-empty",
|
||||
"gimp-selection-is-empty",
|
||||
"Determine whether the selection is empty.",
|
||||
"This procedure returns non-zero if the selection for the specified image is not empty.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -342,7 +345,8 @@ static ProcArg selection_translate_inargs[] =
|
|||
|
||||
static ProcRecord selection_translate_proc =
|
||||
{
|
||||
"gimp_selection_translate",
|
||||
"gimp-selection-translate",
|
||||
"gimp-selection-translate",
|
||||
"Translate the selection by the specified offsets.",
|
||||
"This procedure actually translates the selection for the specified image by the specified offsets. Regions that are translated from beyond the bounds of the image are set to empty. Valid regions of the selection which are translated beyond the bounds of the image because of this call are lost.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -431,7 +435,8 @@ static ProcArg selection_float_outargs[] =
|
|||
|
||||
static ProcRecord selection_float_proc =
|
||||
{
|
||||
"gimp_selection_float",
|
||||
"gimp-selection-float",
|
||||
"gimp-selection-float",
|
||||
"Float the selection from the specified drawable with initial offsets as specified.",
|
||||
"This procedure determines the region of the specified drawable that lies beneath the current selection. The region is then cut from the drawable and the resulting data is made into a new layer which is instantiated as a floating selection. The offsets allow initial positioning of the new floating selection.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -476,7 +481,8 @@ static ProcArg selection_invert_inargs[] =
|
|||
|
||||
static ProcRecord selection_invert_proc =
|
||||
{
|
||||
"gimp_selection_invert",
|
||||
"gimp-selection-invert",
|
||||
"gimp-selection-invert",
|
||||
"Invert the selection mask.",
|
||||
"This procedure inverts the selection mask. For every pixel in the selection channel, its new value is calculated as (255 - old_value).",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -521,7 +527,8 @@ static ProcArg selection_sharpen_inargs[] =
|
|||
|
||||
static ProcRecord selection_sharpen_proc =
|
||||
{
|
||||
"gimp_selection_sharpen",
|
||||
"gimp-selection-sharpen",
|
||||
"gimp-selection-sharpen",
|
||||
"Sharpen the selection mask.",
|
||||
"This procedure sharpens the selection mask. For every pixel in the selection channel, if the value is > 0, the new pixel is assigned a value of 255. This removes any \"anti-aliasing\" that might exist in the selection mask's boundary.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -566,7 +573,8 @@ static ProcArg selection_all_inargs[] =
|
|||
|
||||
static ProcRecord selection_all_proc =
|
||||
{
|
||||
"gimp_selection_all",
|
||||
"gimp-selection-all",
|
||||
"gimp-selection-all",
|
||||
"Select all of the image.",
|
||||
"This procedure sets the selection mask to completely encompass the image. Every pixel in the selection channel is set to 255.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -611,7 +619,8 @@ static ProcArg selection_none_inargs[] =
|
|||
|
||||
static ProcRecord selection_none_proc =
|
||||
{
|
||||
"gimp_selection_none",
|
||||
"gimp-selection-none",
|
||||
"gimp-selection-none",
|
||||
"Deselect the entire image.",
|
||||
"This procedure deselects the entire image. Every pixel in the selection channel is set to 0.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -666,7 +675,8 @@ static ProcArg selection_feather_inargs[] =
|
|||
|
||||
static ProcRecord selection_feather_proc =
|
||||
{
|
||||
"gimp_selection_feather",
|
||||
"gimp-selection-feather",
|
||||
"gimp-selection-feather",
|
||||
"Feather the image's selection",
|
||||
"This procedure feathers the selection. Feathering is implemented using a gaussian blur.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -721,7 +731,8 @@ static ProcArg selection_border_inargs[] =
|
|||
|
||||
static ProcRecord selection_border_proc =
|
||||
{
|
||||
"gimp_selection_border",
|
||||
"gimp-selection-border",
|
||||
"gimp-selection-border",
|
||||
"Border the image's selection",
|
||||
"This procedure borders the selection. Bordering creates a new selection which is defined along the boundary of the previous selection at every point within the specified radius.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -776,7 +787,8 @@ static ProcArg selection_grow_inargs[] =
|
|||
|
||||
static ProcRecord selection_grow_proc =
|
||||
{
|
||||
"gimp_selection_grow",
|
||||
"gimp-selection-grow",
|
||||
"gimp-selection-grow",
|
||||
"Grow the image's selection",
|
||||
"This procedure grows the selection. Growing involves expanding the boundary in all directions by the specified pixel amount.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -831,7 +843,8 @@ static ProcArg selection_shrink_inargs[] =
|
|||
|
||||
static ProcRecord selection_shrink_proc =
|
||||
{
|
||||
"gimp_selection_shrink",
|
||||
"gimp-selection-shrink",
|
||||
"gimp-selection-shrink",
|
||||
"Shrink the image's selection",
|
||||
"This procedure shrinks the selection. Shrinking invovles trimming the existing selection boundary on all sides by the specified number of pixels.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -882,7 +895,8 @@ static ProcArg selection_layer_alpha_inargs[] =
|
|||
|
||||
static ProcRecord selection_layer_alpha_proc =
|
||||
{
|
||||
"gimp_selection_layer_alpha",
|
||||
"gimp-selection-layer-alpha",
|
||||
"gimp-selection-layer-alpha",
|
||||
"Transfer the specified layer's alpha channel to the selection mask.",
|
||||
"This procedure requires a layer with an alpha channel. The alpha channel information is used to create a selection mask such that for any pixel in the image defined in the specified layer, that layer pixel's alpha value is transferred to the selection mask. If the layer is undefined at a particular image pixel, the associated selection mask value is set to 0.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -940,7 +954,8 @@ static ProcArg selection_load_inargs[] =
|
|||
|
||||
static ProcRecord selection_load_proc =
|
||||
{
|
||||
"gimp_selection_load",
|
||||
"gimp-selection-load",
|
||||
"gimp-selection-load",
|
||||
"Transfer the specified channel to the selection mask.",
|
||||
"This procedure loads the specified channel into the selection mask.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1001,7 +1016,8 @@ static ProcArg selection_save_outargs[] =
|
|||
|
||||
static ProcRecord selection_save_proc =
|
||||
{
|
||||
"gimp_selection_save",
|
||||
"gimp-selection-save",
|
||||
"gimp-selection-save",
|
||||
"Copy the selection mask to a new channel.",
|
||||
"This procedure copies the selection mask and stores the content in a new channel. The new channel is automatically inserted into the image's list of channels.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -1069,7 +1085,8 @@ static ProcArg selection_combine_inargs[] =
|
|||
|
||||
static ProcRecord selection_combine_proc =
|
||||
{
|
||||
"gimp_selection_combine",
|
||||
"gimp-selection-combine",
|
||||
"gimp-selection-combine",
|
||||
"Combines the specified channel with the selection mask.",
|
||||
"This procedure combines the specified channel into the selection mask.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -153,7 +153,8 @@ static ProcArg by_color_select_inargs[] =
|
|||
|
||||
static ProcRecord by_color_select_proc =
|
||||
{
|
||||
"gimp_by_color_select",
|
||||
"gimp-by-color-select",
|
||||
"gimp-by-color-select",
|
||||
"Create a selection by selecting all pixels (in the specified drawable) with the same (or similar) color to that specified.",
|
||||
"This tool creates a selection over the specified image. A by-color selection is determined by the supplied color under the constraints of the specified threshold. Essentially, all pixels (in the drawable) that have color sufficiently close to the specified color (as determined by the threshold value) are included in the selection. The antialiasing parameter allows the final selection mask to contain intermediate values based on close misses to the threshold bar. Feathering can be enabled optionally and is controlled with the \"feather_radius\" parameter. If the sample_merged parameter is non-zero, the data of the composite image will be used instead of that for the specified drawable. This is equivalent to sampling for colors after merging all visible layers. In the case of a merged sampling, the supplied drawable is ignored.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -275,7 +276,8 @@ static ProcArg ellipse_select_inargs[] =
|
|||
|
||||
static ProcRecord ellipse_select_proc =
|
||||
{
|
||||
"gimp_ellipse_select",
|
||||
"gimp-ellipse-select",
|
||||
"gimp-ellipse-select",
|
||||
"Create an elliptical selection over the specified image.",
|
||||
"This tool creates an elliptical selection over the specified image. The elliptical region can be either added to, subtracted from, or replace the contents of the previous selection mask. If antialiasing is turned on, the edges of the elliptical region will contain intermediate values which give the appearance of a sharper, less pixelized edge. This should be set as TRUE most of the time. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -382,7 +384,8 @@ static ProcArg free_select_inargs[] =
|
|||
|
||||
static ProcRecord free_select_proc =
|
||||
{
|
||||
"gimp_free_select",
|
||||
"gimp-free-select",
|
||||
"gimp-free-select",
|
||||
"Create a polygonal selection over the specified image.",
|
||||
"This tool creates a polygonal selection over the specified image. The polygonal region can be either added to, subtracted from, or replace the contents of the previous selection mask. The polygon is specified through an array of floating point numbers and its length. The length of array must be 2n, where n is the number of points. Each point is defined by 2 floating point values which correspond to the x and y coordinates. If the final point does not connect to the starting point, a connecting segment is automatically added. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -510,7 +513,8 @@ static ProcArg fuzzy_select_inargs[] =
|
|||
|
||||
static ProcRecord fuzzy_select_proc =
|
||||
{
|
||||
"gimp_fuzzy_select",
|
||||
"gimp-fuzzy-select",
|
||||
"gimp-fuzzy-select",
|
||||
"Create a fuzzy selection starting at the specified coordinates on the specified drawable.",
|
||||
"This tool creates a fuzzy selection over the specified image. A fuzzy selection is determined by a seed fill under the constraints of the specified threshold. Essentially, the color at the specified coordinates (in the drawable) is measured and the selection expands outwards from that point to any adjacent pixels which are not significantly different (as determined by the threshold value). This process continues until no more expansion is possible. The antialiasing parameter allows the final selection mask to contain intermediate values based on close misses to the threshold bar at pixels along the seed fill boundary. Feathering can be enabled optionally and is controlled with the \"feather_radius\" paramter. If the sample_merged parameter is non-zero, the data of the composite image will be used instead of that for the specified drawable. This is equivalent to sampling for colors after merging all visible layers. In the case of a merged sampling, the supplied drawable is ignored."
|
||||
"If the sample is merged, the specified coordinates are relative to the image origin; otherwise, they are relative to the drawable's origin.",
|
||||
|
@ -624,7 +628,8 @@ static ProcArg rect_select_inargs[] =
|
|||
|
||||
static ProcRecord rect_select_proc =
|
||||
{
|
||||
"gimp_rect_select",
|
||||
"gimp-rect-select",
|
||||
"gimp-rect-select",
|
||||
"Create a rectangular selection over the specified image;",
|
||||
"This tool creates a rectangular selection over the specified image. The rectangular region can be either added to, subtracted from, or replace the contents of the previous selection mask. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
|
|
@ -189,7 +189,8 @@ static ProcArg text_fontname_outargs[] =
|
|||
|
||||
static ProcRecord text_fontname_proc =
|
||||
{
|
||||
"gimp_text_fontname",
|
||||
"gimp-text-fontname",
|
||||
"gimp-text-fontname",
|
||||
"Add text at the specified location as a floating selection or a new layer.",
|
||||
"This tool requires a fontname matching an installed PangoFT2 font. You can specify the fontsize in units of pixels or points, and the appropriate metric is specified using the size_type argument. The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the specified drawable parameter is valid, the text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels.",
|
||||
"Martin Edlman & Sven Neumann",
|
||||
|
@ -312,7 +313,8 @@ static ProcArg text_get_extents_fontname_outargs[] =
|
|||
|
||||
static ProcRecord text_get_extents_fontname_proc =
|
||||
{
|
||||
"gimp_text_get_extents_fontname",
|
||||
"gimp-text-get-extents-fontname",
|
||||
"gimp-text-get-extents-fontname",
|
||||
"Get extents of the bounding box for the specified text.",
|
||||
"This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well.",
|
||||
"Martin Edlman & Sven Neumann",
|
||||
|
@ -539,13 +541,14 @@ static ProcArg text_outargs[] =
|
|||
|
||||
static ProcRecord text_proc =
|
||||
{
|
||||
"gimp_text",
|
||||
"This procedure is deprecated! Use 'gimp_text_fontname' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_text_fontname' instead.",
|
||||
"gimp-text",
|
||||
"gimp-text",
|
||||
"This procedure is deprecated! Use 'gimp-text-fontname' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-text-fontname' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_text_fontname",
|
||||
"gimp-text-fontname",
|
||||
GIMP_INTERNAL,
|
||||
17,
|
||||
text_inargs,
|
||||
|
@ -732,13 +735,14 @@ static ProcArg text_get_extents_outargs[] =
|
|||
|
||||
static ProcRecord text_get_extents_proc =
|
||||
{
|
||||
"gimp_text_get_extents",
|
||||
"This procedure is deprecated! Use 'gimp_text_get_extents_fontname' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_text_get_extents_fontname' instead.",
|
||||
"gimp-text-get-extents",
|
||||
"gimp-text-get-extents",
|
||||
"This procedure is deprecated! Use 'gimp-text-get-extents-fontname' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-text-get-extents-fontname' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_text_get_extents_fontname",
|
||||
"gimp-text-get-extents-fontname",
|
||||
GIMP_INTERNAL,
|
||||
11,
|
||||
text_get_extents_inargs,
|
||||
|
|
|
@ -121,13 +121,14 @@ static ProcArg flip_outargs[] =
|
|||
|
||||
static ProcRecord flip_proc =
|
||||
{
|
||||
"gimp_flip",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_flip_simple' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_flip_simple' instead.",
|
||||
"gimp-flip",
|
||||
"gimp-flip",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-flip-simple' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-flip-simple' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_drawable_transform_flip_simple",
|
||||
"gimp-drawable-transform-flip-simple",
|
||||
GIMP_INTERNAL,
|
||||
2,
|
||||
flip_inargs,
|
||||
|
@ -282,13 +283,14 @@ static ProcArg perspective_outargs[] =
|
|||
|
||||
static ProcRecord perspective_proc =
|
||||
{
|
||||
"gimp_perspective",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_perspective_default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_perspective_default' instead.",
|
||||
"gimp-perspective",
|
||||
"gimp-perspective",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-perspective-default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-perspective-default' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_drawable_transform_perspective_default",
|
||||
"gimp-drawable-transform-perspective-default",
|
||||
GIMP_INTERNAL,
|
||||
10,
|
||||
perspective_inargs,
|
||||
|
@ -390,13 +392,14 @@ static ProcArg rotate_outargs[] =
|
|||
|
||||
static ProcRecord rotate_proc =
|
||||
{
|
||||
"gimp_rotate",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_rotate_default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_rotate_default' instead.",
|
||||
"gimp-rotate",
|
||||
"gimp-rotate",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-rotate-default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-rotate-default' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_drawable_transform_rotate_default",
|
||||
"gimp-drawable-transform-rotate-default",
|
||||
GIMP_INTERNAL,
|
||||
3,
|
||||
rotate_inargs,
|
||||
|
@ -525,13 +528,14 @@ static ProcArg scale_outargs[] =
|
|||
|
||||
static ProcRecord scale_proc =
|
||||
{
|
||||
"gimp_scale",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_scale_default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_scale_default' instead.",
|
||||
"gimp-scale",
|
||||
"gimp-scale",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-scale-default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-scale-default' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_drawable_transform_scale_default",
|
||||
"gimp-drawable-transform-scale-default",
|
||||
GIMP_INTERNAL,
|
||||
6,
|
||||
scale_inargs,
|
||||
|
@ -644,13 +648,14 @@ static ProcArg shear_outargs[] =
|
|||
|
||||
static ProcRecord shear_proc =
|
||||
{
|
||||
"gimp_shear",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_shear_default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_shear_default' instead.",
|
||||
"gimp-shear",
|
||||
"gimp-shear",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-shear-default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-shear-default' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_drawable_transform_shear_default",
|
||||
"gimp-drawable-transform-shear-default",
|
||||
GIMP_INTERNAL,
|
||||
4,
|
||||
shear_inargs,
|
||||
|
@ -801,13 +806,14 @@ static ProcArg transform_2d_outargs[] =
|
|||
|
||||
static ProcRecord transform_2d_proc =
|
||||
{
|
||||
"gimp_transform_2d",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_2d_default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp_drawable_transform_2d_default' instead.",
|
||||
"gimp-transform-2d",
|
||||
"gimp-transform-2d",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-2d-default' instead.",
|
||||
"This procedure is deprecated! Use 'gimp-drawable-transform-2d-default' instead.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"gimp_drawable_transform_2d_default",
|
||||
"gimp-drawable-transform-2d-default",
|
||||
GIMP_INTERNAL,
|
||||
9,
|
||||
transform_2d_inargs,
|
||||
|
|
|
@ -90,7 +90,8 @@ static ProcArg image_undo_group_start_inargs[] =
|
|||
|
||||
static ProcRecord image_undo_group_start_proc =
|
||||
{
|
||||
"gimp_image_undo_group_start",
|
||||
"gimp-image-undo-group-start",
|
||||
"gimp-image-undo-group-start",
|
||||
"Starts a group undo.",
|
||||
"This function is used to start a group undo--necessary for logically combining two or more undo operations into a single operation. This call must be used in conjunction with a 'gimp-image-undo-group-end' call.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -135,7 +136,8 @@ static ProcArg image_undo_group_end_inargs[] =
|
|||
|
||||
static ProcRecord image_undo_group_end_proc =
|
||||
{
|
||||
"gimp_image_undo_group_end",
|
||||
"gimp-image-undo-group-end",
|
||||
"gimp-image-undo-group-end",
|
||||
"Finish a group undo.",
|
||||
"This function must be called once for each 'gimp-image-undo-group-start' call that is made.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -196,7 +198,8 @@ static ProcArg image_undo_is_enabled_outargs[] =
|
|||
|
||||
static ProcRecord image_undo_is_enabled_proc =
|
||||
{
|
||||
"gimp_image_undo_is_enabled",
|
||||
"gimp-image-undo-is-enabled",
|
||||
"gimp-image-undo-is-enabled",
|
||||
"Check if the image's undo stack is enabled.",
|
||||
"This procedure checks if the image's undo stack is currently enabled or disabled. This is useful when several plugins or scripts call each other and want to check if their caller has already used 'gimp_image_undo_disable' or 'gimp_image_undo_freeze'.",
|
||||
"Raphael Quinet",
|
||||
|
@ -256,7 +259,8 @@ static ProcArg image_undo_disable_outargs[] =
|
|||
|
||||
static ProcRecord image_undo_disable_proc =
|
||||
{
|
||||
"gimp_image_undo_disable",
|
||||
"gimp-image-undo-disable",
|
||||
"gimp-image-undo-disable",
|
||||
"Disable the image's undo stack.",
|
||||
"This procedure disables the image's undo stack, allowing subsequent operations to ignore their undo steps. This is generally called in conjunction with 'gimp_image_undo_enable' to temporarily disable an image undo stack. This is advantageous because saving undo steps can be time and memory intensive.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -316,7 +320,8 @@ static ProcArg image_undo_enable_outargs[] =
|
|||
|
||||
static ProcRecord image_undo_enable_proc =
|
||||
{
|
||||
"gimp_image_undo_enable",
|
||||
"gimp-image-undo-enable",
|
||||
"gimp-image-undo-enable",
|
||||
"Enable the image's undo stack.",
|
||||
"This procedure enables the image's undo stack, allowing subsequent operations to store their undo steps. This is generally called in conjunction with 'gimp_image_undo_disable' to temporarily disable an image undo stack.",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
|
@ -376,7 +381,8 @@ static ProcArg image_undo_freeze_outargs[] =
|
|||
|
||||
static ProcRecord image_undo_freeze_proc =
|
||||
{
|
||||
"gimp_image_undo_freeze",
|
||||
"gimp-image-undo-freeze",
|
||||
"gimp-image-undo-freeze",
|
||||
"Freeze the image's undo stack.",
|
||||
"This procedure freezes the image's undo stack, allowing subsequent operations to ignore their undo steps. This is generally called in conjunction with 'gimp_image_undo_thaw' to temporarily disable an image undo stack. This is advantageous because saving undo steps can be time and memory intensive. 'gimp_image_undo_{freeze,thaw}' and 'gimp_image_undo_{disable,enable}' differ in that the former does not free up all undo steps when undo is thawed, so is more suited to interactive in-situ previews. It is important in this case that the image is back to the same state it was frozen in before thawing, else 'undo' behaviour is undefined.",
|
||||
"Adam D. Moss",
|
||||
|
@ -436,7 +442,8 @@ static ProcArg image_undo_thaw_outargs[] =
|
|||
|
||||
static ProcRecord image_undo_thaw_proc =
|
||||
{
|
||||
"gimp_image_undo_thaw",
|
||||
"gimp-image-undo-thaw",
|
||||
"gimp-image-undo-thaw",
|
||||
"Thaw the image's undo stack.",
|
||||
"This procedure thaws the image's undo stack, allowing subsequent operations to store their undo steps. This is generally called in conjunction with 'gimp_image_undo_freeze' to temporarily freeze an image undo stack. 'gimp_image_undo_thaw' does NOT free the undo stack as 'gimp_image_undo_enable' does, so is suited for situations where one wishes to leave the undo stack in the same state in which one found it despite non-destructively playing with the image in the meantime. An example would be in-situ plugin previews. Balancing freezes and thaws and ensuring image consistancy is the responsibility of the caller.",
|
||||
"Adam D. Moss",
|
||||
|
|
|
@ -85,7 +85,8 @@ static ProcArg unit_get_number_of_units_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_number_of_units_proc =
|
||||
{
|
||||
"gimp_unit_get_number_of_units",
|
||||
"gimp-unit-get-number-of-units",
|
||||
"gimp-unit-get-number-of-units",
|
||||
"Returns the number of units.",
|
||||
"This procedure returns the number of defined units.",
|
||||
"Michael Natterer",
|
||||
|
@ -125,7 +126,8 @@ static ProcArg unit_get_number_of_built_in_units_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_number_of_built_in_units_proc =
|
||||
{
|
||||
"gimp_unit_get_number_of_built_in_units",
|
||||
"gimp-unit-get-number-of-built-in-units",
|
||||
"gimp-unit-get-number-of-built-in-units",
|
||||
"Returns the number of built-in units.",
|
||||
"This procedure returns the number of defined units built-in to the GIMP.",
|
||||
"Michael Natterer",
|
||||
|
@ -243,7 +245,8 @@ static ProcArg unit_new_outargs[] =
|
|||
|
||||
static ProcRecord unit_new_proc =
|
||||
{
|
||||
"gimp_unit_new",
|
||||
"gimp-unit-new",
|
||||
"gimp-unit-new",
|
||||
"Creates a new unit and returns it's integer ID.",
|
||||
"This procedure creates a new unit and returns it's integer ID. Note that the new unit will have it's deletion flag set to TRUE, so you will have to set it to FALSE with gimp_unit_set_deletion_flag to make it persistent.",
|
||||
"Michael Natterer",
|
||||
|
@ -300,7 +303,8 @@ static ProcArg unit_get_deletion_flag_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_deletion_flag_proc =
|
||||
{
|
||||
"gimp_unit_get_deletion_flag",
|
||||
"gimp-unit-get-deletion-flag",
|
||||
"gimp-unit-get-deletion-flag",
|
||||
"Returns the deletion flag of the unit.",
|
||||
"This procedure returns the deletion flag of the unit. If this value is TRUE the unit's definition will not be saved in the user's unitrc file on gimp exit.",
|
||||
"Michael Natterer",
|
||||
|
@ -353,7 +357,8 @@ static ProcArg unit_set_deletion_flag_inargs[] =
|
|||
|
||||
static ProcRecord unit_set_deletion_flag_proc =
|
||||
{
|
||||
"gimp_unit_set_deletion_flag",
|
||||
"gimp-unit-set-deletion-flag",
|
||||
"gimp-unit-set-deletion-flag",
|
||||
"Sets the deletion flag of a unit.",
|
||||
"This procedure sets the unit's deletion flag. If the deletion flag of a unit is TRUE on gimp exit, this unit's definition will not be saved in the user's unitrc.",
|
||||
"Michael Natterer",
|
||||
|
@ -410,7 +415,8 @@ static ProcArg unit_get_identifier_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_identifier_proc =
|
||||
{
|
||||
"gimp_unit_get_identifier",
|
||||
"gimp-unit-get-identifier",
|
||||
"gimp-unit-get-identifier",
|
||||
"Returns the textual identifier of the unit.",
|
||||
"This procedure returns the textual identifier of the unit. For built-in units it will be the english singular form of the unit's name. For user-defined units this should equal to the singular form.",
|
||||
"Michael Natterer",
|
||||
|
@ -467,7 +473,8 @@ static ProcArg unit_get_factor_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_factor_proc =
|
||||
{
|
||||
"gimp_unit_get_factor",
|
||||
"gimp-unit-get-factor",
|
||||
"gimp-unit-get-factor",
|
||||
"Returns the factor of the unit.",
|
||||
"This procedure returns the unit's factor which indicates how many units make up an inch. Note that asking for the factor of \"pixels\" will produce an error.",
|
||||
"Michael Natterer",
|
||||
|
@ -524,7 +531,8 @@ static ProcArg unit_get_digits_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_digits_proc =
|
||||
{
|
||||
"gimp_unit_get_digits",
|
||||
"gimp-unit-get-digits",
|
||||
"gimp-unit-get-digits",
|
||||
"Returns the number of digits of the unit.",
|
||||
"This procedure returns the number of digits you should provide in input or output functions to get approximately the same accuracy as with two digits and inches. Note that asking for the digits of \"pixels\" will produce an error.",
|
||||
"Michael Natterer",
|
||||
|
@ -581,7 +589,8 @@ static ProcArg unit_get_symbol_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_symbol_proc =
|
||||
{
|
||||
"gimp_unit_get_symbol",
|
||||
"gimp-unit-get-symbol",
|
||||
"gimp-unit-get-symbol",
|
||||
"Returns the symbol of the unit.",
|
||||
"This procedure returns the symbol of the unit (\"''\" for inches).",
|
||||
"Michael Natterer",
|
||||
|
@ -638,7 +647,8 @@ static ProcArg unit_get_abbreviation_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_abbreviation_proc =
|
||||
{
|
||||
"gimp_unit_get_abbreviation",
|
||||
"gimp-unit-get-abbreviation",
|
||||
"gimp-unit-get-abbreviation",
|
||||
"Returns the abbreviation of the unit.",
|
||||
"This procedure returns the abbreviation of the unit (\"in\" for inches).",
|
||||
"Michael Natterer",
|
||||
|
@ -695,7 +705,8 @@ static ProcArg unit_get_singular_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_singular_proc =
|
||||
{
|
||||
"gimp_unit_get_singular",
|
||||
"gimp-unit-get-singular",
|
||||
"gimp-unit-get-singular",
|
||||
"Returns the singular form of the unit.",
|
||||
"This procedure returns the singular form of the unit.",
|
||||
"Michael Natterer",
|
||||
|
@ -752,7 +763,8 @@ static ProcArg unit_get_plural_outargs[] =
|
|||
|
||||
static ProcRecord unit_get_plural_proc =
|
||||
{
|
||||
"gimp_unit_get_plural",
|
||||
"gimp-unit-get-plural",
|
||||
"gimp-unit-get-plural",
|
||||
"Returns the plural form of the unit.",
|
||||
"This procedure returns the plural form of the unit.",
|
||||
"Michael Natterer",
|
||||
|
|
|
@ -122,7 +122,8 @@ static ProcArg vectors_get_strokes_outargs[] =
|
|||
|
||||
static ProcRecord vectors_get_strokes_proc =
|
||||
{
|
||||
"gimp_vectors_get_strokes",
|
||||
"gimp-vectors-get-strokes",
|
||||
"gimp-vectors-get-strokes",
|
||||
"List the strokes associated with the passed path.",
|
||||
"Returns an Array with the stroke-IDs associated with the passed path.",
|
||||
"Simon Budig",
|
||||
|
@ -183,7 +184,8 @@ static ProcArg vectors_stroke_remove_inargs[] =
|
|||
|
||||
static ProcRecord vectors_stroke_remove_proc =
|
||||
{
|
||||
"gimp_vectors_stroke_remove",
|
||||
"gimp-vectors-stroke-remove",
|
||||
"gimp-vectors-stroke-remove",
|
||||
"return coordinates along the given stroke.",
|
||||
"Returns a lot of coordinates along the passed stroke.",
|
||||
"Simon Budig",
|
||||
|
@ -272,7 +274,8 @@ static ProcArg vectors_stroke_translate_inargs[] =
|
|||
|
||||
static ProcRecord vectors_stroke_translate_proc =
|
||||
{
|
||||
"gimp_vectors_stroke_translate",
|
||||
"gimp-vectors-stroke-translate",
|
||||
"gimp-vectors-stroke-translate",
|
||||
"translate the given stroke.",
|
||||
"Translate the given stroke.",
|
||||
"Simon Budig",
|
||||
|
@ -398,7 +401,8 @@ static ProcArg vectors_stroke_interpolate_outargs[] =
|
|||
|
||||
static ProcRecord vectors_stroke_interpolate_proc =
|
||||
{
|
||||
"gimp_vectors_stroke_interpolate",
|
||||
"gimp-vectors-stroke-interpolate",
|
||||
"gimp-vectors-stroke-interpolate",
|
||||
"returns polygonal approximation of the stroke.",
|
||||
"returns polygonal approximation of the stroke.",
|
||||
"Simon Budig",
|
||||
|
|
|
@ -347,19 +347,22 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
GPProcRun *proc_run)
|
||||
{
|
||||
PlugInProcFrame *proc_frame;
|
||||
gchar *canonical;
|
||||
const gchar *proc_name = NULL;
|
||||
ProcRecord *proc_rec;
|
||||
Argument *args;
|
||||
Argument *return_vals;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_run->name);
|
||||
|
||||
proc_frame = plug_in_get_proc_frame (plug_in);
|
||||
|
||||
proc_rec = procedural_db_lookup (plug_in->gimp, proc_run->name);
|
||||
proc_rec = procedural_db_lookup (plug_in->gimp, canonical);
|
||||
|
||||
if (! proc_rec)
|
||||
{
|
||||
proc_name = g_hash_table_lookup (plug_in->gimp->procedural_compat_ht,
|
||||
proc_run->name);
|
||||
canonical);
|
||||
|
||||
if (proc_name)
|
||||
{
|
||||
|
@ -372,7 +375,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
"It should call '%s' instead!",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_run->name, proc_name);
|
||||
canonical, proc_name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -386,7 +389,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
"called deprecated procedure '%s'.",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_run->name);
|
||||
canonical);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -395,7 +398,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
"It should call '%s' instead!",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_run->name, proc_rec->deprecated);
|
||||
canonical, proc_rec->deprecated);
|
||||
}
|
||||
}
|
||||
else if (plug_in->gimp->pdb_compat_mode == GIMP_PDB_COMPAT_OFF)
|
||||
|
@ -405,7 +408,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
}
|
||||
|
||||
if (! proc_name)
|
||||
proc_name = proc_run->name;
|
||||
proc_name = canonical;
|
||||
|
||||
args = plug_in_params_to_args (proc_run->params, proc_run->nparams, FALSE);
|
||||
|
||||
|
@ -423,12 +426,15 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
|
||||
plug_in_pop (plug_in->gimp);
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
if (return_vals)
|
||||
{
|
||||
GPProcReturn proc_return;
|
||||
|
||||
/* Return the name we got called with, *not* proc_name, since
|
||||
* proc_name may have been remapped by gimp->procedural_compat_ht
|
||||
/* Return the name we got called with, *not* proc_name or canonical,
|
||||
* since proc_name may have been remapped by gimp->procedural_compat_ht
|
||||
* and canonical may be different too.
|
||||
*/
|
||||
proc_return.name = proc_run->name;
|
||||
|
||||
|
@ -570,10 +576,13 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
PlugInDef *plug_in_def = NULL;
|
||||
PlugInProcDef *proc_def = NULL;
|
||||
ProcRecord *proc = NULL;
|
||||
gchar *canonical;
|
||||
gchar *prog = NULL;
|
||||
gboolean valid_utf8 = FALSE;
|
||||
gint i;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_install->name);
|
||||
|
||||
/* Argument checking
|
||||
* --only sanity check arguments when the procedure requests a menu path
|
||||
*/
|
||||
|
@ -584,7 +593,7 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
|
||||
if (! plug_in_param_defs_check (plug_in->name,
|
||||
plug_in->prog,
|
||||
proc_install->name,
|
||||
canonical,
|
||||
proc_install->menu_path,
|
||||
proc_install->params,
|
||||
proc_install->nparams,
|
||||
|
@ -595,6 +604,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
g_message (error->message);
|
||||
g_clear_error (&error);
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -616,7 +627,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
"passing standard. Argument %d is noncompliant.",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_install->name, i);
|
||||
canonical, i);
|
||||
g_free (canonical);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -625,7 +637,7 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
|
||||
if ((proc_install->menu_path == NULL ||
|
||||
g_utf8_validate (proc_install->menu_path, -1, NULL)) &&
|
||||
(g_utf8_validate (proc_install->name, -1, NULL)) &&
|
||||
(g_utf8_validate (canonical, -1, NULL)) &&
|
||||
(proc_install->blurb == NULL ||
|
||||
g_utf8_validate (proc_install->blurb, -1, NULL)) &&
|
||||
(proc_install->help == NULL ||
|
||||
|
@ -662,6 +674,7 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
"attempted to install a procedure with invalid UTF-8 strings.",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
g_free (canonical);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -674,8 +687,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
plug_in_def = plug_in->plug_in_def;
|
||||
prog = plug_in_def->prog;
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in_def->proc_defs,
|
||||
proc_install->name);
|
||||
proc_def = plug_in_proc_def_find (plug_in_def->proc_defs, canonical);
|
||||
|
||||
if (proc_def)
|
||||
{
|
||||
plug_in_def->proc_defs = g_slist_remove (plug_in_def->proc_defs,
|
||||
|
@ -688,8 +701,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
plug_in_def = NULL;
|
||||
prog = "none";
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs,
|
||||
proc_install->name);
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs, canonical);
|
||||
|
||||
if (proc_def)
|
||||
{
|
||||
plug_in->temp_proc_defs = g_slist_remove (plug_in->temp_proc_defs,
|
||||
|
@ -727,13 +740,14 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
|
||||
proc = &proc_def->db_info;
|
||||
|
||||
proc->name = g_strdup (proc_install->name);
|
||||
proc->blurb = g_strdup (proc_install->blurb);
|
||||
proc->help = g_strdup (proc_install->help);
|
||||
proc->author = g_strdup (proc_install->author);
|
||||
proc->copyright = g_strdup (proc_install->copyright);
|
||||
proc->date = g_strdup (proc_install->date);
|
||||
proc->proc_type = proc_install->type;
|
||||
proc->name = g_strdup (canonical);
|
||||
proc->original_name = g_strdup (proc_install->name);
|
||||
proc->blurb = g_strdup (proc_install->blurb);
|
||||
proc->help = g_strdup (proc_install->help);
|
||||
proc->author = g_strdup (proc_install->author);
|
||||
proc->copyright = g_strdup (proc_install->copyright);
|
||||
proc->date = g_strdup (proc_install->date);
|
||||
proc->proc_type = proc_install->type;
|
||||
|
||||
proc->num_args = proc_install->nparams;
|
||||
proc->num_values = proc_install->nreturn_vals;
|
||||
|
@ -772,6 +786,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
plug_ins_temp_proc_def_add (plug_in->gimp, proc_def);
|
||||
break;
|
||||
}
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -779,15 +795,20 @@ plug_in_handle_proc_uninstall (PlugIn *plug_in,
|
|||
GPProcUninstall *proc_uninstall)
|
||||
{
|
||||
PlugInProcDef *proc_def;
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_uninstall->name);
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs, canonical);
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs,
|
||||
proc_uninstall->name);
|
||||
if (proc_def)
|
||||
{
|
||||
plug_in->temp_proc_defs = g_slist_remove (plug_in->temp_proc_defs,
|
||||
proc_def);
|
||||
plug_ins_temp_proc_def_remove (plug_in->gimp, proc_def);
|
||||
}
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -127,7 +127,7 @@ plug_in_run (Gimp *gimp,
|
|||
config.display_name = gimp_get_display_name (gimp, gdisp_ID, &monitor);
|
||||
config.monitor_number = monitor;
|
||||
|
||||
proc_run.name = proc_rec->name;
|
||||
proc_run.name = proc_rec->original_name;
|
||||
proc_run.nparams = argc;
|
||||
proc_run.params = plug_in_args_to_params (args, argc, FALSE);
|
||||
|
||||
|
@ -256,7 +256,7 @@ plug_in_temp_run (ProcRecord *proc_rec,
|
|||
proc_frame = plug_in_proc_frame_push (plug_in, context, progress,
|
||||
proc_rec);
|
||||
|
||||
proc_run.name = proc_rec->name;
|
||||
proc_run.name = proc_rec->original_name;
|
||||
proc_run.nparams = argc;
|
||||
proc_run.params = plug_in_args_to_params (args, argc, FALSE);
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ plug_in_run (Gimp *gimp,
|
|||
config.display_name = gimp_get_display_name (gimp, gdisp_ID, &monitor);
|
||||
config.monitor_number = monitor;
|
||||
|
||||
proc_run.name = proc_rec->name;
|
||||
proc_run.name = proc_rec->original_name;
|
||||
proc_run.nparams = argc;
|
||||
proc_run.params = plug_in_args_to_params (args, argc, FALSE);
|
||||
|
||||
|
@ -256,7 +256,7 @@ plug_in_temp_run (ProcRecord *proc_rec,
|
|||
proc_frame = plug_in_proc_frame_push (plug_in, context, progress,
|
||||
proc_rec);
|
||||
|
||||
proc_run.name = proc_rec->name;
|
||||
proc_run.name = proc_rec->original_name;
|
||||
proc_run.nparams = argc;
|
||||
proc_run.params = plug_in_args_to_params (args, argc, FALSE);
|
||||
|
||||
|
|
|
@ -1049,8 +1049,8 @@ plug_ins_add_to_db (Gimp *gimp,
|
|||
|
||||
g_free (procedural_db_execute (gimp, context, NULL,
|
||||
proc_def->image_types ?
|
||||
"gimp_register_save_handler" :
|
||||
"gimp_register_magic_load_handler",
|
||||
"gimp-register-save-handler" :
|
||||
"gimp-register-magic-load-handler",
|
||||
args));
|
||||
}
|
||||
}
|
||||
|
@ -1092,9 +1092,9 @@ plug_ins_file_proc_compare (gconstpointer a,
|
|||
gchar *label_b;
|
||||
gint retval = 0;
|
||||
|
||||
if (strncmp (proc_a->prog, "gimp_xcf", 8) == 0)
|
||||
if (strncmp (proc_a->prog, "gimp-xcf", 8) == 0)
|
||||
return -1;
|
||||
if (strncmp (proc_b->prog, "gimp_xcf", 8) == 0)
|
||||
if (strncmp (proc_b->prog, "gimp-xcf", 8) == 0)
|
||||
return 1;
|
||||
|
||||
label_a = plug_in_proc_def_get_label (proc_a,
|
||||
|
|
|
@ -56,6 +56,7 @@ plug_in_proc_def_free (PlugInProcDef *proc_def)
|
|||
g_return_if_fail (proc_def != NULL);
|
||||
|
||||
g_free (proc_def->db_info.name);
|
||||
g_free (proc_def->db_info.original_name);
|
||||
g_free (proc_def->db_info.blurb);
|
||||
g_free (proc_def->db_info.help);
|
||||
g_free (proc_def->db_info.author);
|
||||
|
|
|
@ -347,19 +347,22 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
GPProcRun *proc_run)
|
||||
{
|
||||
PlugInProcFrame *proc_frame;
|
||||
gchar *canonical;
|
||||
const gchar *proc_name = NULL;
|
||||
ProcRecord *proc_rec;
|
||||
Argument *args;
|
||||
Argument *return_vals;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_run->name);
|
||||
|
||||
proc_frame = plug_in_get_proc_frame (plug_in);
|
||||
|
||||
proc_rec = procedural_db_lookup (plug_in->gimp, proc_run->name);
|
||||
proc_rec = procedural_db_lookup (plug_in->gimp, canonical);
|
||||
|
||||
if (! proc_rec)
|
||||
{
|
||||
proc_name = g_hash_table_lookup (plug_in->gimp->procedural_compat_ht,
|
||||
proc_run->name);
|
||||
canonical);
|
||||
|
||||
if (proc_name)
|
||||
{
|
||||
|
@ -372,7 +375,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
"It should call '%s' instead!",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_run->name, proc_name);
|
||||
canonical, proc_name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -386,7 +389,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
"called deprecated procedure '%s'.",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_run->name);
|
||||
canonical);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -395,7 +398,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
"It should call '%s' instead!",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_run->name, proc_rec->deprecated);
|
||||
canonical, proc_rec->deprecated);
|
||||
}
|
||||
}
|
||||
else if (plug_in->gimp->pdb_compat_mode == GIMP_PDB_COMPAT_OFF)
|
||||
|
@ -405,7 +408,7 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
}
|
||||
|
||||
if (! proc_name)
|
||||
proc_name = proc_run->name;
|
||||
proc_name = canonical;
|
||||
|
||||
args = plug_in_params_to_args (proc_run->params, proc_run->nparams, FALSE);
|
||||
|
||||
|
@ -423,12 +426,15 @@ plug_in_handle_proc_run (PlugIn *plug_in,
|
|||
|
||||
plug_in_pop (plug_in->gimp);
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
if (return_vals)
|
||||
{
|
||||
GPProcReturn proc_return;
|
||||
|
||||
/* Return the name we got called with, *not* proc_name, since
|
||||
* proc_name may have been remapped by gimp->procedural_compat_ht
|
||||
/* Return the name we got called with, *not* proc_name or canonical,
|
||||
* since proc_name may have been remapped by gimp->procedural_compat_ht
|
||||
* and canonical may be different too.
|
||||
*/
|
||||
proc_return.name = proc_run->name;
|
||||
|
||||
|
@ -570,10 +576,13 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
PlugInDef *plug_in_def = NULL;
|
||||
PlugInProcDef *proc_def = NULL;
|
||||
ProcRecord *proc = NULL;
|
||||
gchar *canonical;
|
||||
gchar *prog = NULL;
|
||||
gboolean valid_utf8 = FALSE;
|
||||
gint i;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_install->name);
|
||||
|
||||
/* Argument checking
|
||||
* --only sanity check arguments when the procedure requests a menu path
|
||||
*/
|
||||
|
@ -584,7 +593,7 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
|
||||
if (! plug_in_param_defs_check (plug_in->name,
|
||||
plug_in->prog,
|
||||
proc_install->name,
|
||||
canonical,
|
||||
proc_install->menu_path,
|
||||
proc_install->params,
|
||||
proc_install->nparams,
|
||||
|
@ -595,6 +604,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
g_message (error->message);
|
||||
g_clear_error (&error);
|
||||
|
||||
g_free (canonical);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -616,7 +627,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
"passing standard. Argument %d is noncompliant.",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog),
|
||||
proc_install->name, i);
|
||||
canonical, i);
|
||||
g_free (canonical);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -625,7 +637,7 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
|
||||
if ((proc_install->menu_path == NULL ||
|
||||
g_utf8_validate (proc_install->menu_path, -1, NULL)) &&
|
||||
(g_utf8_validate (proc_install->name, -1, NULL)) &&
|
||||
(g_utf8_validate (canonical, -1, NULL)) &&
|
||||
(proc_install->blurb == NULL ||
|
||||
g_utf8_validate (proc_install->blurb, -1, NULL)) &&
|
||||
(proc_install->help == NULL ||
|
||||
|
@ -662,6 +674,7 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
"attempted to install a procedure with invalid UTF-8 strings.",
|
||||
gimp_filename_to_utf8 (plug_in->name),
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
g_free (canonical);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -674,8 +687,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
plug_in_def = plug_in->plug_in_def;
|
||||
prog = plug_in_def->prog;
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in_def->proc_defs,
|
||||
proc_install->name);
|
||||
proc_def = plug_in_proc_def_find (plug_in_def->proc_defs, canonical);
|
||||
|
||||
if (proc_def)
|
||||
{
|
||||
plug_in_def->proc_defs = g_slist_remove (plug_in_def->proc_defs,
|
||||
|
@ -688,8 +701,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
plug_in_def = NULL;
|
||||
prog = "none";
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs,
|
||||
proc_install->name);
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs, canonical);
|
||||
|
||||
if (proc_def)
|
||||
{
|
||||
plug_in->temp_proc_defs = g_slist_remove (plug_in->temp_proc_defs,
|
||||
|
@ -727,13 +740,14 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
|
||||
proc = &proc_def->db_info;
|
||||
|
||||
proc->name = g_strdup (proc_install->name);
|
||||
proc->blurb = g_strdup (proc_install->blurb);
|
||||
proc->help = g_strdup (proc_install->help);
|
||||
proc->author = g_strdup (proc_install->author);
|
||||
proc->copyright = g_strdup (proc_install->copyright);
|
||||
proc->date = g_strdup (proc_install->date);
|
||||
proc->proc_type = proc_install->type;
|
||||
proc->name = g_strdup (canonical);
|
||||
proc->original_name = g_strdup (proc_install->name);
|
||||
proc->blurb = g_strdup (proc_install->blurb);
|
||||
proc->help = g_strdup (proc_install->help);
|
||||
proc->author = g_strdup (proc_install->author);
|
||||
proc->copyright = g_strdup (proc_install->copyright);
|
||||
proc->date = g_strdup (proc_install->date);
|
||||
proc->proc_type = proc_install->type;
|
||||
|
||||
proc->num_args = proc_install->nparams;
|
||||
proc->num_values = proc_install->nreturn_vals;
|
||||
|
@ -772,6 +786,8 @@ plug_in_handle_proc_install (PlugIn *plug_in,
|
|||
plug_ins_temp_proc_def_add (plug_in->gimp, proc_def);
|
||||
break;
|
||||
}
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -779,15 +795,20 @@ plug_in_handle_proc_uninstall (PlugIn *plug_in,
|
|||
GPProcUninstall *proc_uninstall)
|
||||
{
|
||||
PlugInProcDef *proc_def;
|
||||
gchar *canonical;
|
||||
|
||||
canonical = gimp_canonicalize_identifier (proc_uninstall->name);
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs, canonical);
|
||||
|
||||
proc_def = plug_in_proc_def_find (plug_in->temp_proc_defs,
|
||||
proc_uninstall->name);
|
||||
if (proc_def)
|
||||
{
|
||||
plug_in->temp_proc_defs = g_slist_remove (plug_in->temp_proc_defs,
|
||||
proc_def);
|
||||
plug_ins_temp_proc_def_remove (plug_in->gimp, proc_def);
|
||||
}
|
||||
|
||||
g_free (canonical);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -56,6 +56,7 @@ plug_in_proc_def_free (PlugInProcDef *proc_def)
|
|||
g_return_if_fail (proc_def != NULL);
|
||||
|
||||
g_free (proc_def->db_info.name);
|
||||
g_free (proc_def->db_info.original_name);
|
||||
g_free (proc_def->db_info.blurb);
|
||||
g_free (proc_def->db_info.help);
|
||||
g_free (proc_def->db_info.author);
|
||||
|
|
|
@ -311,8 +311,12 @@ plug_in_proc_def_deserialize (GScanner *scanner,
|
|||
gint n_menu_paths;
|
||||
gint i;
|
||||
|
||||
if (! gimp_scanner_parse_string (scanner, &proc_def->db_info.name))
|
||||
if (! gimp_scanner_parse_string (scanner, &proc_def->db_info.original_name))
|
||||
return G_TOKEN_STRING;
|
||||
|
||||
proc_def->db_info.name =
|
||||
gimp_canonicalize_identifier (proc_def->db_info.original_name);
|
||||
|
||||
if (! gimp_scanner_parse_int (scanner, (gint *) &proc_def->db_info.proc_type))
|
||||
return G_TOKEN_INT;
|
||||
if (! gimp_scanner_parse_string (scanner, &proc_def->db_info.blurb))
|
||||
|
@ -730,7 +734,7 @@ plug_in_rc_write (GSList *plug_in_defs,
|
|||
|
||||
gimp_config_writer_open (writer, "proc-def");
|
||||
gimp_config_writer_printf (writer, "\"%s\" %d",
|
||||
proc_def->db_info.name,
|
||||
proc_def->db_info.original_name,
|
||||
proc_def->db_info.proc_type);
|
||||
gimp_config_writer_linefeed (writer);
|
||||
gimp_config_writer_string (writer, proc_def->db_info.blurb);
|
||||
|
|
|
@ -127,7 +127,7 @@ plug_in_run (Gimp *gimp,
|
|||
config.display_name = gimp_get_display_name (gimp, gdisp_ID, &monitor);
|
||||
config.monitor_number = monitor;
|
||||
|
||||
proc_run.name = proc_rec->name;
|
||||
proc_run.name = proc_rec->original_name;
|
||||
proc_run.nparams = argc;
|
||||
proc_run.params = plug_in_args_to_params (args, argc, FALSE);
|
||||
|
||||
|
@ -256,7 +256,7 @@ plug_in_temp_run (ProcRecord *proc_rec,
|
|||
proc_frame = plug_in_proc_frame_push (plug_in, context, progress,
|
||||
proc_rec);
|
||||
|
||||
proc_run.name = proc_rec->name;
|
||||
proc_run.name = proc_rec->original_name;
|
||||
proc_run.nparams = argc;
|
||||
proc_run.params = plug_in_args_to_params (args, argc, FALSE);
|
||||
|
||||
|
|
|
@ -1049,8 +1049,8 @@ plug_ins_add_to_db (Gimp *gimp,
|
|||
|
||||
g_free (procedural_db_execute (gimp, context, NULL,
|
||||
proc_def->image_types ?
|
||||
"gimp_register_save_handler" :
|
||||
"gimp_register_magic_load_handler",
|
||||
"gimp-register-save-handler" :
|
||||
"gimp-register-magic-load-handler",
|
||||
args));
|
||||
}
|
||||
}
|
||||
|
@ -1092,9 +1092,9 @@ plug_ins_file_proc_compare (gconstpointer a,
|
|||
gchar *label_b;
|
||||
gint retval = 0;
|
||||
|
||||
if (strncmp (proc_a->prog, "gimp_xcf", 8) == 0)
|
||||
if (strncmp (proc_a->prog, "gimp-xcf", 8) == 0)
|
||||
return -1;
|
||||
if (strncmp (proc_b->prog, "gimp_xcf", 8) == 0)
|
||||
if (strncmp (proc_b->prog, "gimp-xcf", 8) == 0)
|
||||
return 1;
|
||||
|
||||
label_a = plug_in_proc_def_get_label (proc_a,
|
||||
|
|
|
@ -82,7 +82,7 @@ static ProcArg xcf_load_return_vals[] =
|
|||
|
||||
static PlugInProcDef xcf_plug_in_load_proc =
|
||||
{
|
||||
"gimp_xcf_load",
|
||||
"gimp-xcf-load",
|
||||
N_("GIMP XCF image"),
|
||||
NULL,
|
||||
GIMP_ICON_TYPE_STOCK_ID,
|
||||
|
@ -93,7 +93,8 @@ static PlugInProcDef xcf_plug_in_load_proc =
|
|||
0,
|
||||
FALSE,
|
||||
{
|
||||
"gimp_xcf_load",
|
||||
"gimp-xcf-load",
|
||||
"gimp-xcf-load",
|
||||
"loads file saved in the .xcf file format",
|
||||
"The xcf file format has been designed specifically for loading and "
|
||||
"saving tiled and layered images in the GIMP. This procedure will load "
|
||||
|
@ -140,7 +141,7 @@ static ProcArg xcf_save_args[] =
|
|||
|
||||
static PlugInProcDef xcf_plug_in_save_proc =
|
||||
{
|
||||
"gimp_xcf_save",
|
||||
"gimp-xcf-save",
|
||||
N_("GIMP XCF image"),
|
||||
NULL,
|
||||
GIMP_ICON_TYPE_STOCK_ID,
|
||||
|
@ -151,7 +152,8 @@ static PlugInProcDef xcf_plug_in_save_proc =
|
|||
0,
|
||||
FALSE,
|
||||
{
|
||||
"gimp_xcf_save",
|
||||
"gimp-xcf-save",
|
||||
"gimp-xcf-save",
|
||||
"saves file in the .xcf file format",
|
||||
"The xcf file format has been designed specifically for loading and "
|
||||
"saving tiled and layered images in the GIMP. This procedure will save "
|
||||
|
|
|
@ -46,7 +46,7 @@ gimp_brush_new (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_new",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-new",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -78,7 +78,7 @@ gimp_brush_duplicate (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_duplicate",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-duplicate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -110,7 +110,7 @@ gimp_brush_is_generated (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean generated = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_is_generated",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-is-generated",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -144,7 +144,7 @@ gimp_brush_rename (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_rename",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-rename",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_STRING, new_name,
|
||||
|
@ -177,7 +177,7 @@ gimp_brush_delete (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -208,7 +208,7 @@ gimp_brush_is_editable (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean editable = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_is_editable",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-is-editable",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -249,7 +249,7 @@ gimp_brush_get_info (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_info",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-info",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -310,7 +310,7 @@ gimp_brush_get_pixels (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_pixels",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-pixels",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -370,7 +370,7 @@ gimp_brush_get_spacing (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_spacing",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-spacing",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -409,7 +409,7 @@ gimp_brush_set_spacing (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_set_spacing",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-set-spacing",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, spacing,
|
||||
|
@ -446,7 +446,7 @@ gimp_brush_get_shape (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gint shape = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_shape",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-shape",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -479,7 +479,7 @@ gimp_brush_get_radius (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gdouble radius = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_radius",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-radius",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -512,7 +512,7 @@ gimp_brush_get_spikes (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gint spikes = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_spikes",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-spikes",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -546,7 +546,7 @@ gimp_brush_get_hardness (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gdouble hardness = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_hardness",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-hardness",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -579,7 +579,7 @@ gimp_brush_get_aspect_ratio (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gdouble aspect_ratio = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_aspect_ratio",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-aspect-ratio",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -612,7 +612,7 @@ gimp_brush_get_angle (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gdouble angle = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_get_angle",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-get-angle",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -651,7 +651,7 @@ gimp_brush_set_shape (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gint shape_out = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_set_shape",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-set-shape",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, shape_in,
|
||||
|
@ -687,7 +687,7 @@ gimp_brush_set_radius (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gdouble radius_out = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_set_radius",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-set-radius",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_FLOAT, radius_in,
|
||||
|
@ -723,7 +723,7 @@ gimp_brush_set_spikes (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gint spikes_out = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_set_spikes",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-set-spikes",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, spikes_in,
|
||||
|
@ -759,7 +759,7 @@ gimp_brush_set_hardness (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gdouble hardness_out = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_set_hardness",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-set-hardness",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_FLOAT, hardness_in,
|
||||
|
@ -795,7 +795,7 @@ gimp_brush_set_aspect_ratio (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gdouble aspect_ratio_out = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_set_aspect_ratio",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-set-aspect-ratio",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_FLOAT, aspect_ratio_in,
|
||||
|
@ -831,7 +831,7 @@ gimp_brush_set_angle (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gdouble angle_out = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brush_set_angle",
|
||||
return_vals = gimp_run_procedure ("gimp-brush-set-angle",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_FLOAT, angle_in,
|
||||
|
|
|
@ -44,7 +44,7 @@ gimp_brushes_refresh (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_refresh",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-refresh",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -64,7 +64,7 @@ gimp_brushes_refresh (void)
|
|||
*
|
||||
* This procedure returns a complete listing of available GIMP brushes.
|
||||
* Each name returned can be used as input to the
|
||||
* 'gimp_context_set_brush' procedure.
|
||||
* 'gimp-context-set-brush' procedure.
|
||||
*
|
||||
* Returns: The list of brush names.
|
||||
*/
|
||||
|
@ -77,7 +77,7 @@ gimp_brushes_get_list (const gchar *filter,
|
|||
gchar **brush_list = NULL;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_get_list",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-get-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, filter,
|
||||
GIMP_PDB_END);
|
||||
|
@ -116,7 +116,7 @@ gimp_brushes_get_brush (gint *width,
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_get_brush",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-get-brush",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -147,7 +147,7 @@ gimp_brushes_get_spacing (void)
|
|||
gint nreturn_vals;
|
||||
gint spacing = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_get_spacing",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-get-spacing",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -174,7 +174,7 @@ gimp_brushes_set_spacing (gint spacing)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_set_spacing",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-set-spacing",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, spacing,
|
||||
GIMP_PDB_END);
|
||||
|
@ -215,7 +215,7 @@ gimp_brushes_get_brush_data (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_get_brush_data",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-get-brush-data",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -52,7 +52,7 @@ gimp_brushes_popup (const gchar *brush_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, brush_callback,
|
||||
GIMP_PDB_STRING, popup_title,
|
||||
|
@ -86,7 +86,7 @@ gimp_brushes_close_popup (const gchar *brush_callback)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_close_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-close-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, brush_callback,
|
||||
GIMP_PDB_END);
|
||||
|
@ -123,7 +123,7 @@ gimp_brushes_set_popup (const gchar *brush_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brushes_set_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-brushes-set-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, brush_callback,
|
||||
GIMP_PDB_STRING, brush_name,
|
||||
|
|
|
@ -58,7 +58,7 @@ _gimp_channel_new (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 channel_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_new",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-new",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, width,
|
||||
|
@ -99,7 +99,7 @@ gimp_channel_new_from_component (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 channel_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_new_from_component",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-new-from-component",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, component,
|
||||
|
@ -131,7 +131,7 @@ gimp_channel_copy (gint32 channel_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 channel_copy_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_copy",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-copy",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -170,7 +170,7 @@ gimp_channel_combine_masks (gint32 channel1_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_combine_masks",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-combine-masks",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel1_ID,
|
||||
GIMP_PDB_CHANNEL, channel2_ID,
|
||||
|
@ -206,7 +206,7 @@ gimp_channel_get_show_masked (gint32 channel_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean show_masked = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_get_show_masked",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-get-show-masked",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -240,7 +240,7 @@ gimp_channel_set_show_masked (gint32 channel_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_set_show_masked",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-set-show-masked",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
GIMP_PDB_INT32, show_masked,
|
||||
|
@ -270,7 +270,7 @@ gimp_channel_get_opacity (gint32 channel_ID)
|
|||
gint nreturn_vals;
|
||||
gdouble opacity = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_get_opacity",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-get-opacity",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -302,7 +302,7 @@ gimp_channel_set_opacity (gint32 channel_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_set_opacity",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-set-opacity",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
GIMP_PDB_FLOAT, opacity,
|
||||
|
@ -334,7 +334,7 @@ gimp_channel_get_color (gint32 channel_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_get_color",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-get-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -368,7 +368,7 @@ gimp_channel_set_color (gint32 channel_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_channel_set_color",
|
||||
return_vals = gimp_run_procedure ("gimp-channel-set-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
GIMP_PDB_COLOR, color,
|
||||
|
|
|
@ -48,7 +48,7 @@ gimp_brightness_contrast (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_brightness_contrast",
|
||||
return_vals = gimp_run_procedure ("gimp-brightness-contrast",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, brightness,
|
||||
|
@ -102,7 +102,7 @@ gimp_levels (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_levels",
|
||||
return_vals = gimp_run_procedure ("gimp-levels",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, channel,
|
||||
|
@ -135,7 +135,7 @@ gimp_levels_auto (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_levels_auto",
|
||||
return_vals = gimp_run_procedure ("gimp-levels-auto",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -168,7 +168,7 @@ gimp_levels_stretch (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_levels_stretch",
|
||||
return_vals = gimp_run_procedure ("gimp-levels-stretch",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -200,7 +200,7 @@ gimp_posterize (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_posterize",
|
||||
return_vals = gimp_run_procedure ("gimp-posterize",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, levels,
|
||||
|
@ -231,7 +231,7 @@ gimp_desaturate (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_desaturate",
|
||||
return_vals = gimp_run_procedure ("gimp-desaturate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -267,7 +267,7 @@ gimp_desaturate_full (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_desaturate_full",
|
||||
return_vals = gimp_run_procedure ("gimp-desaturate-full",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, desaturate_mode,
|
||||
|
@ -306,7 +306,7 @@ gimp_equalize (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_equalize",
|
||||
return_vals = gimp_run_procedure ("gimp-equalize",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, mask_only,
|
||||
|
@ -339,7 +339,7 @@ gimp_invert (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_invert",
|
||||
return_vals = gimp_run_procedure ("gimp-invert",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -380,7 +380,7 @@ gimp_curves_spline (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_curves_spline",
|
||||
return_vals = gimp_run_procedure ("gimp-curves-spline",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, channel,
|
||||
|
@ -424,7 +424,7 @@ gimp_curves_explicit (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_curves_explicit",
|
||||
return_vals = gimp_run_procedure ("gimp-curves-explicit",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, channel,
|
||||
|
@ -473,7 +473,7 @@ gimp_color_balance (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_color_balance",
|
||||
return_vals = gimp_run_procedure ("gimp-color-balance",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, transfer_mode,
|
||||
|
@ -518,7 +518,7 @@ gimp_colorize (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_colorize",
|
||||
return_vals = gimp_run_procedure ("gimp-colorize",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, hue,
|
||||
|
@ -581,7 +581,7 @@ gimp_histogram (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_histogram",
|
||||
return_vals = gimp_run_procedure ("gimp-histogram",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, channel,
|
||||
|
@ -640,7 +640,7 @@ gimp_hue_saturation (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_hue_saturation",
|
||||
return_vals = gimp_run_procedure ("gimp-hue-saturation",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, hue_range,
|
||||
|
@ -680,7 +680,7 @@ gimp_threshold (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_threshold",
|
||||
return_vals = gimp_run_procedure ("gimp-threshold",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, low_threshold,
|
||||
|
|
|
@ -45,7 +45,7 @@ gimp_context_push (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_push",
|
||||
return_vals = gimp_run_procedure ("gimp-context-push",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -75,7 +75,7 @@ gimp_context_pop (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_pop",
|
||||
return_vals = gimp_run_procedure ("gimp-context-pop",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -107,7 +107,7 @@ gimp_context_get_foreground (GimpRGB *foreground)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_foreground",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-foreground",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -142,7 +142,7 @@ gimp_context_set_foreground (const GimpRGB *foreground)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_foreground",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-foreground",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_COLOR, foreground,
|
||||
GIMP_PDB_END);
|
||||
|
@ -175,7 +175,7 @@ gimp_context_get_background (GimpRGB *background)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_background",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-background",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -211,7 +211,7 @@ gimp_context_set_background (const GimpRGB *background)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_background",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-background",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_COLOR, background,
|
||||
GIMP_PDB_END);
|
||||
|
@ -243,7 +243,7 @@ gimp_context_set_default_colors (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_default_colors",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-default-colors",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -274,7 +274,7 @@ gimp_context_swap_colors (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_swap_colors",
|
||||
return_vals = gimp_run_procedure ("gimp-context-swap-colors",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -304,7 +304,7 @@ gimp_context_get_opacity (void)
|
|||
gint nreturn_vals;
|
||||
gdouble opacity = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_opacity",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-opacity",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -336,7 +336,7 @@ gimp_context_set_opacity (gdouble opacity)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_opacity",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-opacity",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_FLOAT, opacity,
|
||||
GIMP_PDB_END);
|
||||
|
@ -368,7 +368,7 @@ gimp_context_get_paint_mode (void)
|
|||
gint nreturn_vals;
|
||||
GimpLayerModeEffects paint_mode = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_paint_mode",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-paint-mode",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -399,7 +399,7 @@ gimp_context_set_paint_mode (GimpLayerModeEffects paint_mode)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_paint_mode",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-paint-mode",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, paint_mode,
|
||||
GIMP_PDB_END);
|
||||
|
@ -431,7 +431,7 @@ gimp_context_get_brush (void)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_brush",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-brush",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -466,7 +466,7 @@ gimp_context_set_brush (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_brush",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-brush",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -498,7 +498,7 @@ gimp_context_get_pattern (void)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_pattern",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-pattern",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -534,7 +534,7 @@ gimp_context_set_pattern (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_pattern",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-pattern",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -564,7 +564,7 @@ gimp_context_get_gradient (void)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_gradient",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-gradient",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -600,7 +600,7 @@ gimp_context_set_gradient (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_gradient",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-gradient",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -630,7 +630,7 @@ gimp_context_get_palette (void)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_palette",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-palette",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -666,7 +666,7 @@ gimp_context_set_palette (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_palette",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-palette",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -696,7 +696,7 @@ gimp_context_get_font (void)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_get_font",
|
||||
return_vals = gimp_run_procedure ("gimp-context-get-font",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -731,7 +731,7 @@ gimp_context_set_font (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_context_set_font",
|
||||
return_vals = gimp_run_procedure ("gimp-context-set-font",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -45,7 +45,7 @@ gimp_image_convert_rgb (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_convert_rgb",
|
||||
return_vals = gimp_run_procedure ("gimp-image-convert-rgb",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -76,7 +76,7 @@ gimp_image_convert_grayscale (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_convert_grayscale",
|
||||
return_vals = gimp_run_procedure ("gimp-image-convert-grayscale",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -129,7 +129,7 @@ gimp_image_convert_indexed (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_convert_indexed",
|
||||
return_vals = gimp_run_procedure ("gimp-image-convert-indexed",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, dither_type,
|
||||
|
|
|
@ -46,7 +46,7 @@ gimp_display_new (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 display_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_display_new",
|
||||
return_vals = gimp_run_procedure ("gimp-display-new",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -78,7 +78,7 @@ gimp_display_delete (gint32 display_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_display_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-display-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DISPLAY, display_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -109,7 +109,7 @@ gimp_displays_flush (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_displays_flush",
|
||||
return_vals = gimp_run_procedure ("gimp-displays-flush",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -142,7 +142,7 @@ gimp_displays_reconnect (gint32 old_image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_displays_reconnect",
|
||||
return_vals = gimp_run_procedure ("gimp-displays-reconnect",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, old_image_ID,
|
||||
GIMP_PDB_IMAGE, new_image_ID,
|
||||
|
|
|
@ -48,7 +48,7 @@ gimp_drawable_delete (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -78,7 +78,7 @@ gimp_drawable_is_layer (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean layer = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_is_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-is-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -109,7 +109,7 @@ gimp_drawable_is_layer_mask (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean layer_mask = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_is_layer_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-is-layer-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -140,7 +140,7 @@ gimp_drawable_is_channel (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean channel = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_is_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-is-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -170,7 +170,7 @@ gimp_drawable_type (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
GimpImageType type = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_type",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-type",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -203,7 +203,7 @@ gimp_drawable_type_with_alpha (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
GimpImageType type_with_alpha = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_type_with_alpha",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-type-with-alpha",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -235,7 +235,7 @@ gimp_drawable_has_alpha (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean has_alpha = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_has_alpha",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-has-alpha",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -266,7 +266,7 @@ gimp_drawable_is_rgb (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean is_rgb = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_is_rgb",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-is-rgb",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -297,7 +297,7 @@ gimp_drawable_is_gray (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean is_gray = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_is_gray",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-is-gray",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -328,7 +328,7 @@ gimp_drawable_is_indexed (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean is_indexed = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_is_indexed",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-is-indexed",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -359,7 +359,7 @@ gimp_drawable_bpp (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gint bpp = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_bpp",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-bpp",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -389,7 +389,7 @@ gimp_drawable_width (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gint width = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_width",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-width",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -419,7 +419,7 @@ gimp_drawable_height (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gint height = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_height",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-height",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -455,7 +455,7 @@ gimp_drawable_offsets (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_offsets",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-offsets",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -493,7 +493,7 @@ gimp_drawable_get_image (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 image_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_get_image",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-get-image",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -523,7 +523,7 @@ gimp_drawable_set_image (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_set_image",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-set-image",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
|
@ -553,7 +553,7 @@ gimp_drawable_get_name (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_get_name",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-get-name",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -585,7 +585,7 @@ gimp_drawable_set_name (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_set_name",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-set-name",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -615,7 +615,7 @@ gimp_drawable_get_visible (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean visible = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_get_visible",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-get-visible",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -647,7 +647,7 @@ gimp_drawable_set_visible (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_set_visible",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-set-visible",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, visible,
|
||||
|
@ -677,7 +677,7 @@ gimp_drawable_get_linked (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean linked = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_get_linked",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-get-linked",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -709,7 +709,7 @@ gimp_drawable_set_linked (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_set_linked",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-set-linked",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, linked,
|
||||
|
@ -742,7 +742,7 @@ gimp_drawable_get_tattoo (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gint tattoo = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_get_tattoo",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-get-tattoo",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -777,7 +777,7 @@ gimp_drawable_set_tattoo (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_set_tattoo",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-set-tattoo",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, tattoo,
|
||||
|
@ -827,7 +827,7 @@ gimp_drawable_mask_bounds (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean non_empty = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_mask_bounds",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-mask-bounds",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -878,7 +878,7 @@ gimp_drawable_mask_intersect (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean non_empty = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_mask_intersect",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-mask-intersect",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -919,7 +919,7 @@ gimp_drawable_merge_shadow (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_merge_shadow",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-merge-shadow",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, undo,
|
||||
|
@ -960,7 +960,7 @@ gimp_drawable_update (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_update",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-update",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, x,
|
||||
|
@ -1001,7 +1001,7 @@ gimp_drawable_get_pixel (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
guint8 *pixel = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_get_pixel",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-get-pixel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, x_coord,
|
||||
|
@ -1052,7 +1052,7 @@ gimp_drawable_set_pixel (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_set_pixel",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-set-pixel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, x_coord,
|
||||
|
@ -1095,7 +1095,7 @@ gimp_drawable_fill (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_fill",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-fill",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, fill_type,
|
||||
|
@ -1139,7 +1139,7 @@ gimp_drawable_offset (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_offset",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-offset",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, wrap_around,
|
||||
|
@ -1189,7 +1189,7 @@ _gimp_drawable_thumbnail (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_thumbnail",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-thumbnail",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, width,
|
||||
|
@ -1264,7 +1264,7 @@ _gimp_drawable_sub_thumbnail (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_sub_thumbnail",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-sub-thumbnail",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, src_x,
|
||||
|
@ -1323,7 +1323,7 @@ gimp_drawable_foreground_extract (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_foreground_extract",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-foreground-extract",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, mode,
|
||||
|
|
|
@ -60,7 +60,7 @@ gimp_drawable_transform_flip_simple (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_flip_simple",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-flip-simple",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, flip_type,
|
||||
|
@ -123,7 +123,7 @@ gimp_drawable_transform_flip (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_flip",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-flip",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, x0,
|
||||
|
@ -178,7 +178,7 @@ gimp_drawable_transform_flip_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_flip_default",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-flip-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, x0,
|
||||
|
@ -257,7 +257,7 @@ gimp_drawable_transform_perspective (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_perspective",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-perspective",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, x0,
|
||||
|
@ -325,7 +325,7 @@ gimp_drawable_transform_perspective_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_perspective_default",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-perspective-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, x0,
|
||||
|
@ -384,7 +384,7 @@ gimp_drawable_transform_rotate_simple (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_rotate_simple",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-rotate-simple",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, rotate_type,
|
||||
|
@ -446,7 +446,7 @@ gimp_drawable_transform_rotate (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_rotate",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-rotate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, angle,
|
||||
|
@ -502,7 +502,7 @@ gimp_drawable_transform_rotate_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_rotate_default",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-rotate-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, angle,
|
||||
|
@ -564,7 +564,7 @@ gimp_drawable_transform_scale (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_scale",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-scale",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, x0,
|
||||
|
@ -619,7 +619,7 @@ gimp_drawable_transform_scale_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_scale_default",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-scale-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, x0,
|
||||
|
@ -681,7 +681,7 @@ gimp_drawable_transform_shear (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_shear",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-shear",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, shear_type,
|
||||
|
@ -731,7 +731,7 @@ gimp_drawable_transform_shear_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_shear_default",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-shear-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, shear_type,
|
||||
|
@ -800,7 +800,7 @@ gimp_drawable_transform_2d (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_2d",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-2d",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, source_x,
|
||||
|
@ -864,7 +864,7 @@ gimp_drawable_transform_2d_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_2d_default",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-2d-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, source_x,
|
||||
|
@ -940,7 +940,7 @@ gimp_drawable_transform_matrix (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_matrix",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-matrix",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, coeff_0_0,
|
||||
|
@ -1010,7 +1010,7 @@ gimp_drawable_transform_matrix_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 ret_drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_transform_matrix_default",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-transform-matrix-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, coeff_0_0,
|
||||
|
|
|
@ -47,7 +47,7 @@ gimp_edit_cut (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean non_empty = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_cut",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-cut",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -82,7 +82,7 @@ gimp_edit_copy (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean non_empty = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_copy",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-copy",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -119,7 +119,7 @@ gimp_edit_copy_visible (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean non_empty = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_copy_visible",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-copy-visible",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -165,7 +165,7 @@ gimp_edit_paste (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 floating_sel_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_paste",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-paste",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, paste_into,
|
||||
|
@ -200,7 +200,7 @@ gimp_edit_clear (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_clear",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-clear",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -237,7 +237,7 @@ gimp_edit_fill (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_fill",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-fill",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, fill_type,
|
||||
|
@ -293,7 +293,7 @@ gimp_edit_bucket_fill (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_bucket_fill",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-bucket-fill",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, fill_mode,
|
||||
|
@ -363,7 +363,7 @@ gimp_edit_blend (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_blend",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-blend",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, blend_mode,
|
||||
|
@ -410,7 +410,7 @@ gimp_edit_stroke (gint32 drawable_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_edit_stroke",
|
||||
return_vals = gimp_run_procedure ("gimp-edit-stroke",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -52,7 +52,7 @@ gimp_file_load (GimpRunMode run_mode,
|
|||
gint nreturn_vals;
|
||||
gint32 image_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_file_load",
|
||||
return_vals = gimp_run_procedure ("gimp-file-load",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, run_mode,
|
||||
GIMP_PDB_STRING, filename,
|
||||
|
@ -97,7 +97,7 @@ gimp_file_save (GimpRunMode run_mode,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_file_save",
|
||||
return_vals = gimp_run_procedure ("gimp-file-save",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, run_mode,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
|
@ -131,7 +131,7 @@ gimp_temp_name (const gchar *extension)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_temp_name",
|
||||
return_vals = gimp_run_procedure ("gimp-temp-name",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, extension,
|
||||
GIMP_PDB_END);
|
||||
|
@ -168,7 +168,7 @@ gimp_register_magic_load_handler (const gchar *procedure_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_register_magic_load_handler",
|
||||
return_vals = gimp_run_procedure ("gimp-register-magic-load-handler",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, procedure_name,
|
||||
GIMP_PDB_STRING, extensions,
|
||||
|
@ -205,7 +205,7 @@ gimp_register_load_handler (const gchar *procedure_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_register_load_handler",
|
||||
return_vals = gimp_run_procedure ("gimp-register-load-handler",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, procedure_name,
|
||||
GIMP_PDB_STRING, extensions,
|
||||
|
@ -241,7 +241,7 @@ gimp_register_save_handler (const gchar *procedure_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_register_save_handler",
|
||||
return_vals = gimp_run_procedure ("gimp-register-save-handler",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, procedure_name,
|
||||
GIMP_PDB_STRING, extensions,
|
||||
|
@ -278,7 +278,7 @@ gimp_register_file_handler_mime (const gchar *procedure_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_register_file_handler_mime",
|
||||
return_vals = gimp_run_procedure ("gimp-register-file-handler-mime",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, procedure_name,
|
||||
GIMP_PDB_STRING, mime_type,
|
||||
|
@ -317,7 +317,7 @@ gimp_register_thumbnail_loader (const gchar *load_proc,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_register_thumbnail_loader",
|
||||
return_vals = gimp_run_procedure ("gimp-register-thumbnail-loader",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, load_proc,
|
||||
GIMP_PDB_STRING, thumb_proc,
|
||||
|
|
|
@ -44,7 +44,7 @@ gimp_floating_sel_remove (gint32 floating_sel_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_floating_sel_remove",
|
||||
return_vals = gimp_run_procedure ("gimp-floating-sel-remove",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, floating_sel_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -76,7 +76,7 @@ gimp_floating_sel_anchor (gint32 floating_sel_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_floating_sel_anchor",
|
||||
return_vals = gimp_run_procedure ("gimp-floating-sel-anchor",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, floating_sel_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -112,7 +112,7 @@ gimp_floating_sel_to_layer (gint32 floating_sel_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_floating_sel_to_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-floating-sel-to-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, floating_sel_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -144,7 +144,7 @@ gimp_floating_sel_attach (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_floating_sel_attach",
|
||||
return_vals = gimp_run_procedure ("gimp-floating-sel-attach",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
|
@ -176,7 +176,7 @@ gimp_floating_sel_rigor (gint32 floating_sel_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_floating_sel_rigor",
|
||||
return_vals = gimp_run_procedure ("gimp-floating-sel-rigor",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, floating_sel_ID,
|
||||
GIMP_PDB_INT32, undo,
|
||||
|
@ -208,7 +208,7 @@ gimp_floating_sel_relax (gint32 floating_sel_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_floating_sel_relax",
|
||||
return_vals = gimp_run_procedure ("gimp-floating-sel-relax",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, floating_sel_ID,
|
||||
GIMP_PDB_INT32, undo,
|
||||
|
|
|
@ -42,7 +42,7 @@ gimp_fonts_refresh (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_fonts_refresh",
|
||||
return_vals = gimp_run_procedure ("gimp-fonts-refresh",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -74,7 +74,7 @@ gimp_fonts_get_list (const gchar *filter,
|
|||
gchar **font_list = NULL;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_fonts_get_list",
|
||||
return_vals = gimp_run_procedure ("gimp-fonts-get-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, filter,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -46,7 +46,7 @@ gimp_fonts_popup (const gchar *font_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_fonts_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-fonts-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, font_callback,
|
||||
GIMP_PDB_STRING, popup_title,
|
||||
|
@ -77,7 +77,7 @@ gimp_fonts_close_popup (const gchar *font_callback)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_fonts_close_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-fonts-close-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, font_callback,
|
||||
GIMP_PDB_END);
|
||||
|
@ -108,7 +108,7 @@ gimp_fonts_set_popup (const gchar *font_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_fonts_set_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-fonts-set-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, font_callback,
|
||||
GIMP_PDB_STRING, font_name,
|
||||
|
|
|
@ -50,7 +50,7 @@ gimp_gimprc_query (const gchar *token)
|
|||
gint nreturn_vals;
|
||||
gchar *value = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gimprc_query",
|
||||
return_vals = gimp_run_procedure ("gimp-gimprc-query",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, token,
|
||||
GIMP_PDB_END);
|
||||
|
@ -86,7 +86,7 @@ gimp_gimprc_set (const gchar *token,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gimprc_set",
|
||||
return_vals = gimp_run_procedure ("gimp-gimprc-set",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, token,
|
||||
GIMP_PDB_STRING, value,
|
||||
|
@ -115,7 +115,7 @@ gimp_get_default_comment (void)
|
|||
gint nreturn_vals;
|
||||
gchar *comment = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_get_default_comment",
|
||||
return_vals = gimp_run_procedure ("gimp-get-default-comment",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -149,7 +149,7 @@ gimp_get_monitor_resolution (gdouble *xres,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_get_monitor_resolution",
|
||||
return_vals = gimp_run_procedure ("gimp-get-monitor-resolution",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -185,7 +185,7 @@ gimp_get_theme_dir (void)
|
|||
gint nreturn_vals;
|
||||
gchar *theme_dir = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_get_theme_dir",
|
||||
return_vals = gimp_run_procedure ("gimp-get-theme-dir",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -216,7 +216,7 @@ _gimp_get_color_configuration (void)
|
|||
gint nreturn_vals;
|
||||
gchar *config = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_get_color_configuration",
|
||||
return_vals = gimp_run_procedure ("gimp-get-color-configuration",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -244,7 +244,7 @@ gimp_get_module_load_inhibit (void)
|
|||
gint nreturn_vals;
|
||||
gchar *load_inhibit = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_get_module_load_inhibit",
|
||||
return_vals = gimp_run_procedure ("gimp-get-module-load-inhibit",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ gimp_gradient_new (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_new",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-new",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -78,7 +78,7 @@ gimp_gradient_duplicate (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_duplicate",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-duplicate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -110,7 +110,7 @@ gimp_gradient_is_editable (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean editable = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_is_editable",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-is-editable",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -144,7 +144,7 @@ gimp_gradient_rename (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_rename",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-rename",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_STRING, new_name,
|
||||
|
@ -177,7 +177,7 @@ gimp_gradient_delete (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -222,7 +222,7 @@ gimp_gradient_get_uniform_samples (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_get_uniform_samples",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-get-uniform-samples",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, num_samples,
|
||||
|
@ -281,7 +281,7 @@ gimp_gradient_get_custom_samples (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_get_custom_samples",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-get-custom-samples",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, num_samples,
|
||||
|
@ -334,7 +334,7 @@ gimp_gradient_segment_get_left_color (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_get_left_color",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-get-left-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -382,7 +382,7 @@ gimp_gradient_segment_set_left_color (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_set_left_color",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-set-left-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -424,7 +424,7 @@ gimp_gradient_segment_get_right_color (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_get_right_color",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-get-right-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -472,7 +472,7 @@ gimp_gradient_segment_set_right_color (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_set_right_color",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-set-right-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -512,7 +512,7 @@ gimp_gradient_segment_get_left_pos (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_get_left_pos",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-get-left-pos",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -560,7 +560,7 @@ gimp_gradient_segment_set_left_pos (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_set_left_pos",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-set-left-pos",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -604,7 +604,7 @@ gimp_gradient_segment_get_middle_pos (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_get_middle_pos",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-get-middle-pos",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -650,7 +650,7 @@ gimp_gradient_segment_set_middle_pos (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_set_middle_pos",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-set-middle-pos",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -694,7 +694,7 @@ gimp_gradient_segment_get_right_pos (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_get_right_pos",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-get-right-pos",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -742,7 +742,7 @@ gimp_gradient_segment_set_right_pos (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_set_right_pos",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-set-right-pos",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -785,7 +785,7 @@ gimp_gradient_segment_get_blending_function (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_get_blending_function",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-get-blending-function",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -827,7 +827,7 @@ gimp_gradient_segment_get_coloring_type (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_get_coloring_type",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-get-coloring-type",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, segment,
|
||||
|
@ -871,7 +871,7 @@ gimp_gradient_segment_range_set_blending_function (const gchar *name
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_set_blending_function",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-set-blending-function",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -912,7 +912,7 @@ gimp_gradient_segment_range_set_coloring_type (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_set_coloring_type",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-set-coloring-type",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -950,7 +950,7 @@ gimp_gradient_segment_range_flip (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_flip",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-flip",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -991,7 +991,7 @@ gimp_gradient_segment_range_replicate (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_replicate",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-replicate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -1030,7 +1030,7 @@ gimp_gradient_segment_range_split_midpoint (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_split_midpoint",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-split-midpoint",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -1070,7 +1070,7 @@ gimp_gradient_segment_range_split_uniform (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_split_uniform",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-split-uniform",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -1108,7 +1108,7 @@ gimp_gradient_segment_range_delete (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -1146,7 +1146,7 @@ gimp_gradient_segment_range_redistribute_handles (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_redistribute_handles",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-redistribute-handles",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -1185,7 +1185,7 @@ gimp_gradient_segment_range_blend_colors (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_blend_colors",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-blend-colors",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -1224,7 +1224,7 @@ gimp_gradient_segment_range_blend_opacity (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_blend_opacity",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-blend-opacity",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
@ -1267,7 +1267,7 @@ gimp_gradient_segment_range_move (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gdouble final_delta = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradient_segment_range_move",
|
||||
return_vals = gimp_run_procedure ("gimp-gradient-segment-range-move",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, start_segment,
|
||||
|
|
|
@ -44,7 +44,7 @@ gimp_gradients_refresh (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_refresh",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-refresh",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -63,7 +63,7 @@ gimp_gradients_refresh (void)
|
|||
* Retrieve the list of loaded gradients.
|
||||
*
|
||||
* This procedure returns a list of the gradients that are currently
|
||||
* loaded. You can later use the 'gimp_context_set_gradient' function
|
||||
* loaded. You can later use the 'gimp-context-set-gradient' function
|
||||
* to set the active gradient.
|
||||
*
|
||||
* Returns: The list of gradient names.
|
||||
|
@ -77,7 +77,7 @@ gimp_gradients_get_list (const gchar *filter,
|
|||
gchar **gradient_list = NULL;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_get_list",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-get-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, filter,
|
||||
GIMP_PDB_END);
|
||||
|
@ -116,7 +116,7 @@ gimp_gradients_sample_uniform (gint num_samples,
|
|||
gdouble *color_samples = NULL;
|
||||
gint num_color_samples;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_sample_uniform",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-sample-uniform",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, num_samples,
|
||||
GIMP_PDB_INT32, reverse,
|
||||
|
@ -156,7 +156,7 @@ gimp_gradients_sample_custom (gint num_samples,
|
|||
gdouble *color_samples = NULL;
|
||||
gint num_color_samples;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_sample_custom",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-sample-custom",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, num_samples,
|
||||
GIMP_PDB_FLOATARRAY, positions,
|
||||
|
@ -200,7 +200,7 @@ gimp_gradients_get_gradient_data (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_get_gradient_data",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-get-gradient-data",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, sample_size,
|
||||
|
|
|
@ -48,7 +48,7 @@ gimp_gradients_popup (const gchar *gradient_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, gradient_callback,
|
||||
GIMP_PDB_STRING, popup_title,
|
||||
|
@ -80,7 +80,7 @@ gimp_gradients_close_popup (const gchar *gradient_callback)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_close_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-close-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, gradient_callback,
|
||||
GIMP_PDB_END);
|
||||
|
@ -111,7 +111,7 @@ gimp_gradients_set_popup (const gchar *gradient_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_gradients_set_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-gradients-set-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, gradient_callback,
|
||||
GIMP_PDB_STRING, gradient_name,
|
||||
|
|
|
@ -46,7 +46,7 @@ gimp_image_add_hguide (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 guide_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_add_hguide",
|
||||
return_vals = gimp_run_procedure ("gimp-image-add-hguide",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, yposition,
|
||||
|
@ -81,7 +81,7 @@ gimp_image_add_vguide (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 guide_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_add_vguide",
|
||||
return_vals = gimp_run_procedure ("gimp-image-add-vguide",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, xposition,
|
||||
|
@ -115,7 +115,7 @@ gimp_image_delete_guide (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_delete_guide",
|
||||
return_vals = gimp_run_procedure ("gimp-image-delete-guide",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, guide_ID,
|
||||
|
@ -151,7 +151,7 @@ gimp_image_find_next_guide (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 next_guide_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_find_next_guide",
|
||||
return_vals = gimp_run_procedure ("gimp-image-find-next-guide",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, guide_ID,
|
||||
|
@ -185,7 +185,7 @@ gimp_image_get_guide_orientation (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
GimpOrientationType orientation = GIMP_ORIENTATION_UNKNOWN;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_guide_orientation",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-guide-orientation",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, guide_ID,
|
||||
|
@ -219,7 +219,7 @@ gimp_image_get_guide_position (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint position = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_guide_position",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-guide-position",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, guide_ID,
|
||||
|
|
|
@ -49,7 +49,7 @@ gimp_help (const gchar *help_domain,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_help",
|
||||
return_vals = gimp_run_procedure ("gimp-help",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, help_domain,
|
||||
GIMP_PDB_STRING, help_id,
|
||||
|
|
|
@ -45,7 +45,7 @@ gimp_image_list (gint *num_images)
|
|||
gint nreturn_vals;
|
||||
gint *image_ids = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_list",
|
||||
return_vals = gimp_run_procedure ("gimp-image-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -90,7 +90,7 @@ gimp_image_new (gint width,
|
|||
gint nreturn_vals;
|
||||
gint32 image_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_new",
|
||||
return_vals = gimp_run_procedure ("gimp-image-new",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, width,
|
||||
GIMP_PDB_INT32, height,
|
||||
|
@ -123,7 +123,7 @@ gimp_image_duplicate (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 new_image_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_duplicate",
|
||||
return_vals = gimp_run_procedure ("gimp-image-duplicate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -158,7 +158,7 @@ gimp_image_delete (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-image-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -188,7 +188,7 @@ gimp_image_base_type (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
GimpImageBaseType base_type = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_base_type",
|
||||
return_vals = gimp_run_procedure ("gimp-image-base-type",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -219,7 +219,7 @@ gimp_image_width (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint width = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_width",
|
||||
return_vals = gimp_run_procedure ("gimp-image-width",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -250,7 +250,7 @@ gimp_image_height (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint height = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_height",
|
||||
return_vals = gimp_run_procedure ("gimp-image-height",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -282,7 +282,7 @@ gimp_image_free_shadow (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_free_shadow",
|
||||
return_vals = gimp_run_procedure ("gimp-image-free-shadow",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -326,7 +326,7 @@ gimp_image_resize (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_resize",
|
||||
return_vals = gimp_run_procedure ("gimp-image-resize",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, new_width,
|
||||
|
@ -364,7 +364,7 @@ gimp_image_resize_to_layers (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_resize_to_layers",
|
||||
return_vals = gimp_run_procedure ("gimp-image-resize-to-layers",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -404,7 +404,7 @@ gimp_image_scale (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_scale",
|
||||
return_vals = gimp_run_procedure ("gimp-image-scale",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, new_width,
|
||||
|
@ -448,7 +448,7 @@ gimp_image_crop (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_crop",
|
||||
return_vals = gimp_run_procedure ("gimp-image-crop",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, new_width,
|
||||
|
@ -483,7 +483,7 @@ gimp_image_flip (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_flip",
|
||||
return_vals = gimp_run_procedure ("gimp-image-flip",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, flip_type,
|
||||
|
@ -515,7 +515,7 @@ gimp_image_rotate (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_rotate",
|
||||
return_vals = gimp_run_procedure ("gimp-image-rotate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, rotate_type,
|
||||
|
@ -548,7 +548,7 @@ gimp_image_get_layers (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint *layer_ids = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_layers",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-layers",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -589,7 +589,7 @@ gimp_image_get_channels (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint *channel_ids = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_channels",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-channels",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -631,7 +631,7 @@ gimp_image_get_vectors (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint *vector_ids = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_vectors",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-vectors",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -673,7 +673,7 @@ gimp_image_get_active_drawable (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_active_drawable",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-active-drawable",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -706,7 +706,7 @@ gimp_image_unset_active_channel (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_unset_active_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-unset-active-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -736,7 +736,7 @@ gimp_image_get_floating_sel (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 floating_sel_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_floating_sel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-floating-sel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -768,7 +768,7 @@ gimp_image_floating_sel_attached_to (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 drawable_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_floating_sel_attached_to",
|
||||
return_vals = gimp_run_procedure ("gimp-image-floating-sel-attached-to",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -823,7 +823,7 @@ gimp_image_pick_color (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_pick_color",
|
||||
return_vals = gimp_run_procedure ("gimp-image-pick-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
|
@ -869,7 +869,7 @@ gimp_image_pick_correlate_layer (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_pick_correlate_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-image-pick-correlate-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, x,
|
||||
|
@ -909,7 +909,7 @@ gimp_image_add_layer (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_add_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-image-add-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
|
@ -946,7 +946,7 @@ gimp_image_remove_layer (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_remove_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-image-remove-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
|
@ -980,7 +980,7 @@ gimp_image_raise_layer (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_raise_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-image-raise-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
|
@ -1014,7 +1014,7 @@ gimp_image_lower_layer (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_lower_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-image-lower-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
|
@ -1048,7 +1048,7 @@ gimp_image_raise_layer_to_top (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_raise_layer_to_top",
|
||||
return_vals = gimp_run_procedure ("gimp-image-raise-layer-to-top",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
|
@ -1083,7 +1083,7 @@ gimp_image_lower_layer_to_bottom (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_lower_layer_to_bottom",
|
||||
return_vals = gimp_run_procedure ("gimp-image-lower-layer-to-bottom",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
|
@ -1119,7 +1119,7 @@ gimp_image_add_channel (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_add_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-add-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
|
@ -1153,7 +1153,7 @@ gimp_image_remove_channel (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_remove_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-remove-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
|
@ -1187,7 +1187,7 @@ gimp_image_raise_channel (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_raise_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-raise-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_CHANNEL, channel_ID,
|
||||
|
@ -1221,7 +1221,7 @@ gimp_image_lower_channel (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_lower_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-lower-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
|
@ -1254,7 +1254,7 @@ gimp_image_flatten (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_flatten",
|
||||
return_vals = gimp_run_procedure ("gimp-image-flatten",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1291,7 +1291,7 @@ gimp_image_merge_visible_layers (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_merge_visible_layers",
|
||||
return_vals = gimp_run_procedure ("gimp-image-merge-visible-layers",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, merge_type,
|
||||
|
@ -1332,7 +1332,7 @@ gimp_image_merge_down (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_merge_down",
|
||||
return_vals = gimp_run_procedure ("gimp-image-merge-down",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, merge_layer_ID,
|
||||
|
@ -1370,7 +1370,7 @@ _gimp_image_get_colormap (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
guint8 *colormap = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_colormap",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-colormap",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1415,7 +1415,7 @@ _gimp_image_set_colormap (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_colormap",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-colormap",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, num_bytes,
|
||||
|
@ -1450,7 +1450,7 @@ gimp_image_clean_all (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_clean_all",
|
||||
return_vals = gimp_run_procedure ("gimp-image-clean-all",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1480,7 +1480,7 @@ gimp_image_is_dirty (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean dirty = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_is_dirty",
|
||||
return_vals = gimp_run_procedure ("gimp-image-is-dirty",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1527,7 +1527,7 @@ _gimp_image_thumbnail (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_thumbnail",
|
||||
return_vals = gimp_run_procedure ("gimp-image-thumbnail",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, width,
|
||||
|
@ -1577,7 +1577,7 @@ gimp_image_get_active_layer (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 active_layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_active_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-active-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1612,7 +1612,7 @@ gimp_image_set_active_layer (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_active_layer",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-active-layer",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_LAYER, active_layer_ID,
|
||||
|
@ -1643,7 +1643,7 @@ gimp_image_get_active_channel (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 active_channel_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_active_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-active-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1678,7 +1678,7 @@ gimp_image_set_active_channel (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_active_channel",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-active-channel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_CHANNEL, active_channel_ID,
|
||||
|
@ -1709,7 +1709,7 @@ gimp_image_get_selection (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 selection_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_selection",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-selection",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1744,7 +1744,7 @@ gimp_image_get_component_active (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean active = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_component_active",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-component-active",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, component,
|
||||
|
@ -1782,7 +1782,7 @@ gimp_image_set_component_active (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_component_active",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-component-active",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, component,
|
||||
|
@ -1819,7 +1819,7 @@ gimp_image_get_component_visible (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean visible = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_component_visible",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-component-visible",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, component,
|
||||
|
@ -1857,7 +1857,7 @@ gimp_image_set_component_visible (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_component_visible",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-component-visible",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, component,
|
||||
|
@ -1890,7 +1890,7 @@ gimp_image_get_filename (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gchar *filename = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_filename",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-filename",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1923,7 +1923,7 @@ gimp_image_set_filename (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_filename",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-filename",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, filename,
|
||||
|
@ -1953,7 +1953,7 @@ gimp_image_get_name (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_name",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-name",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -1988,7 +1988,7 @@ gimp_image_get_resolution (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_resolution",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-resolution",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -2032,7 +2032,7 @@ gimp_image_set_resolution (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_resolution",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-resolution",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_FLOAT, xresolution,
|
||||
|
@ -2066,7 +2066,7 @@ gimp_image_get_unit (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
GimpUnit unit = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_unit",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-unit",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -2101,7 +2101,7 @@ gimp_image_set_unit (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_unit",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-unit",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, unit,
|
||||
|
@ -2133,7 +2133,7 @@ gimp_image_get_tattoo_state (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gint tattoo_state = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_tattoo_state",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-tattoo-state",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -2176,7 +2176,7 @@ gimp_image_set_tattoo_state (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_set_tattoo_state",
|
||||
return_vals = gimp_run_procedure ("gimp-image-set-tattoo-state",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, tattoo_state,
|
||||
|
@ -2209,7 +2209,7 @@ gimp_image_get_layer_by_tattoo (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_layer_by_tattoo",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-layer-by-tattoo",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, tattoo,
|
||||
|
@ -2243,7 +2243,7 @@ gimp_image_get_channel_by_tattoo (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 channel_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_get_channel_by_tattoo",
|
||||
return_vals = gimp_run_procedure ("gimp-image-get-channel-by-tattoo",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, tattoo,
|
||||
|
|
|
@ -59,7 +59,7 @@ _gimp_layer_new (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_new",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-new",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, width,
|
||||
|
@ -101,7 +101,7 @@ gimp_layer_new_from_drawable (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 layer_copy_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_new_from_drawable",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-new-from-drawable",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_IMAGE, dest_image_ID,
|
||||
|
@ -139,7 +139,7 @@ _gimp_layer_copy (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 layer_copy_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_copy",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-copy",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, add_alpha,
|
||||
|
@ -175,7 +175,7 @@ gimp_layer_add_alpha (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_add_alpha",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-add-alpha",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -214,7 +214,7 @@ gimp_layer_scale (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_scale",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-scale",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, new_width,
|
||||
|
@ -257,7 +257,7 @@ gimp_layer_resize (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_resize",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-resize",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, new_width,
|
||||
|
@ -291,7 +291,7 @@ gimp_layer_resize_to_image_size (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_resize_to_image_size",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-resize-to-image-size",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -329,7 +329,7 @@ gimp_layer_translate (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_translate",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-translate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, offx,
|
||||
|
@ -366,7 +366,7 @@ gimp_layer_set_offsets (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_set_offsets",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-set-offsets",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, offx,
|
||||
|
@ -408,7 +408,7 @@ gimp_layer_create_mask (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gint32 mask_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_create_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-create-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, mask_type,
|
||||
|
@ -440,7 +440,7 @@ gimp_layer_get_mask (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 mask_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_get_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-get-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -473,7 +473,7 @@ gimp_layer_from_mask (gint32 mask_ID)
|
|||
gint nreturn_vals;
|
||||
gint32 layer_ID = -1;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_from_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-from-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_CHANNEL, mask_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -510,7 +510,7 @@ gimp_layer_add_mask (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_add_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-add-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_CHANNEL, mask_ID,
|
||||
|
@ -543,7 +543,7 @@ gimp_layer_remove_mask (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_remove_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-remove-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, mode,
|
||||
|
@ -575,7 +575,7 @@ gimp_layer_is_floating_sel (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean is_floating_sel = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_is_floating_sel",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-is-floating-sel",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -606,7 +606,7 @@ gimp_layer_get_lock_alpha (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean lock_alpha = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_get_lock_alpha",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-get-lock-alpha",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -639,7 +639,7 @@ gimp_layer_set_lock_alpha (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_set_lock_alpha",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-set-lock-alpha",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, lock_alpha,
|
||||
|
@ -671,7 +671,7 @@ gimp_layer_get_apply_mask (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean apply_mask = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_get_apply_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-get-apply-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -705,7 +705,7 @@ gimp_layer_set_apply_mask (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_set_apply_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-set-apply-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, apply_mask,
|
||||
|
@ -737,7 +737,7 @@ gimp_layer_get_show_mask (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean show_mask = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_get_show_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-get-show-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -772,7 +772,7 @@ gimp_layer_set_show_mask (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_set_show_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-set-show-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, show_mask,
|
||||
|
@ -804,7 +804,7 @@ gimp_layer_get_edit_mask (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean edit_mask = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_get_edit_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-get-edit-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -839,7 +839,7 @@ gimp_layer_set_edit_mask (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_set_edit_mask",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-set-edit-mask",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, edit_mask,
|
||||
|
@ -869,7 +869,7 @@ gimp_layer_get_opacity (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
gdouble opacity = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_get_opacity",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-get-opacity",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -901,7 +901,7 @@ gimp_layer_set_opacity (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_set_opacity",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-set-opacity",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_FLOAT, opacity,
|
||||
|
@ -931,7 +931,7 @@ gimp_layer_get_mode (gint32 layer_ID)
|
|||
gint nreturn_vals;
|
||||
GimpLayerModeEffects mode = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_get_mode",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-get-mode",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -963,7 +963,7 @@ gimp_layer_set_mode (gint32 layer_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_layer_set_mode",
|
||||
return_vals = gimp_run_procedure ("gimp-layer-set-mode",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_LAYER, layer_ID,
|
||||
GIMP_PDB_INT32, mode,
|
||||
|
|
|
@ -43,7 +43,7 @@ gimp_message (const gchar *message)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_message",
|
||||
return_vals = gimp_run_procedure ("gimp-message",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, message,
|
||||
GIMP_PDB_END);
|
||||
|
@ -73,7 +73,7 @@ gimp_message_get_handler (void)
|
|||
gint nreturn_vals;
|
||||
GimpMessageHandlerType handler = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_message_get_handler",
|
||||
return_vals = gimp_run_procedure ("gimp-message-get-handler",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -104,7 +104,7 @@ gimp_message_set_handler (GimpMessageHandlerType handler)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_message_set_handler",
|
||||
return_vals = gimp_run_procedure ("gimp-message-set-handler",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_INT32, handler,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -42,7 +42,7 @@ gimp_version (void)
|
|||
gint nreturn_vals;
|
||||
gchar *version = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_version",
|
||||
return_vals = gimp_run_procedure ("gimp-version",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -72,7 +72,7 @@ gimp_getpid (void)
|
|||
gint nreturn_vals;
|
||||
gint pid = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_getpid",
|
||||
return_vals = gimp_run_procedure ("gimp-getpid",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ gimp_airbrush (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_airbrush",
|
||||
return_vals = gimp_run_procedure ("gimp-airbrush",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, pressure,
|
||||
|
@ -92,7 +92,7 @@ gimp_airbrush_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_airbrush_default",
|
||||
return_vals = gimp_run_procedure ("gimp-airbrush-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -146,7 +146,7 @@ gimp_clone (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_clone",
|
||||
return_vals = gimp_run_procedure ("gimp-clone",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_DRAWABLE, src_drawable_ID,
|
||||
|
@ -190,7 +190,7 @@ gimp_clone_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_clone_default",
|
||||
return_vals = gimp_run_procedure ("gimp-clone-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -232,7 +232,7 @@ gimp_convolve (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_convolve",
|
||||
return_vals = gimp_run_procedure ("gimp-convolve",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, pressure,
|
||||
|
@ -273,7 +273,7 @@ gimp_convolve_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_convolve_default",
|
||||
return_vals = gimp_run_procedure ("gimp-convolve-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -314,7 +314,7 @@ gimp_dodgeburn (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_dodgeburn",
|
||||
return_vals = gimp_run_procedure ("gimp-dodgeburn",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, exposure,
|
||||
|
@ -355,7 +355,7 @@ gimp_dodgeburn_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_dodgeburn_default",
|
||||
return_vals = gimp_run_procedure ("gimp-dodgeburn-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -398,7 +398,7 @@ gimp_eraser (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_eraser",
|
||||
return_vals = gimp_run_procedure ("gimp-eraser",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -439,7 +439,7 @@ gimp_eraser_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_eraser_default",
|
||||
return_vals = gimp_run_procedure ("gimp-eraser-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -490,7 +490,7 @@ gimp_paintbrush (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_paintbrush",
|
||||
return_vals = gimp_run_procedure ("gimp-paintbrush",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, fade_out,
|
||||
|
@ -541,7 +541,7 @@ gimp_paintbrush_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_paintbrush_default",
|
||||
return_vals = gimp_run_procedure ("gimp-paintbrush-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -581,7 +581,7 @@ gimp_pencil (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_pencil",
|
||||
return_vals = gimp_run_procedure ("gimp-pencil",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
@ -620,7 +620,7 @@ gimp_smudge (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_smudge",
|
||||
return_vals = gimp_run_procedure ("gimp-smudge",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_FLOAT, pressure,
|
||||
|
@ -659,7 +659,7 @@ gimp_smudge_default (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_smudge_default",
|
||||
return_vals = gimp_run_procedure ("gimp-smudge-default",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_INT32, num_strokes,
|
||||
|
|
|
@ -44,7 +44,7 @@ gimp_palette_new (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_new",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-new",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -76,7 +76,7 @@ gimp_palette_duplicate (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_duplicate",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-duplicate",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -110,7 +110,7 @@ gimp_palette_rename (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_rename",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-rename",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_STRING, new_name,
|
||||
|
@ -143,7 +143,7 @@ gimp_palette_delete (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -174,7 +174,7 @@ gimp_palette_is_editable (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean editable = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_is_editable",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-is-editable",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -209,7 +209,7 @@ gimp_palette_get_info (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_get_info",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-get-info",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -246,7 +246,7 @@ gimp_palette_get_columns (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gint num_columns = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_get_columns",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-get-columns",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -282,7 +282,7 @@ gimp_palette_set_columns (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_set_columns",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-set-columns",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, columns,
|
||||
|
@ -321,7 +321,7 @@ gimp_palette_add_entry (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_add_entry",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-add-entry",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_STRING, entry_name,
|
||||
|
@ -362,7 +362,7 @@ gimp_palette_delete_entry (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_delete_entry",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-delete-entry",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, entry_num,
|
||||
|
@ -400,7 +400,7 @@ gimp_palette_entry_get_color (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_entry_get_color",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-entry-get-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, entry_num,
|
||||
|
@ -441,7 +441,7 @@ gimp_palette_entry_set_color (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_entry_set_color",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-entry-set-color",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, entry_num,
|
||||
|
@ -480,7 +480,7 @@ gimp_palette_entry_get_name (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_entry_get_name",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-entry-get-name",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, entry_num,
|
||||
|
@ -523,7 +523,7 @@ gimp_palette_entry_set_name (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palette_entry_set_name",
|
||||
return_vals = gimp_run_procedure ("gimp-palette-entry-set-name",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, entry_num,
|
||||
|
|
|
@ -42,7 +42,7 @@ gimp_palettes_refresh (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palettes_refresh",
|
||||
return_vals = gimp_run_procedure ("gimp-palettes-refresh",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -62,7 +62,7 @@ gimp_palettes_refresh (void)
|
|||
*
|
||||
* This procedure returns a complete listing of available palettes.
|
||||
* Each name returned can be used as input to the command
|
||||
* 'gimp_context_set_palette'.
|
||||
* 'gimp-context-set-palette'.
|
||||
*
|
||||
* Returns: The list of palette names.
|
||||
*/
|
||||
|
@ -75,7 +75,7 @@ gimp_palettes_get_list (const gchar *filter,
|
|||
gchar **palette_list = NULL;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palettes_get_list",
|
||||
return_vals = gimp_run_procedure ("gimp-palettes-get-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, filter,
|
||||
GIMP_PDB_END);
|
||||
|
@ -111,7 +111,7 @@ gimp_palettes_get_palette (gint *num_colors)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palettes_get_palette",
|
||||
return_vals = gimp_run_procedure ("gimp-palettes-get-palette",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -148,7 +148,7 @@ gimp_palettes_get_palette_entry (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palettes_get_palette_entry",
|
||||
return_vals = gimp_run_procedure ("gimp-palettes-get-palette-entry",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_INT32, entry_num,
|
||||
|
|
|
@ -46,7 +46,7 @@ gimp_palettes_popup (const gchar *palette_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palettes_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-palettes-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, palette_callback,
|
||||
GIMP_PDB_STRING, popup_title,
|
||||
|
@ -77,7 +77,7 @@ gimp_palettes_close_popup (const gchar *palette_callback)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palettes_close_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-palettes-close-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, palette_callback,
|
||||
GIMP_PDB_END);
|
||||
|
@ -108,7 +108,7 @@ gimp_palettes_set_popup (const gchar *palette_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_palettes_set_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-palettes-set-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, palette_callback,
|
||||
GIMP_PDB_STRING, palette_name,
|
||||
|
|
|
@ -43,7 +43,7 @@ gimp_parasite_find (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
GimpParasite *parasite = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_parasite_find",
|
||||
return_vals = gimp_run_procedure ("gimp-parasite-find",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -74,7 +74,7 @@ gimp_parasite_attach (GimpParasite *parasite)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_parasite_attach",
|
||||
return_vals = gimp_run_procedure ("gimp-parasite-attach",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_PARASITE, parasite,
|
||||
GIMP_PDB_END);
|
||||
|
@ -104,7 +104,7 @@ gimp_parasite_detach (const gchar *name)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_parasite_detach",
|
||||
return_vals = gimp_run_procedure ("gimp-parasite-detach",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -136,7 +136,7 @@ gimp_parasite_list (gint *num_parasites,
|
|||
gboolean success = TRUE;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_parasite_list",
|
||||
return_vals = gimp_run_procedure ("gimp-parasite-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -178,7 +178,7 @@ gimp_drawable_parasite_find (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
GimpParasite *parasite = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_parasite_find",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-parasite-find",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -212,7 +212,7 @@ gimp_drawable_parasite_attach (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_parasite_attach",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-parasite-attach",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_PARASITE, parasite,
|
||||
|
@ -245,7 +245,7 @@ gimp_drawable_parasite_detach (gint32 drawable_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_parasite_detach",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-parasite-detach",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -280,7 +280,7 @@ gimp_drawable_parasite_list (gint32 drawable_ID,
|
|||
gboolean success = TRUE;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_drawable_parasite_list",
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-parasite-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -323,7 +323,7 @@ gimp_image_parasite_find (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
GimpParasite *parasite = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_parasite_find",
|
||||
return_vals = gimp_run_procedure ("gimp-image-parasite-find",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -357,7 +357,7 @@ gimp_image_parasite_attach (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_parasite_attach",
|
||||
return_vals = gimp_run_procedure ("gimp-image-parasite-attach",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_PARASITE, parasite,
|
||||
|
@ -390,7 +390,7 @@ gimp_image_parasite_detach (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_parasite_detach",
|
||||
return_vals = gimp_run_procedure ("gimp-image-parasite-detach",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -425,7 +425,7 @@ gimp_image_parasite_list (gint32 image_ID,
|
|||
gboolean success = TRUE;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_image_parasite_list",
|
||||
return_vals = gimp_run_procedure ("gimp-image-parasite-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -47,7 +47,7 @@ gimp_path_list (gint32 image_ID,
|
|||
gchar **path_list = NULL;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_list",
|
||||
return_vals = gimp_run_procedure ("gimp-path-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -84,7 +84,7 @@ gimp_path_get_current (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_get_current",
|
||||
return_vals = gimp_run_procedure ("gimp-path-get-current",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -116,7 +116,7 @@ gimp_path_set_current (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_set_current",
|
||||
return_vals = gimp_run_procedure ("gimp-path-set-current",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -148,7 +148,7 @@ gimp_path_delete (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_delete",
|
||||
return_vals = gimp_run_procedure ("gimp-path-delete",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -186,7 +186,7 @@ gimp_path_get_points (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint path_type = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_get_points",
|
||||
return_vals = gimp_run_procedure ("gimp-path-get-points",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -234,7 +234,7 @@ gimp_path_set_points (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_set_points",
|
||||
return_vals = gimp_run_procedure ("gimp-path-set-points",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -267,7 +267,7 @@ gimp_path_stroke_current (gint32 image_ID)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_stroke_current",
|
||||
return_vals = gimp_run_procedure ("gimp-path-stroke-current",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
@ -307,7 +307,7 @@ gimp_path_get_point_at_dist (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint x_point = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_get_point_at_dist",
|
||||
return_vals = gimp_run_procedure ("gimp-path-get-point-at-dist",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_FLOAT, distance,
|
||||
|
@ -347,7 +347,7 @@ gimp_path_get_tattoo (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gint tattoo = 0;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_get_tattoo",
|
||||
return_vals = gimp_run_procedure ("gimp-path-get-tattoo",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -386,7 +386,7 @@ gimp_path_set_tattoo (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_set_tattoo",
|
||||
return_vals = gimp_run_procedure ("gimp-path-set-tattoo",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -423,7 +423,7 @@ gimp_get_path_by_tattoo (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_get_path_by_tattoo",
|
||||
return_vals = gimp_run_procedure ("gimp-get-path-by-tattoo",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_INT32, tattoo,
|
||||
|
@ -458,7 +458,7 @@ gimp_path_get_locked (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean locked = FALSE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_get_locked",
|
||||
return_vals = gimp_run_procedure ("gimp-path-get-locked",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -495,7 +495,7 @@ gimp_path_set_locked (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_set_locked",
|
||||
return_vals = gimp_run_procedure ("gimp-path-set-locked",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -538,7 +538,7 @@ gimp_path_to_selection (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_to_selection",
|
||||
return_vals = gimp_run_procedure ("gimp-path-to-selection",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, name,
|
||||
|
@ -580,7 +580,7 @@ gimp_path_import (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_import",
|
||||
return_vals = gimp_run_procedure ("gimp-path-import",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, filename,
|
||||
|
@ -624,7 +624,7 @@ gimp_path_import_string (gint32 image_ID,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_path_import_string",
|
||||
return_vals = gimp_run_procedure ("gimp-path-import-string",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_STRING, string,
|
||||
|
|
|
@ -53,7 +53,7 @@ gimp_pattern_get_info (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_pattern_get_info",
|
||||
return_vals = gimp_run_procedure ("gimp-pattern-get-info",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
@ -107,7 +107,7 @@ gimp_pattern_get_pixels (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_pattern_get_pixels",
|
||||
return_vals = gimp_run_procedure ("gimp-pattern-get-pixels",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -44,7 +44,7 @@ gimp_patterns_refresh (void)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_patterns_refresh",
|
||||
return_vals = gimp_run_procedure ("gimp-patterns-refresh",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -64,7 +64,7 @@ gimp_patterns_refresh (void)
|
|||
*
|
||||
* This procedure returns a complete listing of available GIMP
|
||||
* patterns. Each name returned can be used as input to the
|
||||
* 'gimp_context_set_pattern'.
|
||||
* 'gimp-context-set-pattern'.
|
||||
*
|
||||
* Returns: The list of pattern names.
|
||||
*/
|
||||
|
@ -77,7 +77,7 @@ gimp_patterns_get_list (const gchar *filter,
|
|||
gchar **pattern_list = NULL;
|
||||
gint i;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_patterns_get_list",
|
||||
return_vals = gimp_run_procedure ("gimp-patterns-get-list",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, filter,
|
||||
GIMP_PDB_END);
|
||||
|
@ -115,7 +115,7 @@ gimp_patterns_get_pattern (gint *width,
|
|||
gint nreturn_vals;
|
||||
gchar *name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_patterns_get_pattern",
|
||||
return_vals = gimp_run_procedure ("gimp-patterns-get-pattern",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_END);
|
||||
|
||||
|
@ -156,7 +156,7 @@ gimp_patterns_get_pattern_data (const gchar *name,
|
|||
gint nreturn_vals;
|
||||
gchar *ret_name = NULL;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_patterns_get_pattern_data",
|
||||
return_vals = gimp_run_procedure ("gimp-patterns-get-pattern-data",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, name,
|
||||
GIMP_PDB_END);
|
||||
|
|
|
@ -46,7 +46,7 @@ gimp_patterns_popup (const gchar *pattern_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_patterns_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-patterns-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, pattern_callback,
|
||||
GIMP_PDB_STRING, popup_title,
|
||||
|
@ -77,7 +77,7 @@ gimp_patterns_close_popup (const gchar *pattern_callback)
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_patterns_close_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-patterns-close-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, pattern_callback,
|
||||
GIMP_PDB_END);
|
||||
|
@ -108,7 +108,7 @@ gimp_patterns_set_popup (const gchar *pattern_callback,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_patterns_set_popup",
|
||||
return_vals = gimp_run_procedure ("gimp-patterns-set-popup",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, pattern_callback,
|
||||
GIMP_PDB_STRING, pattern_name,
|
||||
|
|
|
@ -51,7 +51,7 @@ gimp_plugin_domain_register (const gchar *domain_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_plugin_domain_register",
|
||||
return_vals = gimp_run_procedure ("gimp-plugin-domain-register",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, domain_name,
|
||||
GIMP_PDB_STRING, domain_path,
|
||||
|
@ -85,7 +85,7 @@ gimp_plugin_help_register (const gchar *domain_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_plugin_help_register",
|
||||
return_vals = gimp_run_procedure ("gimp-plugin-help-register",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, domain_name,
|
||||
GIMP_PDB_STRING, domain_uri,
|
||||
|
@ -120,7 +120,7 @@ gimp_plugin_menu_register (const gchar *procedure_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_plugin_menu_register",
|
||||
return_vals = gimp_run_procedure ("gimp-plugin-menu-register",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, procedure_name,
|
||||
GIMP_PDB_STRING, menu_path,
|
||||
|
@ -155,7 +155,7 @@ gimp_plugin_menu_branch_register (const gchar *menu_path,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_plugin_menu_branch_register",
|
||||
return_vals = gimp_run_procedure ("gimp-plugin-menu-branch-register",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, menu_path,
|
||||
GIMP_PDB_STRING, menu_name,
|
||||
|
@ -193,7 +193,7 @@ _gimp_plugin_icon_register (const gchar *procedure_name,
|
|||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp_plugin_icon_register",
|
||||
return_vals = gimp_run_procedure ("gimp-plugin-icon-register",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_STRING, procedure_name,
|
||||
GIMP_PDB_INT32, icon_type,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue