mirror of https://github.com/GNOME/gimp.git
app, pdb: split GimpProcedure's "strings" into "help" and "attribution"
This commit is contained in:
parent
26c8286675
commit
6b0486174d
|
@ -443,11 +443,12 @@ gimp_gegl_procedure_new (Gimp *gimp,
|
|||
|
||||
gimp_object_set_name (GIMP_OBJECT (procedure), name);
|
||||
gimp_viewable_set_icon_name (GIMP_VIEWABLE (procedure), icon_name);
|
||||
gimp_procedure_set_strings (procedure,
|
||||
tooltip,
|
||||
tooltip,
|
||||
NULL,
|
||||
"author", "copyright", "date");
|
||||
gimp_procedure_set_help (procedure,
|
||||
tooltip,
|
||||
tooltip,
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"author", "copyright", "date");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("run-mode",
|
||||
|
|
|
@ -69,16 +69,17 @@ file_data_init (Gimp *gimp)
|
|||
gimp_plug_in_procedure_set_handles_remote (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "file-gbr-load");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Loads GIMP brushes",
|
||||
"Loads GIMP brushes (1 or 4 bpp "
|
||||
"and old .gpb format)",
|
||||
NULL,
|
||||
"Tim Newsome, Jens Lautenbacher, "
|
||||
"Sven Neumann, Michael Natterer",
|
||||
"Tim Newsome, Jens Lautenbacher, "
|
||||
"Sven Neumann, Michael Natterer",
|
||||
"1995-2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Loads GIMP brushes",
|
||||
"Loads GIMP brushes (1 or 4 bpp "
|
||||
"and old .gpb format)",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Tim Newsome, Jens Lautenbacher, "
|
||||
"Sven Neumann, Michael Natterer",
|
||||
"Tim Newsome, Jens Lautenbacher, "
|
||||
"Sven Neumann, Michael Natterer",
|
||||
"1995-2019");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
@ -139,13 +140,14 @@ file_data_init (Gimp *gimp)
|
|||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"file-gbr-save-internal");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Exports Gimp brush file (.GBR)",
|
||||
"Exports Gimp brush file (.GBR)",
|
||||
NULL,
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"1995-2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Exports Gimp brush file (.GBR)",
|
||||
"Exports Gimp brush file (.GBR)",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"1995-2019");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
@ -221,14 +223,15 @@ file_data_init (Gimp *gimp)
|
|||
gimp_plug_in_procedure_set_handles_remote (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "file-gih-load");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Loads GIMP animated brushes",
|
||||
"This procedure loads a GIMP brush "
|
||||
"pipe as an image.",
|
||||
NULL,
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"1999-2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Loads GIMP animated brushes",
|
||||
"This procedure loads a GIMP brush "
|
||||
"pipe as an image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"1999-2019");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
@ -289,13 +292,14 @@ file_data_init (Gimp *gimp)
|
|||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"file-gih-save-internal");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Exports Gimp animated brush file (.gih)",
|
||||
"Exports Gimp animated brush file (.gih)",
|
||||
NULL,
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"1999-2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Exports Gimp animated brush file (.gih)",
|
||||
"Exports Gimp animated brush file (.gih)",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"Tor Lillqvist, Michael Natterer",
|
||||
"1999-2019");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
@ -379,13 +383,14 @@ file_data_init (Gimp *gimp)
|
|||
gimp_plug_in_procedure_set_handles_remote (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "file-pat-load");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Loads GIMP patterns",
|
||||
"Loads GIMP patterns",
|
||||
NULL,
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"1997-2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Loads GIMP patterns",
|
||||
"Loads GIMP patterns",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"1997-2019");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
@ -445,13 +450,14 @@ file_data_init (Gimp *gimp)
|
|||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"file-pat-save-internal");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Exports Gimp pattern file (.PAT)",
|
||||
"Exports Gimp pattern file (.PAT)",
|
||||
NULL,
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"1995-2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Exports Gimp pattern file (.PAT)",
|
||||
"Exports Gimp pattern file (.PAT)",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"Tim Newsome, Michael Natterer",
|
||||
"1995-2019");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
@ -523,11 +529,12 @@ file_data_init (Gimp *gimp)
|
|||
gimp_plug_in_procedure_set_handles_remote (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "file-gex-load");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Loads GIMP extension",
|
||||
"Loads GIMP extension",
|
||||
NULL,
|
||||
"Jehan", "Jehan", "2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Loads GIMP extension",
|
||||
"Loads GIMP extension",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jehan", "Jehan", "2019");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
|
|
@ -920,13 +920,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Creates a new brush.",
|
||||
"This procedure creates a new, uninitialized brush.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Creates a new brush.",
|
||||
"This procedure creates a new, uninitialized brush.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -950,13 +951,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_duplicate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-duplicate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Duplicates a brush.",
|
||||
"This procedure creates an identical brush by a different name.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Duplicates a brush.",
|
||||
"This procedure creates an identical brush by a different name.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -980,13 +982,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_is_generated_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-is-generated");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Tests if brush is generated.",
|
||||
"Returns TRUE if this brush is parametric, FALSE for other types.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Tests if brush is generated.",
|
||||
"Returns TRUE if this brush is parametric, FALSE for other types.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1009,13 +1012,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_rename_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-rename");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Renames a brush.",
|
||||
"This procedure renames a brush.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Renames a brush.",
|
||||
"This procedure renames a brush.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1046,13 +1050,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_delete_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-delete");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Deletes a brush.",
|
||||
"This procedure deletes a brush.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Deletes a brush.",
|
||||
"This procedure deletes a brush.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1069,13 +1074,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_is_editable_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-is-editable");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Tests if brush can be edited.",
|
||||
"Returns TRUE if you have permission to change the brush.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Tests if brush can be edited.",
|
||||
"Returns TRUE if you have permission to change the brush.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1098,13 +1104,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_info_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-info");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves information about the specified brush.",
|
||||
"This procedure retrieves information about the specified brush: brush extents (width and height), color depth and mask depth.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves information about the specified brush.",
|
||||
"This procedure retrieves information about the specified brush: brush extents (width and height), color depth and mask depth.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1145,13 +1152,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_pixels_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-pixels");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves 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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1214,13 +1222,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets 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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1243,13 +1252,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_set_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-set-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the brush spacing.",
|
||||
"This procedure modifies the spacing setting for the specified brush. The value should be a integer between 0 and 1000.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the brush spacing.",
|
||||
"This procedure modifies the spacing setting for the specified brush. The value should be a integer between 0 and 1000.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1272,13 +1282,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_shape_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-shape");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1302,13 +1313,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_set_shape_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-set-shape");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1339,13 +1351,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_radius_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-radius");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1368,13 +1381,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_set_radius_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-set-radius");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1403,13 +1417,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_spikes_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-spikes");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1432,13 +1447,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_set_spikes_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-set-spikes");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1467,13 +1483,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_hardness_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-hardness");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets 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, as a float between 0.0 and 1.0. If called for any other type of brush, the function does not succeed.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets 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, as a float between 0.0 and 1.0. If called for any other type of brush, the function does not succeed.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1496,13 +1513,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_set_hardness_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-set-hardness");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets 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. The value should be a float between 0.0 and 1.0.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets 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. The value should be a float between 0.0 and 1.0.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1531,13 +1549,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_aspect_ratio_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-aspect-ratio");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets 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. The return value is a float between 0.0 and 1000.0.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets 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. The return value is a float between 0.0 and 1000.0.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1560,13 +1579,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_set_aspect_ratio_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-set-aspect-ratio");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets 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. The value should be a float between 0.0 and 1000.0.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets 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. The value should be a float between 0.0 and 1000.0.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1595,13 +1615,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_get_angle_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-get-angle");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1624,13 +1645,14 @@ register_brush_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brush_set_angle_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brush-set-angle");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets 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.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
|
|
@ -158,13 +158,14 @@ register_brush_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brushes_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brushes-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Invokes the Gimp brush selection.",
|
||||
"This procedure opens the brush selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Invokes the Gimp brush selection.",
|
||||
"This procedure opens the brush selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("brush-callback",
|
||||
"brush callback",
|
||||
|
@ -214,13 +215,14 @@ register_brush_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brushes_close_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brushes-close-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Close the brush selection dialog.",
|
||||
"This procedure closes an opened brush selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Close the brush selection dialog.",
|
||||
"This procedure closes an opened brush selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("brush-callback",
|
||||
"brush callback",
|
||||
|
@ -237,13 +239,14 @@ register_brush_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brushes_set_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brushes-set-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the current brush in a brush selection dialog.",
|
||||
"Sets the current brush in a brush selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the current brush in a brush selection dialog.",
|
||||
"Sets the current brush in a brush selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("brush-callback",
|
||||
"brush callback",
|
||||
|
|
|
@ -101,13 +101,14 @@ register_brushes_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brushes_refresh_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brushes-refresh");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Seth Burgess",
|
||||
"Seth Burgess",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Seth Burgess",
|
||||
"Seth Burgess",
|
||||
"1997");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -117,13 +118,14 @@ register_brushes_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (brushes_get_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-brushes-get-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filter",
|
||||
"filter",
|
||||
|
|
|
@ -293,13 +293,14 @@ register_buffer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (buffers_get_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-buffers-get-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieve a complete listing of the available buffers.",
|
||||
"This procedure returns a complete listing of available named buffers.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieve a complete listing of the available buffers.",
|
||||
"This procedure returns a complete listing of available named buffers.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filter",
|
||||
"filter",
|
||||
|
@ -327,13 +328,14 @@ register_buffer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (buffer_rename_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-buffer-rename");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Renames a named buffer.",
|
||||
"This procedure renames a named buffer.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Renames a named buffer.",
|
||||
"This procedure renames a named buffer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("buffer-name",
|
||||
"buffer name",
|
||||
|
@ -364,13 +366,14 @@ register_buffer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (buffer_delete_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-buffer-delete");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Deletes a named buffer.",
|
||||
"This procedure deletes a named buffer.",
|
||||
NULL,
|
||||
"David Gowers <neota@softhome.net>",
|
||||
"David Gowers <neota@softhome.net>",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Deletes a named buffer.",
|
||||
"This procedure deletes a named buffer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"David Gowers <neota@softhome.net>",
|
||||
"David Gowers <neota@softhome.net>",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("buffer-name",
|
||||
"buffer name",
|
||||
|
@ -387,13 +390,14 @@ register_buffer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (buffer_get_width_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-buffer-get-width");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the specified buffer's width.",
|
||||
"This procedure retrieves the specified named buffer's width.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the specified buffer's width.",
|
||||
"This procedure retrieves the specified named buffer's width.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("buffer-name",
|
||||
"buffer name",
|
||||
|
@ -416,13 +420,14 @@ register_buffer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (buffer_get_height_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-buffer-get-height");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the specified buffer's height.",
|
||||
"This procedure retrieves the specified named buffer's height.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the specified buffer's height.",
|
||||
"This procedure retrieves the specified named buffer's height.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("buffer-name",
|
||||
"buffer name",
|
||||
|
@ -445,13 +450,14 @@ register_buffer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (buffer_get_bytes_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-buffer-get-bytes");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the specified buffer's bytes.",
|
||||
"This procedure retrieves the specified named buffer's bytes.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the specified buffer's bytes.",
|
||||
"This procedure retrieves the specified named buffer's bytes.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("buffer-name",
|
||||
"buffer name",
|
||||
|
@ -474,13 +480,14 @@ register_buffer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (buffer_get_image_type_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-buffer-get-image-type");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the specified buffer's image type.",
|
||||
"This procedure retrieves the specified named buffer's image type.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the specified buffer's image type.",
|
||||
"This procedure retrieves the specified named buffer's image type.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("buffer-name",
|
||||
"buffer name",
|
||||
|
|
|
@ -379,15 +379,16 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Create a new channel.",
|
||||
"This procedure creates a new channel with the specified width, height, name, opacity and color.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Create a new channel.",
|
||||
"This procedure creates a new channel with the specified width, height, name, opacity and color.\n"
|
||||
"The new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'. Other attributes, such as channel visibility, should be set with explicit procedure calls.\n"
|
||||
"The channel's contents are undefined initially.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -441,14 +442,15 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_new_from_component_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-new-from-component");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Create a new channel from a color component",
|
||||
"This procedure creates a new channel from a color component.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Create a new channel from a color component",
|
||||
"This procedure creates a new channel from a color component.\n"
|
||||
"The new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'. Other attributes, such as channel visibility, should be set with explicit procedure calls.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2005");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -484,14 +486,15 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_copy_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-copy");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Copy a channel.",
|
||||
"This procedure copies the specified channel and returns the copy.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Copy a channel.",
|
||||
"This procedure copies the specified channel and returns the copy.\n"
|
||||
"The new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel",
|
||||
"channel",
|
||||
|
@ -513,13 +516,14 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_combine_masks_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-combine-masks");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Combine two channel masks.",
|
||||
"This procedure combines two channel masks. The result is stored in the first channel.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Combine two channel masks.",
|
||||
"This procedure combines two channel masks. The result is stored in the first channel.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel1",
|
||||
"channel1",
|
||||
|
@ -560,13 +564,14 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_get_show_masked_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-get-show-masked");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the composite method of the specified channel.",
|
||||
"This procedure returns the specified channel's composite method. If it is TRUE, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the composite method of the specified channel.",
|
||||
"This procedure returns the specified channel's composite method. If it is TRUE, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel",
|
||||
"channel",
|
||||
|
@ -588,13 +593,14 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_set_show_masked_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-set-show-masked");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the composite method of the specified channel.",
|
||||
"This procedure sets the specified channel's composite method. If it is TRUE, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the composite method of the specified channel.",
|
||||
"This procedure sets the specified channel's composite method. If it is TRUE, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel",
|
||||
"channel",
|
||||
|
@ -616,13 +622,14 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_get_opacity_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-get-opacity");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the opacity of the specified channel.",
|
||||
"This procedure returns the specified channel's opacity.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the opacity of the specified channel.",
|
||||
"This procedure returns the specified channel's opacity.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel",
|
||||
"channel",
|
||||
|
@ -644,13 +651,14 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_set_opacity_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-set-opacity");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the opacity of the specified channel.",
|
||||
"This procedure sets the specified channel's opacity.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the opacity of the specified channel.",
|
||||
"This procedure sets the specified channel's opacity.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel",
|
||||
"channel",
|
||||
|
@ -672,13 +680,14 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_get_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-get-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the compositing color of the specified channel.",
|
||||
"This procedure returns the specified channel's compositing color.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the compositing color of the specified channel.",
|
||||
"This procedure returns the specified channel's compositing color.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel",
|
||||
"channel",
|
||||
|
@ -701,13 +710,14 @@ register_channel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (channel_set_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-channel-set-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the compositing color of the specified channel.",
|
||||
"This procedure sets the specified channel's compositing color.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the compositing color of the specified channel.",
|
||||
"This procedure sets the specified channel's compositing color.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_channel ("channel",
|
||||
"channel",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -98,16 +98,17 @@ register_debug_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (debug_timer_start_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-debug-timer-start");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Starts measuring elapsed time.",
|
||||
"This procedure starts a timer, measuring the elapsed time since the call. Each call to this procedure should be matched by a call to 'gimp-debug-timer-end', which returns the elapsed time.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Starts measuring elapsed time.",
|
||||
"This procedure starts a timer, measuring the elapsed time since the call. Each call to this procedure should be matched by a call to 'gimp-debug-timer-end', which returns the elapsed time.\n"
|
||||
"If there is already an active timer, it is not affected by the call, however, a matching 'gimp-debug-timer-end' call is still required.\n"
|
||||
"\n"
|
||||
"This is a debug utility procedure. It is subject to change at any point, and should not be used in production.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -117,16 +118,17 @@ register_debug_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (debug_timer_end_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-debug-timer-end");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Finishes measuring elapsed time.",
|
||||
"This procedure stops the timer started by a previous 'gimp-debug-timer-start' call, and prints and returns the elapsed time.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Finishes measuring elapsed time.",
|
||||
"This procedure stops the timer started by a previous 'gimp-debug-timer-start' call, and prints and returns the elapsed time.\n"
|
||||
"If there was already an active timer at the time of corresponding call to 'gimp-debug-timer-start', a dummy value is returned.\n"
|
||||
"\n"
|
||||
"This is a debug utility procedure. It is subject to change at any point, and should not be used in production.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_double ("elapsed",
|
||||
"elapsed",
|
||||
|
|
|
@ -219,13 +219,14 @@ register_display_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (display_id_is_valid_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-display-id-is-valid");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns TRUE if the display ID is valid.",
|
||||
"This procedure checks if the given display ID is valid and refers to an existing display.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2007");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns TRUE if the display ID is valid.",
|
||||
"This procedure checks if the given display ID is valid and refers to an existing display.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2007");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("display-id",
|
||||
"display id",
|
||||
|
@ -247,13 +248,14 @@ register_display_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (display_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-display-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 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, and will result in an execution error if called when GIMP has no UI.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 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, and will result in an execution error if called when GIMP has no UI.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -275,13 +277,14 @@ register_display_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (display_delete_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-display-delete");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. Note that the display is closed no matter if the image is dirty or not. Better save the image before calling this procedure.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. Note that the display is closed no matter if the image is dirty or not. Better save the image before calling this procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_display ("display",
|
||||
"display",
|
||||
|
@ -297,13 +300,14 @@ register_display_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (display_get_window_handle_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-display-get-window-handle");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get a handle to the native window for an image display.",
|
||||
"This procedure returns a handle to the native window for a given image display. For example in the X backend of GDK, a native window handle is an Xlib XID. A value of 0 is returned for an invalid display or if this function is unimplemented for the windowing system that is being used.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get a handle to the native window for an image display.",
|
||||
"This procedure returns a handle to the native window for a given image display. For example in the X backend of GDK, a native window handle is an Xlib XID. A value of 0 is returned for an invalid display or if this function is unimplemented for the windowing system that is being used.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_display ("display",
|
||||
"display",
|
||||
|
@ -325,13 +329,14 @@ register_display_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (displays_flush_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-displays-flush");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -341,13 +346,14 @@ register_display_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (displays_reconnect_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-displays-reconnect");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("old-image",
|
||||
"old image",
|
||||
|
|
|
@ -978,14 +978,15 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_get_format_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-get-format");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the drawable's Babl format",
|
||||
"This procedure returns the drawable's Babl format.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the drawable's Babl format",
|
||||
"This procedure returns the drawable's Babl format.\n"
|
||||
"Note that the actual PDB procedure only transfers the format's encoding. In order to get to the real format, the libbgimp C wrapper must be used.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1008,14 +1009,15 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_get_thumbnail_format_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-get-thumbnail-format");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the drawable's thumbnail Babl format",
|
||||
"This procedure returns the drawable's thumbnail Babl format.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the drawable's thumbnail Babl format",
|
||||
"This procedure returns the drawable's thumbnail Babl format.\n"
|
||||
"Thumbnails are always 8-bit images, see 'gimp-drawable-thumbnail' and 'gimp-drawable-sub-thmbnail'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1038,13 +1040,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_type_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-type");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the drawable's type.",
|
||||
"This procedure returns the drawable's type.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the drawable's type.",
|
||||
"This procedure returns the drawable's type.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1067,13 +1070,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_type_with_alpha_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-type-with-alpha");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1102,13 +1106,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_has_alpha_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-has-alpha");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns TRUE 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 }.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns TRUE 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 }.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1130,13 +1135,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_is_rgb_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-is-rgb");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the drawable is an RGB type.",
|
||||
"This procedure returns TRUE if the specified drawable is of type { RGB, RGBA }.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the drawable is an RGB type.",
|
||||
"This procedure returns TRUE if the specified drawable is of type { RGB, RGBA }.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1158,13 +1164,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_is_gray_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-is-gray");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the drawable is a grayscale type.",
|
||||
"This procedure returns TRUE if the specified drawable is of type { Gray, GrayA }.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the drawable is a grayscale type.",
|
||||
"This procedure returns TRUE if the specified drawable is of type { Gray, GrayA }.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1186,13 +1193,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_is_indexed_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-is-indexed");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the drawable is an indexed type.",
|
||||
"This procedure returns TRUE if the specified drawable is of type { Indexed, IndexedA }.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the drawable is an indexed type.",
|
||||
"This procedure returns TRUE if the specified drawable is of type { Indexed, IndexedA }.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1214,13 +1222,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_bpp_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-bpp");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the bytes per pixel.",
|
||||
"This procedure returns the number of bytes per pixel.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the bytes per pixel.",
|
||||
"This procedure returns the number of bytes per pixel.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1242,13 +1251,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_width_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-width");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the width of the drawable.",
|
||||
"This procedure returns the specified drawable's width in pixels.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the width of the drawable.",
|
||||
"This procedure returns the specified drawable's width in pixels.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1270,13 +1280,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_height_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-height");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the height of the drawable.",
|
||||
"This procedure returns the specified drawable's height in pixels.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the height of the drawable.",
|
||||
"This procedure returns the specified drawable's height in pixels.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1298,13 +1309,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_offsets_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-offsets");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1332,14 +1344,15 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_mask_bounds_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-mask-bounds");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 right-hand 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 right-hand 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).\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 right-hand 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 right-hand 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).\n"
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1385,14 +1398,15 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_mask_intersect_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-mask-intersect");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.\n"
|
||||
"If there is no selection this function returns TRUE and the returned bounds are the extents of the whole drawable.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1438,13 +1452,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_merge_shadow_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-merge-shadow");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Merge the shadow buffer with the specified drawable.",
|
||||
"This procedure combines the contents of the drawable'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'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Merge the shadow buffer with the specified drawable.",
|
||||
"This procedure combines the contents of the drawable'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'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1466,13 +1481,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_free_shadow_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-free-shadow");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Free the specified drawable'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 when the drawable is removed from the image, or when the plug-in procedure which allocated it returns.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Free the specified drawable'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 when the drawable is removed from the image, or when the plug-in procedure which allocated it returns.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1488,13 +1504,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_update_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-update");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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).",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1534,13 +1551,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_get_pixel_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-get-pixel");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1579,13 +1597,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_set_pixel_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-set-pixel");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1624,14 +1643,15 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_fill_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-fill");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Fill the drawable with the specified fill mode.",
|
||||
"This procedure fills the drawable. 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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Fill the drawable with the specified fill mode.",
|
||||
"This procedure fills the drawable. 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.\n"
|
||||
"This procedure is unlike 'gimp-edit-fill' or the bucket fill tool because it fills regardless of a selection. Its main purpose is to fill a newly created drawable before adding it to the image. This operation cannot be undone.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1654,13 +1674,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_offset_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-offset");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1701,13 +1722,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_thumbnail_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-thumbnail");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 1024 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bytes in the image.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 1024 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bytes in the image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1764,13 +1786,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_sub_thumbnail_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-sub-thumbnail");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 1024 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bytes in the image.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 1024 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bytes in the image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1851,13 +1874,14 @@ register_drawable_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_foreground_extract_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-foreground-extract");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Extract the foreground of a drawable using a given trimap.",
|
||||
"Image Segmentation by Uniform Color Clustering, see https://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf",
|
||||
NULL,
|
||||
"Gerald Friedland <fland@inf.fu-berlin.de>, Kristian Jantz <jantz@inf.fu-berlin.de>, Sven Neumann <sven@gimp.org>",
|
||||
"Gerald Friedland",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Extract the foreground of a drawable using a given trimap.",
|
||||
"Image Segmentation by Uniform Color Clustering, see https://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Gerald Friedland <fland@inf.fu-berlin.de>, Kristian Jantz <jantz@inf.fu-berlin.de>, Sven Neumann <sven@gimp.org>",
|
||||
"Gerald Friedland",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
|
|
@ -736,13 +736,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_brightness_contrast_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-brightness-contrast");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 -0.5 and 0.5.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 -0.5 and 0.5.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -770,13 +771,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_color_balance_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-color-balance");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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, mid-tones, and highlights in an image to be affected differently. The 'preserve-lum' parameter, if TRUE, ensures that the luminosity of each pixel remains fixed.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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, mid-tones, and highlights in an image to be affected differently. The 'preserve-lum' parameter, if TRUE, ensures that the luminosity of each pixel remains fixed.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -823,13 +825,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_colorize_hsl_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-colorize-hsl");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Render the drawable as a grayscale image seen through a colored glass.",
|
||||
"Desaturates the drawable, then tints it with the specified color. This tool is only valid on RGB color images. It will not operate on grayscale drawables.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Render the drawable as a grayscale image seen through a colored glass.",
|
||||
"Desaturates the drawable, then tints it with the specified color. This tool is only valid on RGB color images. It will not operate on grayscale drawables.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -863,13 +866,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_curves_explicit_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-curves-explicit");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Modifies the intensity curve(s) for specified drawable.",
|
||||
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'values' parameter is an array of doubles 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Modifies the intensity curve(s) for specified drawable.",
|
||||
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'values' parameter is an array of doubles 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -903,13 +907,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_curves_spline_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-curves-spline");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Modifies the intensity curve(s) for specified drawable.",
|
||||
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'points' parameter is an array of doubles 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Modifies the intensity curve(s) for specified drawable.",
|
||||
"Modifies the intensity mapping for one channel in the specified drawable. The channel can be either an intensity component, or the value. The 'points' parameter is an array of doubles 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -943,13 +948,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_desaturate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-desaturate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Karine Delvare",
|
||||
"Karine Delvare",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Karine Delvare",
|
||||
"Karine Delvare",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -972,13 +978,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_equalize_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-equalize");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Equalize the contents of the specified drawable.",
|
||||
"This procedure equalizes the contents of the specified drawable. Each intensity channel is equalized independently. The equalized intensity is given as inten' = (255 - inten). 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Equalize the contents of the specified drawable.",
|
||||
"This procedure equalizes the contents of the specified drawable. Each intensity channel is equalized independently. The equalized intensity is given as inten' = (255 - inten). 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1000,13 +1007,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_histogram_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-histogram");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. Second, a range of intensities are specified. The 'gimp-drawable-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. The returned mean, std_dev and median are in the range (0..255) for 8-bit images or if the plug-in is not precision-aware, and in the range (0.0..1.0) otherwise.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. Second, a range of intensities are specified. The 'gimp-drawable-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. The returned mean, std_dev and median are in the range (0..255) for 8-bit images or if the plug-in is not precision-aware, and in the range (0.0..1.0) otherwise.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1077,13 +1085,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_hue_saturation_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-hue-saturation");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Modify hue, lightness, and saturation in the specified drawable.",
|
||||
"This procedure 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. The 'overlap' parameter provides blending into neighboring hue channels when rendering.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Modify hue, lightness, and saturation in the specified drawable.",
|
||||
"This procedure 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. The 'overlap' parameter provides blending into neighboring hue channels when rendering.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1130,13 +1139,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_invert_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-invert");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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). If 'linear' is TRUE, the drawable is inverted in linear space.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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). If 'linear' is TRUE, the drawable is inverted in linear space.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1158,13 +1168,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_levels_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-levels");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1229,13 +1240,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_levels_stretch_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-levels-stretch");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Joao S.O. Bueno, Shawn Willden",
|
||||
"Joao S.O. Bueno, Shawn Willden",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Joao S.O. Bueno, Shawn Willden",
|
||||
"Joao S.O. Bueno, Shawn Willden",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1251,13 +1263,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_posterize_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-posterize");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Posterize the specified drawable.",
|
||||
"This procedures reduces the number of shades allows in each intensity channel to the specified 'levels' parameter.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Posterize the specified drawable.",
|
||||
"This procedures reduces the number of shades allows in each intensity channel to the specified 'levels' parameter.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1279,13 +1292,14 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_threshold_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-threshold");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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', on the scale of 'channel' are replaced with white, and all other pixels with black.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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', on the scale of 'channel' are replaced with white, and all other pixels with black.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
|
|
@ -380,15 +380,16 @@ register_drawable_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_edit_clear_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-edit-clear");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-background'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -404,15 +405,16 @@ register_drawable_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_edit_fill_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-edit-fill");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Fill selected area of drawable.",
|
||||
"This procedure fills the specified drawable according to fill mode. 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'.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Fill selected area of drawable.",
|
||||
"This procedure fills the specified drawable according to fill mode. 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'.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-foreground', 'gimp-context-set-background', 'gimp-context-set-pattern'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis & Raphael Quinet",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-2000");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis & Raphael Quinet",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-2000");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -435,16 +437,17 @@ register_drawable_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_edit_bucket_fill_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-edit-bucket-fill");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Fill the area by a seed fill starting at the specified coordinates.",
|
||||
"This procedure does a seed fill at the specified coordinates, using various parameters from the current context.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Fill the area by a seed fill starting at the specified coordinates.",
|
||||
"This procedure does a seed fill at the specified coordinates, using various parameters from the current context.\n"
|
||||
"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.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-foreground', 'gimp-context-set-background', 'gimp-context-set-pattern', 'gimp-context-set-sample-threshold', 'gimp-context-set-sample-merged', 'gimp-context-set-sample-criterion', 'gimp-context-set-diagonal-neighbors', 'gimp-context-set-antialias'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -479,15 +482,16 @@ register_drawable_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_edit_gradient_fill_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-edit-gradient-fill");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Draw a gradient between the starting and ending coordinates with the specified gradient type.",
|
||||
"This tool requires information on the gradient type. It creates the specified variety of gradient using the starting and ending coordinates as defined for each gradient type. For shapeburst gradient types, the context's distance metric is also relevant and can be updated with 'gimp-context-set-distance-metric'.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Draw a gradient between the starting and ending coordinates with the specified gradient type.",
|
||||
"This tool requires information on the gradient type. It creates the specified variety of gradient using the starting and ending coordinates as defined for each gradient type. For shapeburst gradient types, the context's distance metric is also relevant and can be updated with 'gimp-context-set-distance-metric'.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-foreground', 'gimp-context-set-background', 'gimp-context-set-gradient' and all gradient property settings, 'gimp-context-set-distance-metric'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -564,15 +568,16 @@ register_drawable_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_edit_stroke_selection_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-edit-stroke-selection");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Stroke the current selection",
|
||||
"This procedure strokes the current selection, painting along the selection boundary with the active paint method and brush, or using a plain line with configurable properties. The paint is applied to the specified drawable regardless of the active selection.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Stroke the current selection",
|
||||
"This procedure strokes the current selection, painting along the selection boundary with the active paint method and brush, or using a plain line with configurable properties. The paint is applied to the specified drawable regardless of the active selection.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-paint-method', 'gimp-context-set-stroke-method', 'gimp-context-set-foreground', 'gimp-context-set-brush' and all brush property settings, 'gimp-context-set-gradient' and all gradient property settings, 'gimp-context-set-line-width' and all line property settings, 'gimp-context-set-antialias'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -588,15 +593,16 @@ register_drawable_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (drawable_edit_stroke_item_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-drawable-edit-stroke-item");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Stroke the specified item",
|
||||
"This procedure strokes the specified item, painting along its outline (e.g. along a path, or along a channel's boundary), with the active paint method and brush, or using a plain line with configurable properties.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Stroke the specified item",
|
||||
"This procedure strokes the specified item, painting along its outline (e.g. along a path, or along a channel's boundary), with the active paint method and brush, or using a plain line with configurable properties.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-paint-method', 'gimp-context-set-stroke-method', 'gimp-context-set-foreground', 'gimp-context-set-brush' and all brush property settings, 'gimp-context-set-gradient' and all gradient property settings, 'gimp-context-set-line-width' and all line property settings, 'gimp-context-set-antialias'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
|
|
@ -96,13 +96,14 @@ register_dynamics_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (dynamics_refresh_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-dynamics-refresh");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Refresh current paint dynamics. This function always succeeds.",
|
||||
"This procedure retrieves all paint dynamics currently in the user's paint dynamics path and updates the paint dynamics dialogs accordingly.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2011");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Refresh current paint dynamics. This function always succeeds.",
|
||||
"This procedure retrieves all paint dynamics currently in the user's paint dynamics path and updates the paint dynamics dialogs accordingly.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2011");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -112,13 +113,14 @@ register_dynamics_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (dynamics_get_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-dynamics-get-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieve the list of loaded paint dynamics.",
|
||||
"This procedure returns a list of the paint dynamics that are currently available.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2011");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieve the list of loaded paint dynamics.",
|
||||
"This procedure returns a list of the paint dynamics that are currently available.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2011");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filter",
|
||||
"filter",
|
||||
|
|
|
@ -511,13 +511,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_cut_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-cut");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. This procedure will fail if the selected area lies completely outside the bounds of the current drawable and there is nothing to copy from.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. This procedure will fail if the selected area lies completely outside the bounds of the current drawable and there is nothing to copy from.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -539,13 +540,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_copy_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-copy");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. This procedure will fail if the selected area lies completely outside the bounds of the current drawable and there is nothing to copy from.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. This procedure will fail if the selected area lies completely outside the bounds of the current drawable and there is nothing to copy from.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -567,13 +569,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_copy_visible_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-copy-visible");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -595,13 +598,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_paste_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-paste");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 its 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 its 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -629,13 +633,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_paste_as_new_image_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-paste-as-new-image");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Paste buffer to a new image.",
|
||||
"This procedure pastes a copy of the internal GIMP edit buffer to a new image. The GIMP edit buffer will be empty unless a call was previously made to either 'gimp-edit-cut' or 'gimp-edit-copy'. This procedure returns the new image or -1 if the edit buffer was empty.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Paste buffer to a new image.",
|
||||
"This procedure pastes a copy of the internal GIMP edit buffer to a new image. The GIMP edit buffer will be empty unless a call was previously made to either 'gimp-edit-cut' or 'gimp-edit-copy'. This procedure returns the new image or -1 if the edit buffer was empty.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -651,13 +656,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_named_cut_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-named-cut");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Cut into a named buffer.",
|
||||
"This procedure works like 'gimp-edit-cut', but additionally stores the cut buffer into a named buffer that will stay available for later pasting, regardless of any intermediate copy or cut operations.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Cut into a named buffer.",
|
||||
"This procedure works like 'gimp-edit-cut', but additionally stores the cut buffer into a named buffer that will stay available for later pasting, regardless of any intermediate copy or cut operations.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -687,13 +693,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_named_copy_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-named-copy");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Copy into a named buffer.",
|
||||
"This procedure works like 'gimp-edit-copy', but additionally stores the copied buffer into a named buffer that will stay available for later pasting, regardless of any intermediate copy or cut operations.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Copy into a named buffer.",
|
||||
"This procedure works like 'gimp-edit-copy', but additionally stores the copied buffer into a named buffer that will stay available for later pasting, regardless of any intermediate copy or cut operations.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -723,13 +730,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_named_copy_visible_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-named-copy-visible");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Copy from the projection into a named buffer.",
|
||||
"This procedure works like 'gimp-edit-copy-visible', but additionally stores the copied buffer into a named buffer that will stay available for later pasting, regardless of any intermediate copy or cut operations.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Copy from the projection into a named buffer.",
|
||||
"This procedure works like 'gimp-edit-copy-visible', but additionally stores the copied buffer into a named buffer that will stay available for later pasting, regardless of any intermediate copy or cut operations.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -759,13 +767,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_named_paste_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-named-paste");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Paste named buffer to the specified drawable.",
|
||||
"This procedure works like 'gimp-edit-paste' but pastes a named buffer instead of the global buffer.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Paste named buffer to the specified drawable.",
|
||||
"This procedure works like 'gimp-edit-paste' but pastes a named buffer instead of the global buffer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -800,13 +809,14 @@ register_edit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (edit_named_paste_as_new_image_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-edit-named-paste-as-new-image");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Paste named buffer to a new image.",
|
||||
"This procedure works like 'gimp-edit-paste-as-new-image' but pastes a named buffer instead of the global buffer.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Paste named buffer to a new image.",
|
||||
"This procedure works like 'gimp-edit-paste-as-new-image' but pastes a named buffer instead of the global buffer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("buffer-name",
|
||||
"buffer name",
|
||||
|
|
|
@ -631,13 +631,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (file_load_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-file-load");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Loads an image 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 https://www.gimp.org/foo.png he wants to fetch a URL, and the full pathname will not look like a URL.",
|
||||
NULL,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Loads an image 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 https://www.gimp.org/foo.png he wants to fetch a URL, and the full pathname will not look like a URL.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("run-mode",
|
||||
"run mode",
|
||||
|
@ -676,13 +677,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (file_load_layer_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-file-load-layer");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Loads an image file as a layer for an existing image.",
|
||||
"This procedure behaves like the file-load procedure but opens the specified image as a layer for an existing image. The returned layer needs to be added to the existing image with 'gimp-image-insert-layer'.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Loads an image file as a layer for an existing image.",
|
||||
"This procedure behaves like the file-load procedure but opens the specified image as a layer for an existing image. The returned layer needs to be added to the existing image with 'gimp-image-insert-layer'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("run-mode",
|
||||
"run mode",
|
||||
|
@ -720,13 +722,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (file_load_layers_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-file-load-layers");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Loads an image file as layers for an existing image.",
|
||||
"This procedure behaves like the file-load procedure but opens the specified image as layers for an existing image. The returned layers needs to be added to the existing image with 'gimp-image-insert-layer'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Loads an image file as layers for an existing image.",
|
||||
"This procedure behaves like the file-load procedure but opens the specified image as layers for an existing image. The returned layers needs to be added to the existing image with 'gimp-image-insert-layer'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("run-mode",
|
||||
"run mode",
|
||||
|
@ -770,13 +773,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (file_save_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-file-save");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 https://www.gimp.org/foo.png she wants to fetch a URL, and the full pathname will not look like a URL.",
|
||||
NULL,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 https://www.gimp.org/foo.png she wants to fetch a URL, and the full pathname will not look like a URL.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_enum ("run-mode",
|
||||
"run mode",
|
||||
|
@ -819,13 +823,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (file_load_thumbnail_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-file-load-thumbnail");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adam D. Moss, Sven Neumann",
|
||||
"Adam D. Moss, Sven Neumann",
|
||||
"1999-2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss, Sven Neumann",
|
||||
"Adam D. Moss, Sven Neumann",
|
||||
"1999-2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filename",
|
||||
"filename",
|
||||
|
@ -865,13 +870,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (file_save_thumbnail_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-file-save-thumbnail");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 explicitly save a thumbnail with a file.",
|
||||
NULL,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 explicitly save a thumbnail with a file.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -894,13 +900,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_magic_load_handler_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-magic-load-handler");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -938,13 +945,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_load_handler_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-load-handler");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Registers a file load handler procedure.",
|
||||
"Registers a procedural database procedure to be called to load files of a particular file format.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Registers a file load handler procedure.",
|
||||
"Registers a procedural database procedure to be called to load files of a particular file format.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -975,13 +983,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_save_handler_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-save-handler");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Registers a file save handler procedure.",
|
||||
"Registers a procedural database procedure to be called to save files in a particular file format.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Registers a file save handler procedure.",
|
||||
"Registers a procedural database procedure to be called to save files in a particular file format.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1012,13 +1021,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_file_handler_priority_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-file-handler-priority");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the priority of a file handler procedure.",
|
||||
"Sets the priority of a file handler procedure. When more than one procedure matches a given file, the procedure with the lowest priority is used; if more than one procedure has the lowest priority, it is unspecified which one of them is used. The default priority for file handler procedures is 0.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2018");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the priority of a file handler procedure.",
|
||||
"Sets the priority of a file handler procedure. When more than one procedure matches a given file, the procedure with the lowest priority is used; if more than one procedure has the lowest priority, it is unspecified which one of them is used. The default priority for file handler procedures is 0.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2018");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1041,13 +1051,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_file_handler_mime_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-file-handler-mime");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Associates MIME types with a file handler procedure.",
|
||||
"Registers MIME types for a file handler procedure. This allows GIMP to determine the MIME type of the file opened or saved using this procedure. It is recommended that only one MIME type is registered per file procedure; when registering more than one MIME type, GIMP will associate the first one with files opened or saved with this procedure.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Associates MIME types with a file handler procedure.",
|
||||
"Registers MIME types for a file handler procedure. This allows GIMP to determine the MIME type of the file opened or saved using this procedure. It is recommended that only one MIME type is registered per file procedure; when registering more than one MIME type, GIMP will associate the first one with files opened or saved with this procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1071,13 +1082,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_file_handler_remote_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-file-handler-remote");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Registers a file handler procedure as capable of handling remote URIs.",
|
||||
"Registers a file handler procedure as capable of handling remote URIs. This allows GIMP to call the procedure directly for all kinds of URIs, not only on local file:// URIs.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Registers a file handler procedure as capable of handling remote URIs.",
|
||||
"Registers a file handler procedure as capable of handling remote URIs. This allows GIMP to call the procedure directly for all kinds of URIs, not only on local file:// URIs.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1094,13 +1106,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_file_handler_raw_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-file-handler-raw");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Registers a file handler procedure as capable of handling raw camera files.",
|
||||
"Registers a file handler procedure as capable of handling raw digital camera files. Use this procedure only to register raw load handlers, calling it on a save handler will generate an error.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Registers a file handler procedure as capable of handling raw camera files.",
|
||||
"Registers a file handler procedure as capable of handling raw digital camera files. Use this procedure only to register raw load handlers, calling it on a save handler will generate an error.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1117,13 +1130,14 @@ register_fileops_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (register_thumbnail_loader_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-register-thumbnail-loader");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("load-proc",
|
||||
"load proc",
|
||||
|
|
|
@ -189,13 +189,14 @@ register_floating_sel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (floating_sel_remove_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-floating-sel-remove");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("floating-sel",
|
||||
"floating sel",
|
||||
|
@ -211,13 +212,14 @@ register_floating_sel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (floating_sel_anchor_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-floating-sel-anchor");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("floating-sel",
|
||||
"floating sel",
|
||||
|
@ -233,13 +235,14 @@ register_floating_sel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (floating_sel_to_layer_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-floating-sel-to-layer");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 auxiliary channel or a layer mask.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 auxiliary channel or a layer mask.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("floating-sel",
|
||||
"floating sel",
|
||||
|
@ -255,13 +258,14 @@ register_floating_sel_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (floating_sel_attach_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-floating-sel-attach");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Attach the specified layer as floating to the specified drawable.",
|
||||
"This procedure attaches the layer as floating selection to the drawable.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Attach the specified layer as floating to the specified drawable.",
|
||||
"This procedure attaches the layer as floating selection to the drawable.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
|
|
@ -138,13 +138,14 @@ register_font_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (fonts_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-fonts-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Invokes the Gimp font selection.",
|
||||
"This procedure opens the font selection dialog.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Invokes the Gimp font selection.",
|
||||
"This procedure opens the font selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("font-callback",
|
||||
"font callback",
|
||||
|
@ -175,13 +176,14 @@ register_font_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (fonts_close_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-fonts-close-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Close the font selection dialog.",
|
||||
"This procedure closes an opened font selection dialog.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Close the font selection dialog.",
|
||||
"This procedure closes an opened font selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("font-callback",
|
||||
"font callback",
|
||||
|
@ -198,13 +200,14 @@ register_font_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (fonts_set_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-fonts-set-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the current font in a font selection dialog.",
|
||||
"Sets the current font in a font selection dialog.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the current font in a font selection dialog.",
|
||||
"Sets the current font in a font selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("font-callback",
|
||||
"font callback",
|
||||
|
|
|
@ -103,13 +103,14 @@ register_fonts_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (fonts_refresh_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-fonts-refresh");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. Depending on the amount of fonts on the system, this can take considerable time.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. Depending on the amount of fonts on the system, this can take considerable time.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -119,13 +120,14 @@ register_fonts_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (fonts_get_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-fonts-get-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieve the list of loaded fonts.",
|
||||
"This procedure returns a list of the fonts that are currently available.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieve the list of loaded fonts.",
|
||||
"This procedure returns a list of the fonts that are currently available.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filter",
|
||||
"filter",
|
||||
|
|
|
@ -244,13 +244,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (version_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-version");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the host GIMP version.",
|
||||
"This procedure returns the version number of the currently running GIMP.",
|
||||
NULL,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the host GIMP version.",
|
||||
"This procedure returns the version number of the currently running GIMP.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1999");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
gimp_param_spec_string ("version",
|
||||
"version",
|
||||
|
@ -267,13 +268,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (getpid_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-getpid");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the PID of the host GIMP process.",
|
||||
"This procedure returns the process ID of the currently running GIMP.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the PID of the host GIMP process.",
|
||||
"This procedure returns the process ID of the currently running GIMP.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_int ("pid",
|
||||
"pid",
|
||||
|
@ -289,13 +291,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (quit_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-quit");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Causes GIMP to exit gracefully.",
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Causes GIMP to exit gracefully.",
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_boolean ("force",
|
||||
"force",
|
||||
|
@ -311,13 +314,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (attach_parasite_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-attach-parasite");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Add a global parasite.",
|
||||
"This procedure attaches a global parasite. It has no return values.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Add a global parasite.",
|
||||
"This procedure attaches a global parasite. It has no return values.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_parasite ("parasite",
|
||||
"parasite",
|
||||
|
@ -332,13 +336,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (detach_parasite_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-detach-parasite");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Removes a global parasite.",
|
||||
"This procedure detaches a global parasite from. It has no return values.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Removes a global parasite.",
|
||||
"This procedure detaches a global parasite from. It has no return values.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -355,13 +360,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (get_parasite_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-get-parasite");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Look up a global parasite.",
|
||||
"Finds and returns the global parasite that was previously attached.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Look up a global parasite.",
|
||||
"Finds and returns the global parasite that was previously attached.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -383,13 +389,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (get_parasite_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-get-parasite-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"List all parasites.",
|
||||
"Returns a list of all currently attached global parasites.",
|
||||
NULL,
|
||||
"Marc Lehmann",
|
||||
"Marc Lehmann",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"List all parasites.",
|
||||
"Returns a list of all currently attached global parasites.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marc Lehmann",
|
||||
"Marc Lehmann",
|
||||
"1999");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_int ("num-parasites",
|
||||
"num parasites",
|
||||
|
@ -410,13 +417,14 @@ register_gimp_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (temp_name_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-temp-name");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Generates a unique filename.",
|
||||
"Generates a unique filename using the temp path supplied in the user's gimprc.",
|
||||
NULL,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Generates a unique filename.",
|
||||
"Generates a unique filename using the temp path supplied in the user's gimprc.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Josh MacDonald",
|
||||
"Josh MacDonald",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("extension",
|
||||
"extension",
|
||||
|
|
|
@ -69,7 +69,9 @@ static void gimp_procedure_real_execute_async (GimpProcedure *proced
|
|||
GimpValueArray *args,
|
||||
GimpDisplay *display);
|
||||
|
||||
static void gimp_procedure_free_strings (GimpProcedure *procedure);
|
||||
static void gimp_procedure_free_help (GimpProcedure *procedure);
|
||||
static void gimp_procedure_free_attribution (GimpProcedure *procedure);
|
||||
|
||||
static gboolean gimp_procedure_validate_args (GimpProcedure *procedure,
|
||||
GParamSpec **param_specs,
|
||||
gint n_param_specs,
|
||||
|
@ -114,7 +116,8 @@ gimp_procedure_finalize (GObject *object)
|
|||
GimpProcedure *procedure = GIMP_PROCEDURE (object);
|
||||
gint i;
|
||||
|
||||
gimp_procedure_free_strings (procedure);
|
||||
gimp_procedure_free_help (procedure);
|
||||
gimp_procedure_free_attribution (procedure);
|
||||
|
||||
g_clear_pointer (&procedure->deprecated, g_free);
|
||||
|
||||
|
@ -145,11 +148,15 @@ gimp_procedure_get_memsize (GimpObject *object,
|
|||
gint64 memsize = 0;
|
||||
gint i;
|
||||
|
||||
if (! procedure->static_strings)
|
||||
if (! procedure->static_help)
|
||||
{
|
||||
memsize += gimp_string_get_memsize (procedure->blurb);
|
||||
memsize += gimp_string_get_memsize (procedure->help);
|
||||
memsize += gimp_string_get_memsize (procedure->help_id);
|
||||
}
|
||||
|
||||
if (! procedure->static_attribution)
|
||||
{
|
||||
memsize += gimp_string_get_memsize (procedure->authors);
|
||||
memsize += gimp_string_get_memsize (procedure->copyright);
|
||||
memsize += gimp_string_get_memsize (procedure->date);
|
||||
|
@ -270,72 +277,105 @@ gimp_procedure_new (GimpMarshalFunc marshal_func)
|
|||
}
|
||||
|
||||
void
|
||||
gimp_procedure_set_strings (GimpProcedure *procedure,
|
||||
const gchar *blurb,
|
||||
const gchar *help,
|
||||
const gchar *help_id,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date)
|
||||
gimp_procedure_set_help (GimpProcedure *procedure,
|
||||
const gchar *blurb,
|
||||
const gchar *help,
|
||||
const gchar *help_id)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_PROCEDURE (procedure));
|
||||
|
||||
gimp_procedure_free_strings (procedure);
|
||||
gimp_procedure_free_help (procedure);
|
||||
|
||||
procedure->blurb = g_strdup (blurb);
|
||||
procedure->help = g_strdup (help);
|
||||
procedure->help_id = g_strdup (help_id);
|
||||
|
||||
procedure->static_help = FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
gimp_procedure_set_static_help (GimpProcedure *procedure,
|
||||
const gchar *blurb,
|
||||
const gchar *help,
|
||||
const gchar *help_id)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_PROCEDURE (procedure));
|
||||
|
||||
gimp_procedure_free_help (procedure);
|
||||
|
||||
procedure->blurb = (gchar *) blurb;
|
||||
procedure->help = (gchar *) help;
|
||||
procedure->help_id = (gchar *) help_id;
|
||||
|
||||
procedure->static_help = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
gimp_procedure_take_help (GimpProcedure *procedure,
|
||||
gchar *blurb,
|
||||
gchar *help,
|
||||
gchar *help_id)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_PROCEDURE (procedure));
|
||||
|
||||
gimp_procedure_free_help (procedure);
|
||||
|
||||
procedure->blurb = blurb;
|
||||
procedure->help = help;
|
||||
procedure->help_id = help_id;
|
||||
|
||||
procedure->static_help = FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
gimp_procedure_set_attribution (GimpProcedure *procedure,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_PROCEDURE (procedure));
|
||||
|
||||
gimp_procedure_free_attribution (procedure);
|
||||
|
||||
procedure->blurb = g_strdup (blurb);
|
||||
procedure->help = g_strdup (help);
|
||||
procedure->help_id = g_strdup (help_id);
|
||||
procedure->authors = g_strdup (authors);
|
||||
procedure->copyright = g_strdup (copyright);
|
||||
procedure->date = g_strdup (date);
|
||||
|
||||
procedure->static_strings = FALSE;
|
||||
procedure->static_attribution = FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
gimp_procedure_set_static_strings (GimpProcedure *procedure,
|
||||
const gchar *blurb,
|
||||
const gchar *help,
|
||||
const gchar *help_id,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date)
|
||||
gimp_procedure_set_static_attribution (GimpProcedure *procedure,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_PROCEDURE (procedure));
|
||||
|
||||
gimp_procedure_free_strings (procedure);
|
||||
gimp_procedure_free_attribution (procedure);
|
||||
|
||||
procedure->blurb = (gchar *) blurb;
|
||||
procedure->help = (gchar *) help;
|
||||
procedure->help = (gchar *) help_id;
|
||||
procedure->authors = (gchar *) authors;
|
||||
procedure->copyright = (gchar *) copyright;
|
||||
procedure->date = (gchar *) date;
|
||||
|
||||
procedure->static_strings = TRUE;
|
||||
procedure->static_attribution = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
gimp_procedure_take_strings (GimpProcedure *procedure,
|
||||
gchar *blurb,
|
||||
gchar *help,
|
||||
gchar *help_id,
|
||||
gchar *authors,
|
||||
gchar *copyright,
|
||||
gchar *date)
|
||||
gimp_procedure_take_attribution (GimpProcedure *procedure,
|
||||
gchar *authors,
|
||||
gchar *copyright,
|
||||
gchar *date)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_PROCEDURE (procedure));
|
||||
|
||||
gimp_procedure_free_strings (procedure);
|
||||
gimp_procedure_free_attribution (procedure);
|
||||
|
||||
procedure->blurb = blurb;
|
||||
procedure->help = help;
|
||||
procedure->help = help_id;
|
||||
procedure->authors = authors;
|
||||
procedure->copyright = copyright;
|
||||
procedure->date = date;
|
||||
|
||||
procedure->static_strings = FALSE;
|
||||
procedure->static_attribution = FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -724,26 +764,37 @@ gimp_procedure_name_compare (GimpProcedure *proc1,
|
|||
/* private functions */
|
||||
|
||||
static void
|
||||
gimp_procedure_free_strings (GimpProcedure *procedure)
|
||||
gimp_procedure_free_help (GimpProcedure *procedure)
|
||||
{
|
||||
if (! procedure->static_strings)
|
||||
if (! procedure->static_help)
|
||||
{
|
||||
g_free (procedure->blurb);
|
||||
g_free (procedure->help);
|
||||
g_free (procedure->help_id);
|
||||
}
|
||||
|
||||
procedure->blurb = NULL;
|
||||
procedure->help = NULL;
|
||||
procedure->help_id = NULL;
|
||||
|
||||
procedure->static_help = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
gimp_procedure_free_attribution (GimpProcedure *procedure)
|
||||
{
|
||||
if (! procedure->static_attribution)
|
||||
{
|
||||
g_free (procedure->authors);
|
||||
g_free (procedure->copyright);
|
||||
g_free (procedure->date);
|
||||
}
|
||||
|
||||
procedure->blurb = NULL;
|
||||
procedure->help = NULL;
|
||||
procedure->help_id = NULL;
|
||||
procedure->authors = NULL;
|
||||
procedure->copyright = NULL;
|
||||
procedure->date = NULL;
|
||||
|
||||
procedure->static_strings = FALSE;
|
||||
procedure->static_attribution = FALSE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -46,14 +46,16 @@ struct _GimpProcedure
|
|||
|
||||
GimpPDBProcType proc_type; /* Type of procedure */
|
||||
|
||||
gboolean static_strings; /* Are the strings allocated? */
|
||||
|
||||
gboolean static_help; /* Are the strings allocated? */
|
||||
gchar *blurb; /* Short procedure description */
|
||||
gchar *help; /* Detailed help instructions */
|
||||
gchar *help_id; /* Help ID */
|
||||
|
||||
gboolean static_attribution;
|
||||
gchar *authors; /* Authors field */
|
||||
gchar *copyright; /* Copyright field */
|
||||
gchar *date; /* Date field */
|
||||
|
||||
gchar *deprecated; /* Replacement if deprecated */
|
||||
|
||||
gint32 num_args; /* Number of procedure arguments */
|
||||
|
@ -96,24 +98,29 @@ GType gimp_procedure_get_type (void) G_GNUC_CONST;
|
|||
|
||||
GimpProcedure * gimp_procedure_new (GimpMarshalFunc marshal_func);
|
||||
|
||||
void gimp_procedure_set_strings (GimpProcedure *procedure,
|
||||
void gimp_procedure_set_help (GimpProcedure *procedure,
|
||||
const gchar *blurb,
|
||||
const gchar *help,
|
||||
const gchar *help_id,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date);
|
||||
void gimp_procedure_set_static_strings (GimpProcedure *procedure,
|
||||
const gchar *help_id);
|
||||
void gimp_procedure_set_static_help (GimpProcedure *procedure,
|
||||
const gchar *blurb,
|
||||
const gchar *help,
|
||||
const gchar *help_id,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date);
|
||||
void gimp_procedure_take_strings (GimpProcedure *procedure,
|
||||
const gchar *help_id);
|
||||
void gimp_procedure_take_help (GimpProcedure *procedure,
|
||||
gchar *blurb,
|
||||
gchar *help,
|
||||
gchar *help_id,
|
||||
gchar *help_id);
|
||||
|
||||
void gimp_procedure_set_attribution (GimpProcedure *procedure,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date);
|
||||
void gimp_procedure_set_static_attribution
|
||||
(GimpProcedure *procedure,
|
||||
const gchar *authors,
|
||||
const gchar *copyright,
|
||||
const gchar *date);
|
||||
void gimp_procedure_take_attribution (GimpProcedure *procedure,
|
||||
gchar *authors,
|
||||
gchar *copyright,
|
||||
gchar *date);
|
||||
|
|
|
@ -222,13 +222,14 @@ register_gimprc_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gimprc_query_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gimprc-query");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("token",
|
||||
"token",
|
||||
|
@ -252,13 +253,14 @@ register_gimprc_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gimprc_set_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gimprc-set");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 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.",
|
||||
NULL,
|
||||
"Seth Burgess",
|
||||
"Seth Burgess",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Seth Burgess",
|
||||
"Seth Burgess",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("token",
|
||||
"token",
|
||||
|
@ -282,13 +284,14 @@ register_gimprc_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (get_default_comment_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-get-default-comment");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the default image comment as specified in the Preferences.",
|
||||
"Returns a copy of the default image comment.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the default image comment as specified in the Preferences.",
|
||||
"Returns a copy of the default image comment.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
gimp_param_spec_string ("comment",
|
||||
"comment",
|
||||
|
@ -305,13 +308,14 @@ register_gimprc_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (get_default_unit_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-get-default-unit");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the default unit (taken from the user's locale).",
|
||||
"Returns the default unit's integer ID.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the default unit (taken from the user's locale).",
|
||||
"Returns the default unit's integer ID.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -329,13 +333,14 @@ register_gimprc_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (get_monitor_resolution_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-get-monitor-resolution");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_double ("xres",
|
||||
"xres",
|
||||
|
@ -357,13 +362,14 @@ register_gimprc_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (get_color_configuration_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-get-color-configuration");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
gimp_param_spec_string ("config",
|
||||
"config",
|
||||
|
@ -380,13 +386,14 @@ register_gimprc_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (get_module_load_inhibit_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-get-module-load-inhibit");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the list of modules which should not be loaded.",
|
||||
"Returns a copy of the list of modules which should not be loaded.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the list of modules which should not be loaded.",
|
||||
"Returns a copy of the list of modules which should not be loaded.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
gimp_param_spec_string ("load-inhibit",
|
||||
"load inhibit",
|
||||
|
|
|
@ -1456,13 +1456,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Creates a new gradient",
|
||||
"This procedure creates a new, uninitialized gradient",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Creates a new gradient",
|
||||
"This procedure creates a new, uninitialized gradient",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1486,13 +1487,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_duplicate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-duplicate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Duplicates a gradient",
|
||||
"This procedure creates an identical gradient by a different name",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Duplicates a gradient",
|
||||
"This procedure creates an identical gradient by a different name",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1516,13 +1518,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_is_editable_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-is-editable");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Tests if gradient can be edited",
|
||||
"Returns TRUE if you have permission to change the gradient",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Tests if gradient can be edited",
|
||||
"Returns TRUE if you have permission to change the gradient",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1545,13 +1548,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_rename_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-rename");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Rename a gradient",
|
||||
"This procedure renames a gradient",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Rename a gradient",
|
||||
"This procedure renames a gradient",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1582,13 +1586,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_delete_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-delete");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Deletes a gradient",
|
||||
"This procedure deletes a gradient",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Deletes a gradient",
|
||||
"This procedure deletes a gradient",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1605,13 +1610,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_get_number_of_segments_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-get-number-of-segments");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the number of segments of the specified gradient",
|
||||
"This procedure returns the number of segments of the specified gradient.",
|
||||
NULL,
|
||||
"Lars-Peter Clausen <lars@metafoo.de>",
|
||||
"Lars-Peter Clausen",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the number of segments of the specified gradient",
|
||||
"This procedure returns the number of segments of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Lars-Peter Clausen <lars@metafoo.de>",
|
||||
"Lars-Peter Clausen",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1634,13 +1640,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_get_uniform_samples_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-get-uniform-samples");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 }.",
|
||||
NULL,
|
||||
"Federico Mena Quintero",
|
||||
"Federico Mena Quintero",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 }.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Federico Mena Quintero",
|
||||
"Federico Mena Quintero",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1680,13 +1687,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_get_custom_samples_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-get-custom-samples");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sample the specified 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.",
|
||||
NULL,
|
||||
"Federico Mena Quintero",
|
||||
"Federico Mena Quintero",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sample the specified 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Federico Mena Quintero",
|
||||
"Federico Mena Quintero",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1731,13 +1739,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_get_left_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-get-left-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the left endpoint color of the specified segment",
|
||||
"This procedure retrieves the left endpoint color of the specified segment of the specified gradient.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the left endpoint color of the specified segment",
|
||||
"This procedure retrieves the left endpoint color of the specified segment of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1773,13 +1782,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_set_left_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-set-left-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the left endpoint color of the specified segment",
|
||||
"This procedure sets the left endpoint color of the specified segment of the specified gradient.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the left endpoint color of the specified segment",
|
||||
"This procedure sets the left endpoint color of the specified segment of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1815,13 +1825,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_get_right_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-get-right-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the right endpoint color of the specified segment",
|
||||
"This procedure retrieves the right endpoint color of the specified segment of the specified gradient.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the right endpoint color of the specified segment",
|
||||
"This procedure retrieves the right endpoint color of the specified segment of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1857,13 +1868,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_set_right_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-set-right-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the right endpoint color of the specified segment",
|
||||
"This procedure sets the right endpoint color of the specified segment of the specified gradient.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the right endpoint color of the specified segment",
|
||||
"This procedure sets the right endpoint color of the specified segment of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1899,13 +1911,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_get_left_pos_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-get-left-pos");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the left endpoint position of the specified segment",
|
||||
"This procedure retrieves the left endpoint position of the specified segment of the specified gradient.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the left endpoint position of the specified segment",
|
||||
"This procedure retrieves the left endpoint position of the specified segment of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1934,14 +1947,15 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_set_left_pos_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-set-left-pos");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the left endpoint position of the specified 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 segment.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the left endpoint position of the specified 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 segment.\n"
|
||||
"This procedure returns the final position.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1976,13 +1990,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_get_middle_pos_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-get-middle-pos");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the middle point position of the specified segment",
|
||||
"This procedure retrieves the middle point position of the specified segment of the specified gradient.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the middle point position of the specified segment",
|
||||
"This procedure retrieves the middle point position of the specified segment of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2011,14 +2026,15 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_set_middle_pos_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-set-middle-pos");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the middle point position of the specified 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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the middle point position of the specified 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.\n"
|
||||
"This procedure returns the final position.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2053,13 +2069,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_get_right_pos_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-get-right-pos");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the right endpoint position of the specified segment",
|
||||
"This procedure retrieves the right endpoint position of the specified segment of the specified gradient.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the right endpoint position of the specified segment",
|
||||
"This procedure retrieves the right endpoint position of the specified segment of the specified gradient.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2088,14 +2105,15 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_set_right_pos_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-set-right-pos");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the right endpoint position of the specified 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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the right endpoint position of the specified 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.\n"
|
||||
"This procedure returns the final position.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2130,13 +2148,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_get_blending_function_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-get-blending-function");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the gradient segment's blending function",
|
||||
"This procedure retrieves the blending function of the segment at the specified gradient name and segment index.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the gradient segment's blending function",
|
||||
"This procedure retrieves the blending function of the segment at the specified gradient name and segment index.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2166,13 +2185,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_get_coloring_type_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-get-coloring-type");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the gradient segment's coloring type",
|
||||
"This procedure retrieves the coloring type of the segment at the specified gradient name and segment index.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the gradient segment's coloring type",
|
||||
"This procedure retrieves the coloring type of the segment at the specified gradient name and segment index.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2202,13 +2222,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_set_blending_function_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-set-blending-function");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Change the blending function of a segments range",
|
||||
"This function changes the blending function of a segment range to the specified blending function.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Change the blending function of a segments range",
|
||||
"This function changes the blending function of a segment range to the specified blending function.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2244,13 +2265,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_set_coloring_type_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-set-coloring-type");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Change the coloring type of a segments range",
|
||||
"This function changes the coloring type of a segment range to the specified coloring type.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Change the coloring type of a segments range",
|
||||
"This function changes the coloring type of a segment range to the specified coloring type.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2286,13 +2308,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_flip_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-flip");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Flip the segment range",
|
||||
"This function flips a segment range.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Flip the segment range",
|
||||
"This function flips a segment range.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2321,13 +2344,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_replicate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-replicate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2362,13 +2386,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_split_midpoint_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-split-midpoint");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Splits each segment in the segment range at midpoint",
|
||||
"This function splits each segment in the segment range at its midpoint.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Splits each segment in the segment range at midpoint",
|
||||
"This function splits each segment in the segment range at its midpoint.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2397,13 +2422,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_split_uniform_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-split-uniform");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2438,13 +2464,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_delete_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-delete");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Delete the segment range",
|
||||
"This function deletes a segment range.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Delete the segment range",
|
||||
"This function deletes a segment range.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2473,13 +2500,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_redistribute_handles_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-redistribute-handles");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2508,13 +2536,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_blend_colors_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-blend-colors");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2543,13 +2572,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_blend_opacity_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-blend-opacity");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -2578,13 +2608,14 @@ register_gradient_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradient_segment_range_move_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradient-segment-range-move");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Move the position of an entire segment range by a delta.",
|
||||
"This function 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.",
|
||||
NULL,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Move the position of an entire segment range by a delta.",
|
||||
"This function 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Shlomi Fish <shlomif@iglu.org.il>",
|
||||
"Shlomi Fish",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
|
|
@ -141,13 +141,14 @@ register_gradient_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradients_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradients-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Invokes the Gimp gradients selection.",
|
||||
"This procedure opens the gradient selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Invokes the Gimp gradients selection.",
|
||||
"This procedure opens the gradient selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("gradient-callback",
|
||||
"gradient callback",
|
||||
|
@ -184,13 +185,14 @@ register_gradient_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradients_close_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradients-close-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Close the gradient selection dialog.",
|
||||
"This procedure closes an opened gradient selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Close the gradient selection dialog.",
|
||||
"This procedure closes an opened gradient selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("gradient-callback",
|
||||
"gradient callback",
|
||||
|
@ -207,13 +209,14 @@ register_gradient_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradients_set_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradients-set-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the current gradient in a gradient selection dialog.",
|
||||
"Sets the current gradient in a gradient selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the current gradient in a gradient selection dialog.",
|
||||
"Sets the current gradient in a gradient selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("gradient-callback",
|
||||
"gradient callback",
|
||||
|
|
|
@ -100,13 +100,14 @@ register_gradients_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradients_refresh_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradients-refresh");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -116,13 +117,14 @@ register_gradients_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (gradients_get_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-gradients-get-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Federico Mena Quintero",
|
||||
"Federico Mena Quintero",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Federico Mena Quintero",
|
||||
"Federico Mena Quintero",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filter",
|
||||
"filter",
|
||||
|
|
|
@ -81,13 +81,14 @@ register_help_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (help_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-help");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2000");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2000");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("help-domain",
|
||||
"help domain",
|
||||
|
|
1245
app/pdb/image-cmds.c
1245
app/pdb/image-cmds.c
File diff suppressed because it is too large
Load Diff
|
@ -335,13 +335,14 @@ register_image_color_profile_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_get_color_profile_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-get-color-profile");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the image's color profile",
|
||||
"This procedure returns the image's color profile, or NULL if the image has no color profile assigned.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the image's color profile",
|
||||
"This procedure returns the image's color profile, or NULL if the image has no color profile assigned.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -368,13 +369,14 @@ register_image_color_profile_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_get_effective_color_profile_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-get-effective-color-profile");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the color profile that is used for the image",
|
||||
"This procedure returns the color profile that is actually used for this image, which is the profile returned by 'gimp-image-get-color-profile' if the image has a profile assigned, or a generated default RGB or grayscale profile, according to the image's type.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the color profile that is used for the image",
|
||||
"This procedure returns the color profile that is actually used for this image, which is the profile returned by 'gimp-image-get-color-profile' if the image has a profile assigned, or a generated default RGB or grayscale profile, according to the image's type.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -401,13 +403,14 @@ register_image_color_profile_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_set_color_profile_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-set-color-profile");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the image's color profile",
|
||||
"This procedure sets the image's color profile, or unsets it if NULL is passed as 'color_profile'. This procedure does no color conversion. However, it will change the pixel format of all layers to contain the babl space matching the profile. You must call this procedure before adding layers to the image.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the image's color profile",
|
||||
"This procedure sets the image's color profile, or unsets it if NULL is passed as 'color_profile'. This procedure does no color conversion. However, it will change the pixel format of all layers to contain the babl space matching the profile. You must call this procedure before adding layers to the image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -434,13 +437,14 @@ register_image_color_profile_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_set_color_profile_from_file_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-set-color-profile-from-file");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the image's color profile from an ICC file",
|
||||
"This procedure sets the image's color profile from a file containing an ICC profile, or unsets it if NULL is passed as 'uri'. This procedure does no color conversion. However, it will change the pixel format of all layers to contain the babl space matching the profile. You must call this procedure before adding layers to the image.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the image's color profile from an ICC file",
|
||||
"This procedure sets the image's color profile from a file containing an ICC profile, or unsets it if NULL is passed as 'uri'. This procedure does no color conversion. However, it will change the pixel format of all layers to contain the babl space matching the profile. You must call this procedure before adding layers to the image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -463,13 +467,14 @@ register_image_color_profile_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_convert_color_profile_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-convert-color-profile");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Convert the image's layers to a color profile",
|
||||
"This procedure converts from the image's color profile (or the default RGB or grayscale profile if none is set) to the given color profile. Only RGB and grayscale color profiles are accepted, according to the image's type.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Convert the image's layers to a color profile",
|
||||
"This procedure converts from the image's color profile (or the default RGB or grayscale profile if none is set) to the given color profile. Only RGB and grayscale color profiles are accepted, according to the image's type.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -509,13 +514,14 @@ register_image_color_profile_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_convert_color_profile_from_file_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-convert-color-profile-from-file");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Convert the image's layers to a color profile",
|
||||
"This procedure converts from the image's color profile (or the default RGB or grayscale profile if none is set) to an ICC profile specified by 'uri'. Only RGB and grayscale color profiles are accepted, according to the image's type.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Convert the image's layers to a color profile",
|
||||
"This procedure converts from the image's color profile (or the default RGB or grayscale profile if none is set) to an ICC profile specified by 'uri'. Only RGB and grayscale color profiles are accepted, according to the image's type.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2015");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -271,13 +271,14 @@ register_image_convert_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_convert_rgb_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-convert-rgb");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Convert specified image to RGB color",
|
||||
"This procedure converts the specified image to RGB color. This process requires an image in Grayscale or Indexed color mode. No image content is lost in this process aside from the colormap for an indexed image.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Convert specified image to RGB color",
|
||||
"This procedure converts the specified image to RGB color. This process requires an image in Grayscale or Indexed color mode. No image content is lost in this process aside from the colormap for an indexed image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -293,13 +294,14 @@ register_image_convert_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_convert_grayscale_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-convert-grayscale");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Convert specified image to grayscale",
|
||||
"This procedure converts the specified image to grayscale. This process requires an image in RGB or Indexed color mode.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Convert specified image to grayscale",
|
||||
"This procedure converts the specified image to grayscale. This process requires an image in RGB or Indexed color mode.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -315,13 +317,14 @@ register_image_convert_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_convert_indexed_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-convert-indexed");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Convert specified image to and Indexed image",
|
||||
"This procedure converts the specified image to 'indexed' color. This process requires an image in RGB or Grayscale mode. 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).",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Convert specified image to and Indexed image",
|
||||
"This procedure converts the specified image to 'indexed' color. This process requires an image in RGB or Grayscale mode. 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).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -376,13 +379,14 @@ register_image_convert_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_convert_set_dither_matrix_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-convert-set-dither-matrix");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set dither matrix for conversion to indexed",
|
||||
"This procedure sets the dither matrix used when converting images to INDEXED mode with positional dithering.",
|
||||
NULL,
|
||||
"David Gowers",
|
||||
"David Gowers",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set dither matrix for conversion to indexed",
|
||||
"This procedure sets the dither matrix used when converting images to INDEXED mode with positional dithering.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"David Gowers",
|
||||
"David Gowers",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("width",
|
||||
"width",
|
||||
|
@ -415,13 +419,14 @@ register_image_convert_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_convert_precision_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-convert-precision");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Convert the image to the specified precision",
|
||||
"This procedure converts the image to the specified precision. Note that indexed images cannot be converted and are always in GIMP_PRECISION_U8.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Convert the image to the specified precision",
|
||||
"This procedure converts the image to the specified precision. Note that indexed images cannot be converted and are always in GIMP_PRECISION_U8.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -392,13 +392,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_get_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-get-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets the spacing of an image's grid.",
|
||||
"This procedure retrieves the horizontal and vertical spacing of an image's grid. It takes the image as parameter.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets the spacing of an image's grid.",
|
||||
"This procedure retrieves the horizontal and vertical spacing of an image's grid. It takes the image as parameter.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -426,13 +427,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_set_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-set-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the spacing of an image's grid.",
|
||||
"This procedure sets the horizontal and vertical spacing of an image's grid.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the spacing of an image's grid.",
|
||||
"This procedure sets the horizontal and vertical spacing of an image's grid.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -460,13 +462,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_get_offset_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-get-offset");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets the offset of an image's grid.",
|
||||
"This procedure retrieves the horizontal and vertical offset of an image's grid. It takes the image as parameter.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets the offset of an image's grid.",
|
||||
"This procedure retrieves the horizontal and vertical offset of an image's grid. It takes the image as parameter.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -494,13 +497,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_set_offset_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-set-offset");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the offset of an image's grid.",
|
||||
"This procedure sets the horizontal and vertical offset of an image's grid.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the offset of an image's grid.",
|
||||
"This procedure sets the horizontal and vertical offset of an image's grid.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -528,13 +532,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_get_foreground_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-get-foreground-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the foreground color of an image's grid.",
|
||||
"This procedure gets the foreground color of an image's grid.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the foreground color of an image's grid.",
|
||||
"This procedure gets the foreground color of an image's grid.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -557,13 +562,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_set_foreground_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-set-foreground-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets the foreground color of an image's grid.",
|
||||
"This procedure sets the foreground color of an image's grid.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets the foreground color of an image's grid.",
|
||||
"This procedure sets the foreground color of an image's grid.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -586,13 +592,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_get_background_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-get-background-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the background color of an image's grid.",
|
||||
"This procedure gets the background color of an image's grid.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the background color of an image's grid.",
|
||||
"This procedure gets the background color of an image's grid.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -615,13 +622,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_set_background_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-set-background-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets the background color of an image's grid.",
|
||||
"This procedure sets the background color of an image's grid.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets the background color of an image's grid.",
|
||||
"This procedure sets the background color of an image's grid.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -644,13 +652,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_get_style_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-get-style");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets the style of an image's grid.",
|
||||
"This procedure retrieves the style of an image's grid.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets the style of an image's grid.",
|
||||
"This procedure retrieves the style of an image's grid.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -673,13 +682,14 @@ register_image_grid_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_grid_set_style_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-grid-set-style");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the style unit of an image's grid.",
|
||||
"This procedure sets the style of an image's grid. It takes the image and the new style as parameters.",
|
||||
NULL,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the style unit of an image's grid.",
|
||||
"This procedure sets the style of an image's grid. It takes the image and the new style as parameters.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sylvain Foret",
|
||||
"Sylvain Foret",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -274,13 +274,14 @@ register_image_guides_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_add_hguide_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-add-hguide");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -308,13 +309,14 @@ register_image_guides_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_add_vguide_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-add-vguide");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -342,13 +344,14 @@ register_image_guides_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_delete_guide_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-delete-guide");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -370,13 +373,14 @@ register_image_guides_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_find_next_guide_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-find-next-guide");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -404,13 +408,14 @@ register_image_guides_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_get_guide_orientation_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-get-guide-orientation");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -441,13 +446,14 @@ register_image_guides_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_get_guide_position_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-get-guide-position");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -208,13 +208,14 @@ register_image_sample_points_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_add_sample_point_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-add-sample-point");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Add a sample point to an image.",
|
||||
"This procedure adds a sample point to an image. It takes the input image and the position of the new sample points as parameters. It returns the sample point ID of the new sample point.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Add a sample point to an image.",
|
||||
"This procedure adds a sample point to an image. It takes the input image and the position of the new sample points as parameters. It returns the sample point ID of the new sample point.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -248,13 +249,14 @@ register_image_sample_points_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_delete_sample_point_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-delete-sample-point");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Deletes a sample point from an image.",
|
||||
"This procedure takes an image and a sample point ID as input and removes the specified sample point from the specified image.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Deletes a sample point from an image.",
|
||||
"This procedure takes an image and a sample point ID as input and removes the specified sample point from the specified image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -276,13 +278,14 @@ register_image_sample_points_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_find_next_sample_point_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-find-next-sample-point");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Find next sample point on an image.",
|
||||
"This procedure takes an image and a sample point ID as input and finds the sample point ID of the successor of the given sample point ID in the image's sample point list. If the supplied sample point ID is 0, the procedure will return the first sample point. The procedure will return 0 if given the final sample point ID as an argument or the image has no sample points.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Find next sample point on an image.",
|
||||
"This procedure takes an image and a sample point ID as input and finds the sample point ID of the successor of the given sample point ID in the image's sample point list. If the supplied sample point ID is 0, the procedure will return the first sample point. The procedure will return 0 if given the final sample point ID as an argument or the image has no sample points.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -310,13 +313,14 @@ register_image_sample_points_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_get_sample_point_position_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-get-sample-point-position");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get position of a sample point on an image.",
|
||||
"This procedure takes an image and a sample point ID as input and returns the position of the sample point relative to the top and left of the image.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get position of a sample point on an image.",
|
||||
"This procedure takes an image and a sample point ID as input and returns the position of the sample point relative to the top and left of the image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -362,17 +362,18 @@ register_image_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_select_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-select-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 current context settings. Essentially, all pixels (in the drawable) that have color sufficiently close to the specified color (as determined by the threshold and criterion context values) are included in the selection. To select transparent regions, the color specified must also have minimum alpha.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 current context settings. Essentially, all pixels (in the drawable) that have color sufficiently close to the specified color (as determined by the threshold and criterion context values) are included in the selection. To select transparent regions, the color specified must also have minimum alpha.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius', 'gimp-context-set-sample-merged', 'gimp-context-set-sample-criterion', 'gimp-context-set-sample-threshold', 'gimp-context-set-sample-transparent'.\n"
|
||||
"\n"
|
||||
"In the case of a merged sampling, the supplied drawable is ignored.",
|
||||
NULL,
|
||||
"David Gowers",
|
||||
"David Gowers",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"David Gowers",
|
||||
"David Gowers",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -408,17 +409,18 @@ register_image_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_select_contiguous_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-select-contiguous-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Create a selection by selecting all pixels around specified coordinates with the same (or similar) color to that at the coordinates.",
|
||||
"This tool creates a contiguous selection over the specified image. A contiguous color selection is determined by a seed fill under the constraints of the current context settings. 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 and criterion context settings). This process continues until no more expansion is possible. If antialiasing is turned on, the final selection mask will contain intermediate values based on close misses to the threshold bar at pixels along the seed fill boundary.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Create a selection by selecting all pixels around specified coordinates with the same (or similar) color to that at the coordinates.",
|
||||
"This tool creates a contiguous selection over the specified image. A contiguous color selection is determined by a seed fill under the constraints of the current context settings. 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 and criterion context settings). This process continues until no more expansion is possible. If antialiasing is turned on, the final selection mask will contain intermediate values based on close misses to the threshold bar at pixels along the seed fill boundary.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius', 'gimp-context-set-sample-merged', 'gimp-context-set-sample-criterion', 'gimp-context-set-sample-threshold', 'gimp-context-set-sample-transparent', 'gimp-context-set-diagonal-neighbors'.\n"
|
||||
"\n"
|
||||
"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.",
|
||||
NULL,
|
||||
"David Gowers",
|
||||
"David Gowers",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"David Gowers",
|
||||
"David Gowers",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -459,15 +461,16 @@ register_image_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_select_rectangle_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-select-rectangle");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -514,15 +517,16 @@ register_image_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_select_round_rectangle_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-select-round-rectangle");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Create a rectangular selection with round corners over the specified image;",
|
||||
"This tool creates a rectangular selection with round corners over the specified image. The rectangular region can be either added to, subtracted from, or replace the contents of the previous selection mask.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Create a rectangular selection with round corners over the specified image;",
|
||||
"This tool creates a rectangular selection with round corners over the specified image. The rectangular region can be either added to, subtracted from, or replace the contents of the previous selection mask.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
|
||||
NULL,
|
||||
"Martin Nordholts",
|
||||
"Martin Nordholts",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Martin Nordholts",
|
||||
"Martin Nordholts",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -581,15 +585,16 @@ register_image_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_select_ellipse_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-select-ellipse");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -636,15 +641,16 @@ register_image_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_select_polygon_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-select-polygon");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -678,15 +684,16 @@ register_image_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_select_item_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-select-item");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Transforms the specified item into a selection",
|
||||
"This procedure renders the item's outline into the current selection of the image the item belongs to. What exactly the item's outline is depends on the item type: for layers, it's the layer's alpha channel, for vectors the vector's shape.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Transforms the specified item into a selection",
|
||||
"This procedure renders the item's outline into the current selection of the image the item belongs to. What exactly the item's outline is depends on the item type: for layers, it's the layer's alpha channel, for vectors the vector's shape.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -236,13 +236,14 @@ register_image_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_resize_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-resize");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -282,13 +283,14 @@ register_image_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_resize_to_layers_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-resize-to-layers");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -304,13 +306,14 @@ register_image_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_scale_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-scale");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Scale the image using the default interpolation method.",
|
||||
"This procedure scales the image so that its new width and height are equal to the supplied parameters. All layers and channels within the image are scaled according to the specified parameters; this includes the image selection mask. The interpolation method used can be set with 'gimp-context-set-interpolation'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Scale the image using the default interpolation method.",
|
||||
"This procedure scales the image so that its new width and height are equal to the supplied parameters. All layers and channels within the image are scaled according to the specified parameters; this includes the image selection mask. The interpolation method used can be set with 'gimp-context-set-interpolation'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -338,13 +341,14 @@ register_image_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_crop_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-crop");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -384,13 +388,14 @@ register_image_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_flip_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-flip");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Flips the image horizontally or vertically.",
|
||||
"This procedure flips (mirrors) the image.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Flips the image horizontally or vertically.",
|
||||
"This procedure flips (mirrors) the image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -415,13 +420,14 @@ register_image_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_rotate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-rotate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Rotates the image by the specified degrees.",
|
||||
"This procedure rotates the image.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Rotates the image by the specified degrees.",
|
||||
"This procedure rotates the image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -290,13 +290,14 @@ register_image_undo_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_undo_group_start_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-undo-group-start");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -312,13 +313,14 @@ register_image_undo_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_undo_group_end_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-undo-group-end");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Finish a group undo.",
|
||||
"This function must be called once for each 'gimp-image-undo-group-start' call that is made.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Finish a group undo.",
|
||||
"This function must be called once for each 'gimp-image-undo-group-start' call that is made.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -334,13 +336,14 @@ register_image_undo_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_undo_is_enabled_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-undo-is-enabled");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 plug-ins or scripts call each other and want to check if their caller has already used 'gimp-image-undo-disable' or 'gimp-image-undo-freeze'.",
|
||||
NULL,
|
||||
"Rapha\xc3\xabl Quinet <raphael@gimp.org>",
|
||||
"Rapha\xc3\xabl Quinet",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 plug-ins or scripts call each other and want to check if their caller has already used 'gimp-image-undo-disable' or 'gimp-image-undo-freeze'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Rapha\xc3\xabl Quinet <raphael@gimp.org>",
|
||||
"Rapha\xc3\xabl Quinet",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -362,13 +365,14 @@ register_image_undo_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_undo_disable_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-undo-disable");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -390,13 +394,14 @@ register_image_undo_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_undo_enable_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-undo-enable");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -418,13 +423,14 @@ register_image_undo_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_undo_freeze_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-undo-freeze");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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' / 'gimp-image-undo-thaw' and 'gimp-image-undo-disable' / 'gimp-image-undo-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.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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' / 'gimp-image-undo-thaw' and 'gimp-image-undo-disable' / 'gimp-image-undo-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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -446,13 +452,14 @@ register_image_undo_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (image_undo_thaw_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-image-undo-thaw");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 plug-in previews. Balancing freezes and thaws and ensuring image consistency is the responsibility of the caller.",
|
||||
NULL,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 plug-in previews. Balancing freezes and thaws and ensuring image consistency is the responsibility of the caller.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adam D. Moss",
|
||||
"Adam D. Moss",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -1034,13 +1034,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_valid_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-valid");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns TRUE if the item ID is valid.",
|
||||
"This procedure checks if the given item ID is valid and refers to an existing item.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2007");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns TRUE if the item ID is valid.",
|
||||
"This procedure checks if the given item ID is valid and refers to an existing item.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2007");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1062,13 +1063,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_drawable_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-drawable");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item ID is a drawable.",
|
||||
"This procedure returns TRUE if the specified item ID is a drawable.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item ID is a drawable.",
|
||||
"This procedure returns TRUE if the specified item ID is a drawable.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1090,13 +1092,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_layer_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-layer");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item ID is a layer.",
|
||||
"This procedure returns TRUE if the specified item ID is a layer.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item ID is a layer.",
|
||||
"This procedure returns TRUE if the specified item ID is a layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1118,13 +1121,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_text_layer_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-text-layer");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item ID is a text layer.",
|
||||
"This procedure returns TRUE if the specified item ID is a text layer.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item ID is a text layer.",
|
||||
"This procedure returns TRUE if the specified item ID is a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1146,13 +1150,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_channel_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-channel");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item ID is a channel.",
|
||||
"This procedure returns TRUE if the specified item ID is a channel.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item ID is a channel.",
|
||||
"This procedure returns TRUE if the specified item ID is a channel.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1174,13 +1179,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_layer_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-layer-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item ID is a layer mask.",
|
||||
"This procedure returns TRUE if the specified item ID is a layer mask.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item ID is a layer mask.",
|
||||
"This procedure returns TRUE if the specified item ID is a layer mask.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1202,13 +1208,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_selection_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-selection");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item ID is a selection.",
|
||||
"This procedure returns TRUE if the specified item ID is a selection.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item ID is a selection.",
|
||||
"This procedure returns TRUE if the specified item ID is a selection.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1230,13 +1237,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_id_is_vectors_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-id-is-vectors");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item ID is a vectors.",
|
||||
"This procedure returns TRUE if the specified item ID is a vectors.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item ID is a vectors.",
|
||||
"This procedure returns TRUE if the specified item ID is a vectors.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_int ("item-id",
|
||||
"item id",
|
||||
|
@ -1258,13 +1266,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_image_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-image");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the item's image.",
|
||||
"This procedure returns the item's image.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the item's image.",
|
||||
"This procedure returns the item's image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1286,13 +1295,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_delete_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-delete");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Delete a item.",
|
||||
"This procedure deletes the specified item. This must not be done if the image containing this item was already deleted or if the item was already removed from the image. The only case in which this procedure is useful is if you want to get rid of a item which has not yet been added to an image.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Delete a item.",
|
||||
"This procedure deletes the specified item. This must not be done if the image containing this item was already deleted or if the item was already removed from the image. The only case in which this procedure is useful is if you want to get rid of a item which has not yet been added to an image.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1308,13 +1318,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_is_group_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-is-group");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item is a group item.",
|
||||
"This procedure returns TRUE if the specified item is a group item which can have children.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item is a group item.",
|
||||
"This procedure returns TRUE if the specified item is a group item which can have children.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1336,13 +1347,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_parent_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-parent");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the item's parent item.",
|
||||
"This procedure returns the item's parent item, if any.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the item's parent item.",
|
||||
"This procedure returns the item's parent item, if any.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1364,13 +1376,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_children_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-children");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the item's list of children.",
|
||||
"This procedure returns the list of items which are children of the specified item. The order is topmost to bottommost.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the item's list of children.",
|
||||
"This procedure returns the list of items which are children of the specified item. The order is topmost to bottommost.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1398,13 +1411,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_expanded_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-expanded");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns whether the item is expanded.",
|
||||
"This procedure returns TRUE if the specified item is expanded.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns whether the item is expanded.",
|
||||
"This procedure returns TRUE if the specified item is expanded.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1426,13 +1440,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_expanded_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-expanded");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the expanded state of the item.",
|
||||
"This procedure expands or collapses the item.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the expanded state of the item.",
|
||||
"This procedure expands or collapses the item.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1454,13 +1469,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_name_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-name");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the name of the specified item.",
|
||||
"This procedure returns the specified item's name.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the name of the specified item.",
|
||||
"This procedure returns the specified item's name.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1483,13 +1499,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_name_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-name");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the name of the specified item.",
|
||||
"This procedure sets the specified item's name.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the name of the specified item.",
|
||||
"This procedure sets the specified item's name.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1512,13 +1529,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_visible_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-visible");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the visibility of the specified item.",
|
||||
"This procedure returns the specified item's visibility.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the visibility of the specified item.",
|
||||
"This procedure returns the specified item's visibility.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1540,13 +1558,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_visible_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-visible");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the visibility of the specified item.",
|
||||
"This procedure sets the specified item's visibility.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the visibility of the specified item.",
|
||||
"This procedure sets the specified item's visibility.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1568,13 +1587,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_linked_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-linked");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the linked state of the specified item.",
|
||||
"This procedure returns the specified item's linked state.",
|
||||
NULL,
|
||||
"Wolfgang Hofer",
|
||||
"Wolfgang Hofer",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the linked state of the specified item.",
|
||||
"This procedure returns the specified item's linked state.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Wolfgang Hofer",
|
||||
"Wolfgang Hofer",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1596,13 +1616,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_linked_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-linked");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the linked state of the specified item.",
|
||||
"This procedure sets the specified item's linked state.",
|
||||
NULL,
|
||||
"Wolfgang Hofer",
|
||||
"Wolfgang Hofer",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the linked state of the specified item.",
|
||||
"This procedure sets the specified item's linked state.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Wolfgang Hofer",
|
||||
"Wolfgang Hofer",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1624,13 +1645,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_lock_content_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-lock-content");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the 'lock content' state of the specified item.",
|
||||
"This procedure returns the specified item's lock content state.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2009");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the 'lock content' state of the specified item.",
|
||||
"This procedure returns the specified item's lock content state.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2009");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1652,13 +1674,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_lock_content_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-lock-content");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the 'lock content' state of the specified item.",
|
||||
"This procedure sets the specified item's lock content state.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2009");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the 'lock content' state of the specified item.",
|
||||
"This procedure sets the specified item's lock content state.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2009");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1680,13 +1703,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_lock_position_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-lock-position");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the 'lock position' state of the specified item.",
|
||||
"This procedure returns the specified item's lock position state.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the 'lock position' state of the specified item.",
|
||||
"This procedure returns the specified item's lock position state.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2012");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1708,13 +1732,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_lock_position_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-lock-position");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the 'lock position' state of the specified item.",
|
||||
"This procedure sets the specified item's lock position state.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2009");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the 'lock position' state of the specified item.",
|
||||
"This procedure sets the specified item's lock position state.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2009");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1736,13 +1761,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_color_tag_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-color-tag");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the color tag of the specified item.",
|
||||
"This procedure returns the specified item's color tag.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the color tag of the specified item.",
|
||||
"This procedure returns the specified item's color tag.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1765,13 +1791,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_color_tag_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-color-tag");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the color tag of the specified item.",
|
||||
"This procedure sets the specified item's color tag.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the color tag of the specified item.",
|
||||
"This procedure sets the specified item's color tag.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2016");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1794,13 +1821,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_tattoo_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-tattoo");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the tattoo of the specified item.",
|
||||
"This procedure returns the specified item's tattoo. A tattoo is a unique and permanent identifier attached to a item that can be used to uniquely identify a item within an image even between sessions.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the tattoo of the specified item.",
|
||||
"This procedure returns the specified item's tattoo. A tattoo is a unique and permanent identifier attached to a item that can be used to uniquely identify a item within an image even between sessions.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1822,13 +1850,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_set_tattoo_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-set-tattoo");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the tattoo of the specified item.",
|
||||
"This procedure sets the specified item's tattoo. A tattoo is a unique and permanent identifier attached to a item that can be used to uniquely identify a item within an image even between sessions.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the tattoo of the specified item.",
|
||||
"This procedure sets the specified item's tattoo. A tattoo is a unique and permanent identifier attached to a item that can be used to uniquely identify a item within an image even between sessions.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1850,13 +1879,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_attach_parasite_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-attach-parasite");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Add a parasite to an item.",
|
||||
"This procedure attaches a parasite to an item. It has no return values.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Add a parasite to an item.",
|
||||
"This procedure attaches a parasite to an item. It has no return values.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1877,13 +1907,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_detach_parasite_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-detach-parasite");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Removes a parasite from an item.",
|
||||
"This procedure detaches a parasite from an item. It has no return values.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Removes a parasite from an item.",
|
||||
"This procedure detaches a parasite from an item. It has no return values.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1906,13 +1937,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_parasite_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-parasite");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Look up a parasite in an item",
|
||||
"Finds and returns the parasite that is attached to an item.",
|
||||
NULL,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Look up a parasite in an item",
|
||||
"Finds and returns the parasite that is attached to an item.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jay Cox",
|
||||
"Jay Cox",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1940,13 +1972,14 @@ register_item_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_get_parasite_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-get-parasite-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"List all parasites.",
|
||||
"Returns a list of all parasites currently attached the an item.",
|
||||
NULL,
|
||||
"Marc Lehmann",
|
||||
"Marc Lehmann",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"List all parasites.",
|
||||
"Returns a list of all parasites currently attached the an item.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marc Lehmann",
|
||||
"Marc Lehmann",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
|
|
@ -1028,15 +1028,16 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_translate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-translate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Translate the item by the specified offsets.",
|
||||
"This procedure translates the item by the amounts specified in the off_x and off_y arguments. These can be negative, and are considered offsets from the current position. The offsets will be rounded to the nearest pixel unless the item is a path.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Translate the item by the specified offsets.",
|
||||
"This procedure translates the item by the amounts specified in the off_x and off_y arguments. These can be negative, and are considered offsets from the current position. The offsets will be rounded to the nearest pixel unless the item is a path.\n"
|
||||
"\n"
|
||||
"If the item is attached to an image and has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be translated by the specified offsets.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2018");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1070,19 +1071,20 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_flip_simple_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-flip-simple");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Flip the specified item either vertically or horizontally.",
|
||||
"This procedure flips the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Flip the specified item either vertically or horizontally.",
|
||||
"This procedure flips the specified item.\n"
|
||||
"\n"
|
||||
"If a selection exists and the item is a drawable, 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 floating selection.\n"
|
||||
"\n"
|
||||
"If there is no selection or the item is not a drawable, the entire item will be flipped around its center if auto_center is set to TRUE, otherwise the coordinate of the axis needs to be specified. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be flipped around the same axis. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1125,19 +1127,20 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_flip_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-flip");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Flip the specified item around a given line.",
|
||||
"This procedure flips the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Flip the specified item around a given line.",
|
||||
"This procedure flips the specified item.\n"
|
||||
"\n"
|
||||
"If a selection exists and the item is a drawable, 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 floating selection.\n"
|
||||
"\n"
|
||||
"If there is no selection or the item is not a drawable, the entire item will be flipped around the specified axis. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be flipped around the same axis. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1183,9 +1186,9 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_perspective_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-perspective");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Perform a possibly non-affine transformation on the specified item.",
|
||||
"This procedure performs a possibly non-affine transformation on the specified item by allowing the corners of the original bounding box to be arbitrarily remapped to any values.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Perform a possibly non-affine transformation on the specified item.",
|
||||
"This procedure performs a possibly non-affine transformation on the specified item by allowing the corners of the original bounding box to be arbitrarily remapped to any values.\n"
|
||||
"\n"
|
||||
"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 item will appear to have been projected via a perspective transform.\n"
|
||||
"\n"
|
||||
|
@ -1194,10 +1197,11 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
"If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified mapping. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be transformed the same way. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1267,19 +1271,20 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_rotate_simple_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-rotate-simple");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Rotate the specified item about given coordinates through the specified angle.",
|
||||
"This function rotates the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Rotate the specified item about given coordinates through the specified angle.",
|
||||
"This function rotates the specified item.\n"
|
||||
"\n"
|
||||
"If a selection exists and the item is a drawable, 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. If auto_center is set to TRUE, the rotation is around the selection's center. Otherwise, the coordinate of the center point needs to be specified. The return value is the ID of the rotated floating selection.\n"
|
||||
"\n"
|
||||
"If there is no selection or the item is not a drawable, the entire item will be rotated around its center if auto_center is set to TRUE, otherwise the coordinate of the center point needs to be specified. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be rotated around the same center point. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1326,19 +1331,20 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_rotate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-rotate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Rotate the specified item about given coordinates through the specified angle.",
|
||||
"This function rotates the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Rotate the specified item about given coordinates through the specified angle.",
|
||||
"This function rotates the specified item.\n"
|
||||
"\n"
|
||||
"If a selection exists and the item is a drawable, 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. If auto_center is set to TRUE, the rotation is around the selection's center. Otherwise, the coordinate of the center point needs to be specified. The return value is the ID of the rotated floating selection.\n"
|
||||
"\n"
|
||||
"If there is no selection or the item is not a drawable, the entire item will be rotated around its center if auto_center is set to TRUE, otherwise the coordinate of the center point needs to be specified. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be rotated around the same center point. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1384,9 +1390,9 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_scale_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-scale");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Scale the specified item.",
|
||||
"This procedure scales the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Scale the specified item.",
|
||||
"This procedure scales the specified item.\n"
|
||||
"\n"
|
||||
"The 2 coordinates specify the new locations of the top-left and bottom-roght corners of the original bounding box.\n"
|
||||
"\n"
|
||||
|
@ -1395,10 +1401,11 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
"If there is no selection or the item is not a drawable, the entire item will be scaled according to the specified coordinates. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be scaled the same way. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1444,9 +1451,9 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_shear_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-shear");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Shear the specified item about its center by the specified magnitude.",
|
||||
"This procedure shears the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Shear the specified item about its center by the specified magnitude.",
|
||||
"This procedure shears the specified item.\n"
|
||||
"\n"
|
||||
"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.\n"
|
||||
"\n"
|
||||
|
@ -1455,10 +1462,11 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
"If there is no selection or the item is not a drawable, the entire item will be sheared according to the specified parameters. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be sheared the same way. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1495,9 +1503,9 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_2d_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-2d");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Transform the specified item in 2d.",
|
||||
"This procedure transforms the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Transform the specified item in 2d.",
|
||||
"This procedure transforms the specified item.\n"
|
||||
"\n"
|
||||
"The transformation is done by scaling 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).\n"
|
||||
"\n"
|
||||
|
@ -1506,10 +1514,11 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
"If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified parameters. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be transformed the same way. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
@ -1573,9 +1582,9 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (item_transform_matrix_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-item-transform-matrix");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Transform the specified item in 2d.",
|
||||
"This procedure transforms the specified item.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Transform the specified item in 2d.",
|
||||
"This procedure transforms the specified item.\n"
|
||||
"\n"
|
||||
"The transformation is done by assembling a 3x3 matrix from the coefficients passed.\n"
|
||||
"\n"
|
||||
|
@ -1584,10 +1593,11 @@ register_item_transform_procs (GimpPDB *pdb)
|
|||
"If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified matrix. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be transformed the same way. The return value will be equal to the item ID supplied as input.\n"
|
||||
"\n"
|
||||
"This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_item ("item",
|
||||
"item",
|
||||
|
|
|
@ -1257,13 +1257,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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-insert-layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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-insert-layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -1324,13 +1325,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_new_from_visible_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-new-from-visible");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Create a new layer from what is visible in an image.",
|
||||
"This procedure creates a new layer from what is visible in the given image. The new layer still needs to be added to the destination image, as this is not automatic. Add the new layer with the 'gimp-image-insert-layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Create a new layer from what is visible in an image.",
|
||||
"This procedure creates a new layer from what is visible in the given image. The new layer still needs to be added to the destination image, as this is not automatic. Add the new layer with the 'gimp-image-insert-layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -1365,13 +1367,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_new_from_drawable_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-new-from-drawable");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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-insert-layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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-insert-layer' command. Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1399,14 +1402,15 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_group_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-group-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Create a new layer group.",
|
||||
"This procedure creates a new layer group. Attributes such as layer mode and opacity should be set with explicit procedure calls. Add the new layer group (which is a kind of layer) with the 'gimp-image-insert-layer' command.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Create a new layer group.",
|
||||
"This procedure creates a new layer group. Attributes such as layer mode and opacity should be set with explicit procedure calls. Add the new layer group (which is a kind of layer) with the 'gimp-image-insert-layer' command.\n"
|
||||
"Other procedures useful with layer groups: 'gimp-image-reorder-item', 'gimp-item-get-parent', 'gimp-item-get-children', 'gimp-item-is-group'.",
|
||||
NULL,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2010");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -1428,13 +1432,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_copy_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-copy");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1462,13 +1467,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_add_alpha_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-add-alpha");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 clear and erase to transparency, instead of the background color. This transforms layers of type RGB to RGBA, GRAY to GRAYA, and INDEXED to INDEXEDA.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 clear and erase to transparency, instead of the background color. This transforms layers of type RGB to RGBA, GRAY to GRAYA, and INDEXED to INDEXEDA.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1484,13 +1490,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_flatten_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-flatten");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Remove the alpha channel from the layer if it has one.",
|
||||
"This procedure removes the alpha channel from a layer, blending all (partially) transparent pixels in the layer against the background color. This transforms layers of type RGBA to RGB, GRAYA to GRAY, and INDEXEDA to INDEXED.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2007");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Remove the alpha channel from the layer if it has one.",
|
||||
"This procedure removes the alpha channel from a layer, blending all (partially) transparent pixels in the layer against the background color. This transforms layers of type RGBA to RGB, GRAYA to GRAY, and INDEXEDA to INDEXED.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2007");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1506,13 +1513,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_scale_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-scale");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Scale the layer using the default interpolation method.",
|
||||
"This procedure scales the layer so that its 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. The interpolation method used can be set with 'gimp-context-set-interpolation'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Scale the layer using the default interpolation method.",
|
||||
"This procedure scales the layer so that its 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. The interpolation method used can be set with 'gimp-context-set-interpolation'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1546,13 +1554,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_resize_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-resize");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Resize the layer to the specified extents.",
|
||||
"This procedure resizes the layer so that its 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Resize the layer to the specified extents.",
|
||||
"This procedure resizes the layer so that its 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1592,13 +1601,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_resize_to_image_size_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-resize-to-image-size");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"2003");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"2003");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1614,13 +1624,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_offsets_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-offsets");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1648,9 +1659,9 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_create_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-create-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Create a layer mask for the specified layer.",
|
||||
"This procedure creates a layer mask for the specified layer.\n"
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Create a layer mask for the specified layer.",
|
||||
"This procedure creates a layer mask for the specified layer.\n"
|
||||
"Layer masks serve as an additional alpha channel for a layer. Different types of masks are allowed for initialisation:\n"
|
||||
"- white mask (leaves the layer fully visible);\n"
|
||||
"- black mask (gives the layer complete transparency);\n"
|
||||
|
@ -1662,10 +1673,11 @@ register_layer_procs (GimpPDB *pdb)
|
|||
"The layer mask still needs to be added to the layer. This can be done with a call to 'gimp-layer-add-mask'.\n"
|
||||
"\n"
|
||||
"'gimp-layer-create-mask' will fail if there are no active channels on the image, when called with 'ADD-CHANNEL-MASK'. It will return a black mask when called with 'ADD-ALPHA-MASK' or 'ADD-ALPHA-TRANSFER-MASK' on a layer with no alpha channels, or with 'ADD-SELECTION-MASK' when there is no selection on the image.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1694,13 +1706,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the specified layer's mask if it exists.",
|
||||
"This procedure returns the specified layer's mask, or -1 if none exists.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the specified layer's mask if it exists.",
|
||||
"This procedure returns the specified layer's mask, or -1 if none exists.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1722,13 +1735,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_from_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-from-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the specified mask's layer.",
|
||||
"This procedure returns the specified mask's layer , or -1 if none exists.",
|
||||
NULL,
|
||||
"Geert Jordaens",
|
||||
"Geert Jordaens",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the specified mask's layer.",
|
||||
"This procedure returns the specified mask's layer , or -1 if none exists.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Geert Jordaens",
|
||||
"Geert Jordaens",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer_mask ("mask",
|
||||
"mask",
|
||||
|
@ -1750,13 +1764,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_add_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-add-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. The layer must have been created for use with the specified image and the mask must have been created with the procedure 'gimp-layer-create-mask'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. The layer must have been created for use with the specified image and the mask must have been created with the procedure 'gimp-layer-create-mask'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1778,13 +1793,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_remove_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-remove-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1807,13 +1823,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_is_floating_sel_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-is-floating-sel");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1835,13 +1852,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_lock_alpha_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-lock-alpha");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the lock alpha channel setting of the specified layer.",
|
||||
"This procedure returns the specified layer's lock alpha channel setting.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the lock alpha channel setting of the specified layer.",
|
||||
"This procedure returns the specified layer's lock alpha channel setting.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1863,13 +1881,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_lock_alpha_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-lock-alpha");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the lock alpha channel setting of the specified layer.",
|
||||
"This procedure sets the specified layer's lock alpha channel setting.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the lock alpha channel setting of the specified layer.",
|
||||
"This procedure sets the specified layer's lock alpha channel setting.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1891,13 +1910,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_apply_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-apply-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the apply mask setting of the specified layer.",
|
||||
"This procedure returns the specified layer's apply mask setting. If the value is TRUE, then the layer mask for this layer is currently being composited with the layer's alpha channel.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the apply mask setting of the specified layer.",
|
||||
"This procedure returns the specified layer's apply mask setting. If the value is TRUE, then the layer mask for this layer is currently being composited with the layer's alpha channel.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1919,13 +1939,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_apply_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-apply-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the apply mask setting of the specified layer.",
|
||||
"This procedure sets the specified layer's apply mask setting. 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the apply mask setting of the specified layer.",
|
||||
"This procedure sets the specified layer's apply mask setting. 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1947,13 +1968,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_show_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-show-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the show mask setting of the specified layer.",
|
||||
"This procedure returns the specified layer's show mask setting. This controls whether the layer or its mask is visible. TRUE indicates that the mask should be visible. If the layer has no mask, then this function returns an error.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the show mask setting of the specified layer.",
|
||||
"This procedure returns the specified layer's show mask setting. This controls whether the layer or its mask is visible. TRUE indicates that the mask should be visible. If the layer has no mask, then this function returns an error.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1975,13 +1997,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_show_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-show-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the show mask setting of the specified layer.",
|
||||
"This procedure sets the specified layer's show mask setting. This controls whether the layer or its mask is visible. TRUE indicates that the mask should be visible. If there is no layer mask, this function will return an error.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the show mask setting of the specified layer.",
|
||||
"This procedure sets the specified layer's show mask setting. This controls whether the layer or its mask is visible. TRUE indicates that the mask should be visible. If there is no layer mask, this function will return an error.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2003,13 +2026,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_edit_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-edit-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the edit mask setting of the specified layer.",
|
||||
"This procedure returns the specified layer's edit mask setting. If the value is TRUE, then the layer mask for this layer is currently active, and not the layer.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the edit mask setting of the specified layer.",
|
||||
"This procedure returns the specified layer's edit mask setting. If the value is TRUE, then the layer mask for this layer is currently active, and not the layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2031,13 +2055,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_edit_mask_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-edit-mask");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the edit mask setting of the specified layer.",
|
||||
"This procedure sets the specified layer's edit mask setting. 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the edit mask setting of the specified layer.",
|
||||
"This procedure sets the specified layer's edit mask setting. 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2059,13 +2084,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_opacity_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-opacity");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the opacity of the specified layer.",
|
||||
"This procedure returns the specified layer's opacity.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the opacity of the specified layer.",
|
||||
"This procedure returns the specified layer's opacity.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2087,13 +2113,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_opacity_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-opacity");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the opacity of the specified layer.",
|
||||
"This procedure sets the specified layer's opacity.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the opacity of the specified layer.",
|
||||
"This procedure sets the specified layer's opacity.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2115,13 +2142,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_mode_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-mode");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the combination mode of the specified layer.",
|
||||
"This procedure returns the specified layer's combination mode.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the combination mode of the specified layer.",
|
||||
"This procedure returns the specified layer's combination mode.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2144,13 +2172,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_mode_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-mode");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the combination mode of the specified layer.",
|
||||
"This procedure sets the specified layer's combination mode.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the combination mode of the specified layer.",
|
||||
"This procedure sets the specified layer's combination mode.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2173,13 +2202,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_blend_space_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-blend-space");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the blend space of the specified layer.",
|
||||
"This procedure returns the specified layer's blend space.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the blend space of the specified layer.",
|
||||
"This procedure returns the specified layer's blend space.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2202,13 +2232,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_blend_space_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-blend-space");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the blend space of the specified layer.",
|
||||
"This procedure sets the specified layer's blend space.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the blend space of the specified layer.",
|
||||
"This procedure sets the specified layer's blend space.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2231,13 +2262,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_composite_space_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-composite-space");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the composite space of the specified layer.",
|
||||
"This procedure returns the specified layer's composite space.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the composite space of the specified layer.",
|
||||
"This procedure returns the specified layer's composite space.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2260,13 +2292,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_composite_space_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-composite-space");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the composite space of the specified layer.",
|
||||
"This procedure sets the specified layer's composite space.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the composite space of the specified layer.",
|
||||
"This procedure sets the specified layer's composite space.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2289,13 +2322,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_get_composite_mode_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-get-composite-mode");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the composite mode of the specified layer.",
|
||||
"This procedure returns the specified layer's composite mode.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the composite mode of the specified layer.",
|
||||
"This procedure returns the specified layer's composite mode.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -2318,13 +2352,14 @@ register_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (layer_set_composite_mode_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-layer-set-composite-mode");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the composite mode of the specified layer.",
|
||||
"This procedure sets the specified layer's composite mode.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the composite mode of the specified layer.",
|
||||
"This procedure sets the specified layer's composite mode.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2017");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
|
|
@ -120,13 +120,14 @@ register_message_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (message_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-message");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("message",
|
||||
"message",
|
||||
|
@ -143,13 +144,14 @@ register_message_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (message_get_handler_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-message-get-handler");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1998");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_enum ("handler",
|
||||
"handler",
|
||||
|
@ -166,13 +168,14 @@ register_message_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (message_set_handler_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-message-set-handler");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Manish Singh",
|
||||
"Manish Singh",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_enum ("handler",
|
||||
"handler",
|
||||
|
|
|
@ -950,13 +950,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (airbrush_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-airbrush");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -989,13 +990,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (airbrush_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-airbrush-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1022,13 +1024,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (clone_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-clone");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1080,13 +1083,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (clone_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-clone-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1113,13 +1117,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (convolve_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-convolve");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1159,13 +1164,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (convolve_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-convolve-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1192,13 +1198,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (dodgeburn_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-dodgeburn");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Dodgeburn image with varying exposure.",
|
||||
"Dodgeburn. More details here later.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Dodgeburn image with varying exposure.",
|
||||
"Dodgeburn. More details here later.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1245,13 +1252,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (dodgeburn_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-dodgeburn-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1278,13 +1286,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (eraser_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-eraser");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1325,13 +1334,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (eraser_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-eraser-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1358,13 +1368,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (heal_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-heal");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Heal from the source to the dest drawable using the current brush",
|
||||
"This tool heals the source drawable starting at the specified source coordinates to the dest drawable. For image healing, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The healing tool is capable of transforming between any image types except RGB->Indexed.",
|
||||
NULL,
|
||||
"Kevin Sookocheff",
|
||||
"Kevin Sookocheff",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Heal from the source to the dest drawable using the current brush",
|
||||
"This tool heals the source drawable starting at the specified source coordinates to the dest drawable. For image healing, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The healing tool is capable of transforming between any image types except RGB->Indexed.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Kevin Sookocheff",
|
||||
"Kevin Sookocheff",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1409,13 +1420,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (heal_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-heal-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Heal from the source to the dest drawable using the current brush",
|
||||
"This tool heals from the source drawable starting at the specified source coordinates to the dest drawable. This function performs exactly the same as the 'gimp-heal' function except that the tools arguments are obtained from the healing option dialog. It this dialog has not been activated then the dialogs default values will be used.",
|
||||
NULL,
|
||||
"Kevin Sookocheff",
|
||||
"Kevin Sookocheff",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Heal from the source to the dest drawable using the current brush",
|
||||
"This tool heals from the source drawable starting at the specified source coordinates to the dest drawable. This function performs exactly the same as the 'gimp-heal' function except that the tools arguments are obtained from the healing option dialog. It this dialog has not been activated then the dialogs default values will be used.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Kevin Sookocheff",
|
||||
"Kevin Sookocheff",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1442,13 +1454,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (paintbrush_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-paintbrush");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1494,13 +1507,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (paintbrush_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-paintbrush-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1527,13 +1541,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pencil_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pencil");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1560,13 +1575,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (smudge_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-smudge");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -1599,13 +1615,14 @@ register_paint_tools_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (smudge_default_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-smudge-default");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
|
|
@ -610,13 +610,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Creates a new palette",
|
||||
"This procedure creates a new, uninitialized palette",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Creates a new palette",
|
||||
"This procedure creates a new, uninitialized palette",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -640,13 +641,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_duplicate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-duplicate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Duplicates a palette",
|
||||
"This procedure creates an identical palette by a different name",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Duplicates a palette",
|
||||
"This procedure creates an identical palette by a different name",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -670,13 +672,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_rename_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-rename");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Rename a palette",
|
||||
"This procedure renames a palette",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Rename a palette",
|
||||
"This procedure renames a palette",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -707,13 +710,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_delete_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-delete");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Deletes a palette",
|
||||
"This procedure deletes a palette",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Deletes a palette",
|
||||
"This procedure deletes a palette",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -730,13 +734,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_is_editable_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-is-editable");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Tests if palette can be edited",
|
||||
"Returns TRUE if you have permission to change the palette",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Tests if palette can be edited",
|
||||
"Returns TRUE if you have permission to change the palette",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -759,13 +764,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_get_info_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-get-info");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieve information about the specified palette.",
|
||||
"This procedure retrieves information about the specified palette. This includes the name, and the number of colors.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieve information about the specified palette.",
|
||||
"This procedure retrieves information about the specified palette. This includes the name, and the number of colors.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -788,13 +794,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_get_colors_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-get-colors");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets all colors from the specified palette.",
|
||||
"This procedure retrieves all color entries of the specified palette.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets all colors from the specified palette.",
|
||||
"This procedure retrieves all color entries of the specified palette.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -822,13 +829,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_get_columns_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-get-columns");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the number of columns to use to display this palette",
|
||||
"This procedures retrieves the preferred number of columns to use when the palette is being displayed.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the number of columns to use to display this palette",
|
||||
"This procedures retrieves the preferred number of columns to use when the palette is being displayed.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -851,13 +859,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_set_columns_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-set-columns");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the number of columns to use when displaying the palette",
|
||||
"This procedures controls 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.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the number of columns to use when displaying the palette",
|
||||
"This procedures controls 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -880,13 +889,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_add_entry_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-add-entry");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Adds a palette entry to the specified palette.",
|
||||
"This procedure adds an entry to the specified palette. It returns an error if the entry palette does not exist.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Adds a palette entry to the specified palette.",
|
||||
"This procedure adds an entry to the specified palette. It returns an error if the entry palette does not exist.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -923,13 +933,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_delete_entry_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-delete-entry");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Deletes a palette entry from the specified palette.",
|
||||
"This procedure deletes an entry from the specified palette. It returns an error if the entry palette does not exist.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Deletes a palette entry from the specified palette.",
|
||||
"This procedure deletes an entry from the specified palette. It returns an error if the entry palette does not exist.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -952,13 +963,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_entry_get_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-entry-get-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets the specified palette entry from the specified palette.",
|
||||
"This procedure retrieves the color of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets the specified palette entry from the specified palette.",
|
||||
"This procedure retrieves the color of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -988,13 +1000,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_entry_set_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-entry-set-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the specified palette entry in the specified palette.",
|
||||
"This procedure sets the color of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the specified palette entry in the specified palette.",
|
||||
"This procedure sets the color of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1024,13 +1037,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_entry_get_name_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-entry-get-name");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Gets the specified palette entry from the specified palette.",
|
||||
"This procedure retrieves the name of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Gets the specified palette entry from the specified palette.",
|
||||
"This procedure retrieves the name of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -1060,13 +1074,14 @@ register_palette_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palette_entry_set_name_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palette-entry-set-name");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the specified palette entry in the specified palette.",
|
||||
"This procedure sets the name of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the specified palette entry in the specified palette.",
|
||||
"This procedure sets the name of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
|
|
@ -134,13 +134,14 @@ register_palette_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palettes_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palettes-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Invokes the Gimp palette selection.",
|
||||
"This procedure opens the palette selection dialog.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Invokes the Gimp palette selection.",
|
||||
"This procedure opens the palette selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("palette-callback",
|
||||
"palette callback",
|
||||
|
@ -171,13 +172,14 @@ register_palette_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palettes_close_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palettes-close-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Close the palette selection dialog.",
|
||||
"This procedure closes an opened palette selection dialog.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Close the palette selection dialog.",
|
||||
"This procedure closes an opened palette selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("palette-callback",
|
||||
"palette callback",
|
||||
|
@ -194,13 +196,14 @@ register_palette_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palettes_set_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palettes-set-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the current palette in a palette selection dialog.",
|
||||
"Sets the current palette in a palette selection dialog.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the current palette in a palette selection dialog.",
|
||||
"Sets the current palette in a palette selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("palette-callback",
|
||||
"palette callback",
|
||||
|
|
|
@ -100,13 +100,14 @@ register_palettes_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palettes_refresh_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palettes-refresh");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Adrian Likins <adrian@gimp.org>",
|
||||
"Adrian Likins",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Adrian Likins <adrian@gimp.org>",
|
||||
"Adrian Likins",
|
||||
"1998");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -116,13 +117,14 @@ register_palettes_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (palettes_get_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-palettes-get-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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'.",
|
||||
NULL,
|
||||
"Nathan Summers <rock@gimp.org>",
|
||||
"Nathan Summers",
|
||||
"2001");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Nathan Summers <rock@gimp.org>",
|
||||
"Nathan Summers",
|
||||
"2001");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filter",
|
||||
"filter",
|
||||
|
|
|
@ -161,13 +161,14 @@ register_pattern_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pattern_get_info_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pattern-get-info");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieve information about the specified pattern.",
|
||||
"This procedure retrieves information about the specified pattern. This includes the pattern extents (width and height).",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieve information about the specified pattern.",
|
||||
"This procedure retrieves information about the specified pattern. This includes the pattern extents (width and height).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -202,13 +203,14 @@ register_pattern_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pattern_get_pixels_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pattern-get-pixels");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
|
|
@ -134,13 +134,14 @@ register_pattern_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (patterns_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-patterns-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Invokes the Gimp pattern selection.",
|
||||
"This procedure opens the pattern selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Invokes the Gimp pattern selection.",
|
||||
"This procedure opens the pattern selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("pattern-callback",
|
||||
"pattern callback",
|
||||
|
@ -171,13 +172,14 @@ register_pattern_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (patterns_close_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-patterns-close-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Close the pattern selection dialog.",
|
||||
"This procedure closes an opened pattern selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Close the pattern selection dialog.",
|
||||
"This procedure closes an opened pattern selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("pattern-callback",
|
||||
"pattern callback",
|
||||
|
@ -194,13 +196,14 @@ register_pattern_select_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (patterns_set_popup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-patterns-set-popup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets the current pattern in a pattern selection dialog.",
|
||||
"Sets the current pattern in a pattern selection dialog.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets the current pattern in a pattern selection dialog.",
|
||||
"Sets the current pattern in a pattern selection dialog.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("pattern-callback",
|
||||
"pattern callback",
|
||||
|
|
|
@ -101,13 +101,14 @@ register_patterns_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (patterns_refresh_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-patterns-refresh");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2002");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -117,13 +118,14 @@ register_patterns_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (patterns_get_list_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-patterns-get-list");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filter",
|
||||
"filter",
|
||||
|
|
|
@ -860,13 +860,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_temp_name_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-temp-name");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Generates a unique temporary PDB name.",
|
||||
"This procedure generates a temporary PDB entry name that is guaranteed to be unique.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Generates a unique temporary PDB name.",
|
||||
"This procedure generates a temporary PDB entry name that is guaranteed to be unique.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
gimp_param_spec_string ("temp-name",
|
||||
"temp name",
|
||||
|
@ -883,13 +884,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_dump_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-dump");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Josh MacDonald",
|
||||
"Spencer Kimball & Josh MacDonald & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Josh MacDonald",
|
||||
"Spencer Kimball & Josh MacDonald & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("filename",
|
||||
"filename",
|
||||
|
@ -906,13 +908,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_query_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-query");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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, authors, 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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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, authors, 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("name",
|
||||
"name",
|
||||
|
@ -982,13 +985,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_proc_exists_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-proc-exists");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Checks if the specified procedure exists in the procedural database",
|
||||
"This procedure checks if the specified procedure is registered in the procedural database.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Checks if the specified procedure exists in the procedural database",
|
||||
"This procedure checks if the specified procedure is registered in the procedural database.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1011,13 +1015,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_info_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-info");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for information on the specified procedure.",
|
||||
"This procedure returns information on the specified procedure. The 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-pdb-db-proc-argument' and 'gimp-pdb-db-proc-return-value' procedures.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for information on the specified procedure.",
|
||||
"This procedure returns information on the specified procedure. The 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-pdb-db-proc-argument' and 'gimp-pdb-db-proc-return-value' procedures.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1053,13 +1058,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_set_proc_image_types_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-set-proc-image-types");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the supported image types for a plug-in procedure.",
|
||||
"This procedure sets the supported images types for the given procedure.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the supported image types for a plug-in procedure.",
|
||||
"This procedure sets the supported images types for the given procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1083,13 +1089,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_image_types_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-image-types");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for the image types supported by the specified procedure.",
|
||||
"This procedure returns the image types supported by the specified procedure.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for the image types supported by the specified procedure.",
|
||||
"This procedure returns the image types supported by the specified procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1113,13 +1120,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_set_proc_menu_label_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-set-proc-menu-label");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the menu label for a plug-in procedure.",
|
||||
"This procedure sets the menu label for the given procedure.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the menu label for a plug-in procedure.",
|
||||
"This procedure sets the menu label for the given procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1143,13 +1151,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_menu_label_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-menu-label");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for the procedure's menu label.",
|
||||
"This procedure returns the menu label of the specified procedure.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for the procedure's menu label.",
|
||||
"This procedure returns the menu label of the specified procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1173,13 +1182,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_add_proc_menu_path_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-add-proc-menu-path");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Register an additional menu path for a plug-in procedure.",
|
||||
"This procedure installs an additional menu entry for the given procedure.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Register an additional menu path for a plug-in procedure.",
|
||||
"This procedure installs an additional menu entry for the given procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1203,13 +1213,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_menu_paths_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-menu-paths");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for the procedure's menu paths.",
|
||||
"This procedure returns the menu paths of the specified procedure.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for the procedure's menu paths.",
|
||||
"This procedure returns the menu paths of the specified procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1237,13 +1248,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_set_proc_icon_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-set-proc-icon");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Register an icon for a plug-in procedure.",
|
||||
"This procedure installs an icon for the given procedure.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Register an icon for a plug-in procedure.",
|
||||
"This procedure installs an icon for the given procedure.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1278,13 +1290,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_documentation_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-documentation");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for documentation on the specified procedure.",
|
||||
"This procedure returns documentation on the specified procedure. A short blurb, detailed help and help_id.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for documentation on the specified procedure.",
|
||||
"This procedure returns documentation on the specified procedure. A short blurb, detailed help and help_id.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1322,13 +1335,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_attribution_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-attribution");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for attribution information on the specified procedure.",
|
||||
"This procedure returns attribution information on the specified procedure. The authors, copyright information and date are returned.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for attribution information on the specified procedure.",
|
||||
"This procedure returns attribution information on the specified procedure. The authors, copyright information and date are returned.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1366,13 +1380,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_argument_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-argument");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for information on the specified procedure's argument.",
|
||||
"This procedure returns the #GParamSpec of procedure_name's argument.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for information on the specified procedure's argument.",
|
||||
"This procedure returns the #GParamSpec of procedure_name's argument.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1401,13 +1416,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_proc_return_value_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-proc-return-value");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the procedural database for information on the specified procedure's return value.",
|
||||
"This procedure returns the #GParamSpec of procedure_name's return value.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the procedural database for information on the specified procedure's return value.",
|
||||
"This procedure returns the #GParamSpec of procedure_name's return value.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2019");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("procedure-name",
|
||||
"procedure name",
|
||||
|
@ -1436,13 +1452,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_data_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-data");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("identifier",
|
||||
"identifier",
|
||||
|
@ -1470,13 +1487,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_get_data_size_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-get-data-size");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Nick Lamb",
|
||||
"Nick Lamb",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Nick Lamb",
|
||||
"Nick Lamb",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("identifier",
|
||||
"identifier",
|
||||
|
@ -1499,13 +1517,14 @@ register_pdb_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (pdb_set_data_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-pdb-set-data");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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'.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1997");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("identifier",
|
||||
"identifier",
|
||||
|
|
|
@ -252,13 +252,14 @@ register_plug_in_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (plugins_query_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-plugins-query");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Queries the plug-in database for its contents.",
|
||||
"This procedure queries the contents of the plug-in database.",
|
||||
NULL,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Queries the plug-in database for its contents.",
|
||||
"This procedure queries the contents of the plug-in database.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Andy Thomas",
|
||||
"Andy Thomas",
|
||||
"1998");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("search-string",
|
||||
"search string",
|
||||
|
@ -319,13 +320,14 @@ register_plug_in_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (plugin_domain_register_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-plugin-domain-register");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2000");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2000");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("domain-name",
|
||||
"domain name",
|
||||
|
@ -349,13 +351,14 @@ register_plug_in_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (plugin_help_register_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-plugin-help-register");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Register a help path for a plug-in.",
|
||||
"This procedure registers user documentation for the calling plug-in with the GIMP help system. The domain_uri parameter points to the root directory where the plug-in help is installed. For each supported language there should be a file called 'gimp-help.xml' that maps the help IDs to the actual help files.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2000");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Register a help path for a plug-in.",
|
||||
"This procedure registers user documentation for the calling plug-in with the GIMP help system. The domain_uri parameter points to the root directory where the plug-in help is installed. For each supported language there should be a file called 'gimp-help.xml' that maps the help IDs to the actual help files.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2000");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("domain-name",
|
||||
"domain name",
|
||||
|
@ -379,13 +382,14 @@ register_plug_in_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (plugin_menu_branch_register_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-plugin-menu-branch-register");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Register a sub-menu.",
|
||||
"This procedure installs a sub-menu which does not belong to any procedure. The menu-name should be the untranslated menu label. GIMP will look up the translation in the textdomain registered for the plug-in.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Register a sub-menu.",
|
||||
"This procedure installs a sub-menu which does not belong to any procedure. The menu-name should be the untranslated menu label. GIMP will look up the translation in the textdomain registered for the plug-in.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("menu-path",
|
||||
"menu path",
|
||||
|
@ -409,13 +413,14 @@ register_plug_in_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (plugin_set_pdb_error_handler_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-plugin-set-pdb-error-handler");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sets an error handler for procedure calls.",
|
||||
"This procedure changes the way that errors in procedure calls are handled. By default GIMP will raise an error dialog if a procedure call made by a plug-in fails. Using this procedure the plug-in can change this behavior. If the error handler is set to %GIMP_PDB_ERROR_HANDLER_PLUGIN, then the plug-in is responsible for calling 'gimp-get-pdb-error' and handling the error whenever one if its procedure calls fails. It can do this by displaying the error message or by forwarding it in its own return values.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sets an error handler for procedure calls.",
|
||||
"This procedure changes the way that errors in procedure calls are handled. By default GIMP will raise an error dialog if a procedure call made by a plug-in fails. Using this procedure the plug-in can change this behavior. If the error handler is set to %GIMP_PDB_ERROR_HANDLER_PLUGIN, then the plug-in is responsible for calling 'gimp-get-pdb-error' and handling the error whenever one if its procedure calls fails. It can do this by displaying the error message or by forwarding it in its own return values.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_enum ("handler",
|
||||
"handler",
|
||||
|
@ -432,13 +437,14 @@ register_plug_in_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (plugin_get_pdb_error_handler_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-plugin-get-pdb-error-handler");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Retrieves the active error handler for procedure calls.",
|
||||
"This procedure retrieves the currently active error handler for procedure calls made by the calling plug-in. See 'gimp-plugin-set-pdb-error-handler' for details.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Retrieves the active error handler for procedure calls.",
|
||||
"This procedure retrieves the currently active error handler for procedure calls made by the calling plug-in. See 'gimp-plugin-set-pdb-error-handler' for details.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_enum ("handler",
|
||||
"handler",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -300,13 +300,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_init_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-init");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("message",
|
||||
"message",
|
||||
|
@ -329,13 +330,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_update_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-update");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
g_param_spec_double ("percentage",
|
||||
"percentage",
|
||||
|
@ -351,13 +353,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_pulse_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-pulse");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -367,13 +370,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_set_text_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-set-text");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Changes the text in the progress bar for the current plug-in.",
|
||||
"This function changes the text in the progress bar for the current plug-in. Unlike 'gimp-progress-init' it does not change the displayed value.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Changes the text in the progress bar for the current plug-in.",
|
||||
"This function changes the text in the progress bar for the current plug-in. Unlike 'gimp-progress-init' it does not change the displayed value.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("message",
|
||||
"message",
|
||||
|
@ -390,13 +394,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_end_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-end");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Ends the progress bar for the current plug-in.",
|
||||
"Ends the progress display for the current plug-in. Most plug-ins don't need to call this, they just exit when the work is done. It is only valid to call this procedure from a plug-in.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2007");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Ends the progress bar for the current plug-in.",
|
||||
"Ends the progress display for the current plug-in. Most plug-ins don't need to call this, they just exit when the work is done. It is only valid to call this procedure from a plug-in.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2007");
|
||||
gimp_pdb_register_procedure (pdb, procedure);
|
||||
g_object_unref (procedure);
|
||||
|
||||
|
@ -406,13 +411,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_get_window_handle_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-get-window-handle");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the native window ID of the toplevel window this plug-in's progress is displayed in.",
|
||||
"This function returns the native window ID of the toplevel window this plug-in\'s progress is displayed in.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the native window ID of the toplevel window this plug-in's progress is displayed in.",
|
||||
"This function returns the native window ID of the toplevel window this plug-in\'s progress is displayed in.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_int ("window",
|
||||
"window",
|
||||
|
@ -428,13 +434,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_install_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-install");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("progress-callback",
|
||||
"progress callback",
|
||||
|
@ -451,13 +458,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_uninstall_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-uninstall");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Uninstalls the progress callback for the current plug-in.",
|
||||
"This function uninstalls any progress callback installed with 'gimp-progress-install' before.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Uninstalls the progress callback for the current plug-in.",
|
||||
"This function uninstalls any progress callback installed with 'gimp-progress-install' before.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("progress-callback",
|
||||
"progress callback",
|
||||
|
@ -474,13 +482,14 @@ register_progress_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (progress_cancel_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-progress-cancel");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Cancels a running progress.",
|
||||
"This function cancels the currently running progress.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Cancels a running progress.",
|
||||
"This function cancels the currently running progress.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"2004");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("progress-callback",
|
||||
"progress callback",
|
||||
|
|
|
@ -498,13 +498,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_bounds_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-bounds");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 right 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).",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 right 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).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -550,13 +551,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_value_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-value");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -590,13 +592,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_is_empty_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-is-empty");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Determine whether the selection is empty.",
|
||||
"This procedure returns TRUE if the selection for the specified image is empty.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Determine whether the selection is empty.",
|
||||
"This procedure returns TRUE if the selection for the specified image is empty.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -618,13 +621,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_translate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-translate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -652,13 +656,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_float_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-float");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_drawable ("drawable",
|
||||
"drawable",
|
||||
|
@ -692,13 +697,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_invert_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-invert");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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).",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -714,13 +720,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_sharpen_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-sharpen");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Sharpen the selection mask.",
|
||||
"This procedure sharpens the selection mask. For every pixel in the selection channel, if the value is > 127, the new pixel is assigned a value of 255. This removes any \"anti-aliasing\" that might exist in the selection mask's boundary.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Sharpen the selection mask.",
|
||||
"This procedure sharpens the selection mask. For every pixel in the selection channel, if the value is > 127, the new pixel is assigned a value of 255. This removes any \"anti-aliasing\" that might exist in the selection mask's boundary.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -736,13 +743,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_all_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-all");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -758,13 +766,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_none_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-none");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Deselect the entire image.",
|
||||
"This procedure deselects the entire image. Every pixel in the selection channel is set to 0.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Deselect the entire image.",
|
||||
"This procedure deselects the entire image. Every pixel in the selection channel is set to 0.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -780,13 +789,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_feather_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-feather");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Feather the image's selection",
|
||||
"This procedure feathers the selection. Feathering is implemented using a gaussian blur.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Feather the image's selection",
|
||||
"This procedure feathers the selection. Feathering is implemented using a gaussian blur.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -808,13 +818,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_border_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-border");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -836,13 +847,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_grow_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-grow");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Grow the image's selection",
|
||||
"This procedure grows the selection. Growing involves expanding the boundary in all directions by the specified pixel amount.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Grow the image's selection",
|
||||
"This procedure grows the selection. Growing involves expanding the boundary in all directions by the specified pixel amount.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -864,13 +876,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_shrink_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-shrink");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Shrink the image's selection",
|
||||
"This procedure shrinks the selection. Shrinking involves trimming the existing selection boundary on all sides by the specified number of pixels.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Shrink the image's selection",
|
||||
"This procedure shrinks the selection. Shrinking involves trimming the existing selection boundary on all sides by the specified number of pixels.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -892,13 +905,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_flood_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-flood");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Remove holes from the image's selection",
|
||||
"This procedure removes holes from the selection, that can come from selecting a patchy area with the Fuzzy Select Tool. In technical terms this procedure floods the selection. See the Algorithms page in the developer wiki for details.",
|
||||
NULL,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2016");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Remove holes from the image's selection",
|
||||
"This procedure removes holes from the selection, that can come from selecting a patchy area with the Fuzzy Select Tool. In technical terms this procedure floods the selection. See the Algorithms page in the developer wiki for details.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Ell",
|
||||
"Ell",
|
||||
"2016");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -914,13 +928,14 @@ register_selection_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (selection_save_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-selection-save");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -1146,13 +1146,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Creates a new text layer.",
|
||||
"This procedure creates a new text layer. The arguments are kept as simple as necessary for the normal case. All text attributes, however, can be modified with the appropriate gimp_text_layer_set_*() procedures. The new layer still needs to be added to the image, as this is not automatic. Add the new layer using 'gimp-image-insert-layer'.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Creates a new text layer.",
|
||||
"This procedure creates a new text layer. The arguments are kept as simple as necessary for the normal case. All text attributes, however, can be modified with the appropriate gimp_text_layer_set_*() procedures. The new layer still needs to be added to the image, as this is not automatic. Add the new layer using 'gimp-image-insert-layer'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -1202,13 +1203,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_text_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-text");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the text from a text layer as string.",
|
||||
"This procedure returns the text from a text layer as a string.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the text from a text layer as string.",
|
||||
"This procedure returns the text from a text layer as a string.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1231,13 +1233,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_text_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-text");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the text of a text layer.",
|
||||
"This procedure changes the text of a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the text of a text layer.",
|
||||
"This procedure changes the text of a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1260,13 +1263,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_markup_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-markup");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the markup from a text layer as string.",
|
||||
"This procedure returns the markup of the styles from a text layer. The markup will be in the form of Pango's markup - See https://www.pango.org/ for more information about Pango and its markup. Note: Setting the markup of a text layer using Pango's markup is not supported for now.",
|
||||
NULL,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2010");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the markup from a text layer as string.",
|
||||
"This procedure returns the markup of the styles from a text layer. The markup will be in the form of Pango's markup - See https://www.pango.org/ for more information about Pango and its markup. Note: Setting the markup of a text layer using Pango's markup is not supported for now.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2010");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1289,13 +1293,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_font_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-font");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the font from a text layer as string.",
|
||||
"This procedure returns the name of the font from a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the font from a text layer as string.",
|
||||
"This procedure returns the name of the font from a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1318,13 +1323,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_font_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-font");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the font of a text layer.",
|
||||
"This procedure modifies the font used in the specified text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the font of a text layer.",
|
||||
"This procedure modifies the font used in the specified text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1347,13 +1353,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_font_size_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-font-size");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the font size from a text layer.",
|
||||
"This procedure returns the size of the font which is used in a text layer. You will receive the size as a float 'font-size' in 'unit' units.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the font size from a text layer.",
|
||||
"This procedure returns the size of the font which is used in a text layer. You will receive the size as a float 'font-size' in 'unit' units.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1383,13 +1390,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_font_size_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-font-size");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the font size.",
|
||||
"This procedure changes the font size of a text layer. The size of your font will be a double 'font-size' of 'unit' units.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the font size.",
|
||||
"This procedure changes the font size of a text layer. The size of your font will be a double 'font-size' of 'unit' units.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1419,13 +1427,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_antialias_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-antialias");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Check if antialiasing is used in the text layer.",
|
||||
"This procedure checks if antialiasing is enabled in the specified text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Check if antialiasing is used in the text layer.",
|
||||
"This procedure checks if antialiasing is enabled in the specified text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1447,13 +1456,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_antialias_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-antialias");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Enable/disable anti-aliasing in a text layer.",
|
||||
"This procedure enables or disables anti-aliasing of the text in a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Enable/disable anti-aliasing in a text layer.",
|
||||
"This procedure enables or disables anti-aliasing of the text in a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1475,13 +1485,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_hint_style_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-hint-style");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get information about hinting in the specified text layer.",
|
||||
"This procedure provides information about the hinting that is being used in a text layer. Hinting can be optimized for fidelity or contrast or it can be turned entirely off.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get information about hinting in the specified text layer.",
|
||||
"This procedure provides information about the hinting that is being used in a text layer. Hinting can be optimized for fidelity or contrast or it can be turned entirely off.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1504,13 +1515,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_hint_style_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-hint-style");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Control how font outlines are hinted in a text layer.",
|
||||
"This procedure sets the hint style for font outlines in a text layer. This controls whether to fit font outlines to the pixel grid, and if so, whether to optimize for fidelity or contrast.",
|
||||
NULL,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Control how font outlines are hinted in a text layer.",
|
||||
"This procedure sets the hint style for font outlines in a text layer. This controls whether to fit font outlines to the pixel grid, and if so, whether to optimize for fidelity or contrast.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Sven Neumann <sven@gimp.org>",
|
||||
"Sven Neumann",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1533,13 +1545,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_kerning_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-kerning");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Check if kerning is used in the text layer.",
|
||||
"This procedure checks if kerning is enabled in the specified text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Check if kerning is used in the text layer.",
|
||||
"This procedure checks if kerning is enabled in the specified text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1561,13 +1574,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_kerning_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-kerning");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Enable/disable kerning in a text layer.",
|
||||
"This procedure enables or disables kerning in a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Enable/disable kerning in a text layer.",
|
||||
"This procedure enables or disables kerning in a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1589,13 +1603,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_language_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-language");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the language used in the text layer.",
|
||||
"This procedure returns the language string which is set for the text in the text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the language used in the text layer.",
|
||||
"This procedure returns the language string which is set for the text in the text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1618,13 +1633,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_language_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-language");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the language of the text layer.",
|
||||
"This procedure sets the language of the text in text layer. For some scripts the language has an influence of how the text is rendered.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the language of the text layer.",
|
||||
"This procedure sets the language of the text in text layer. For some scripts the language has an influence of how the text is rendered.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1647,13 +1663,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_base_direction_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-base-direction");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the base direction used for rendering the text layer.",
|
||||
"This procedure returns the base direction used for rendering the text in the text layer",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the base direction used for rendering the text layer.",
|
||||
"This procedure returns the base direction used for rendering the text in the text layer",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1676,13 +1693,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_base_direction_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-base-direction");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the base direction in the text layer.",
|
||||
"This procedure sets the base direction used in applying the Unicode bidirectional algorithm when rendering the text.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the base direction in the text layer.",
|
||||
"This procedure sets the base direction used in applying the Unicode bidirectional algorithm when rendering the text.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1705,13 +1723,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_justification_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-justification");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the text justification information of the text layer.",
|
||||
"This procedure returns the alignment of the lines in the text layer relative to each other.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the text justification information of the text layer.",
|
||||
"This procedure returns the alignment of the lines in the text layer relative to each other.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1734,13 +1753,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_justification_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-justification");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the justification of the text in a text layer.",
|
||||
"This procedure sets the alignment of the lines in the text layer relative to each other.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the justification of the text in a text layer.",
|
||||
"This procedure sets the alignment of the lines in the text layer relative to each other.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1763,13 +1783,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the color of the text in a text layer.",
|
||||
"This procedure returns the color of the text in a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the color of the text in a text layer.",
|
||||
"This procedure returns the color of the text in a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1792,13 +1813,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_color_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-color");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the color of the text in the text layer.",
|
||||
"This procedure sets the text color in the text layer 'layer'.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the color of the text in the text layer.",
|
||||
"This procedure sets the text color in the text layer 'layer'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1821,13 +1843,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_indent_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-indent");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the line indentation of text layer.",
|
||||
"This procedure returns the indentation of the first line in a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the line indentation of text layer.",
|
||||
"This procedure returns the indentation of the first line in a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1849,13 +1872,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_indent_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-indent");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Set the indentation of the first line in a text layer.",
|
||||
"This procedure sets the indentation of the first line in the text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Set the indentation of the first line in a text layer.",
|
||||
"This procedure sets the indentation of the first line in the text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1877,13 +1901,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_line_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-line-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the spacing between lines of text.",
|
||||
"This procedure returns the line-spacing between lines of text in a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the spacing between lines of text.",
|
||||
"This procedure returns the line-spacing between lines of text in a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1905,13 +1930,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_line_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-line-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Adjust the line spacing in a text layer.",
|
||||
"This procedure sets the additional spacing used between lines a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Adjust the line spacing in a text layer.",
|
||||
"This procedure sets the additional spacing used between lines a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1933,13 +1959,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_get_letter_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-get-letter-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get the letter spacing used in a text layer.",
|
||||
"This procedure returns the additional spacing between the single glyphs in a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get the letter spacing used in a text layer.",
|
||||
"This procedure returns the additional spacing between the single glyphs in a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1961,13 +1988,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_set_letter_spacing_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-set-letter-spacing");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Adjust the letter spacing in a text layer.",
|
||||
"This procedure sets the additional spacing between the single glyphs in a text layer.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Adjust the letter spacing in a text layer.",
|
||||
"This procedure sets the additional spacing between the single glyphs in a text layer.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
@ -1989,13 +2017,14 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_layer_resize_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-layer-resize");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Resize the box of a text layer.",
|
||||
"This procedure changes the width and height of a text layer while keeping it as a text layer and not converting it to a bitmap like 'gimp-layer-resize' would do.",
|
||||
NULL,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2009");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Resize the box of a text layer.",
|
||||
"This procedure changes the width and height of a text layer while keeping it as a text layer and not converting it to a bitmap like 'gimp-layer-resize' would do.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2009");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_layer ("layer",
|
||||
"layer",
|
||||
|
|
|
@ -160,13 +160,14 @@ register_text_tool_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_fontname_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-fontname");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 (%NULL), 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. Parameter size-type is not used and is currently ignored. If you need to display a font in points, divide the size in points by 72.0 and multiply it by the image's vertical resolution.",
|
||||
NULL,
|
||||
"Martin Edlman & Sven Neumann",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1998- 2001");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 (%NULL), 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. Parameter size-type is not used and is currently ignored. If you need to display a font in points, divide the size in points by 72.0 and multiply it by the image's vertical resolution.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Martin Edlman & Sven Neumann",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1998- 2001");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -245,13 +246,14 @@ register_text_tool_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (text_get_extents_fontname_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-text-get-extents-fontname");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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. Parameter size-type is not used and is currently ignored. If you need to display a font in points, divide the size in points by 72.0 and multiply it by the vertical resolution of the image you are taking into account.",
|
||||
NULL,
|
||||
"Martin Edlman & Sven Neumann",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1998- 2001");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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. Parameter size-type is not used and is currently ignored. If you need to display a font in points, divide the size in points by 72.0 and multiply it by the vertical resolution of the image you are taking into account.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Martin Edlman & Sven Neumann",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1998- 2001");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("text",
|
||||
"text",
|
||||
|
|
|
@ -384,13 +384,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_number_of_units_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-number-of-units");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the number of units.",
|
||||
"This procedure returns the number of defined units.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the number of units.",
|
||||
"This procedure returns the number of defined units.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_int ("num-units",
|
||||
"num units",
|
||||
|
@ -406,13 +407,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_number_of_built_in_units_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-number-of-built-in-units");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the number of built-in units.",
|
||||
"This procedure returns the number of defined units built-in to GIMP.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the number of built-in units.",
|
||||
"This procedure returns the number of defined units built-in to GIMP.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_return_value (procedure,
|
||||
g_param_spec_int ("num-units",
|
||||
"num units",
|
||||
|
@ -428,13 +430,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_string ("identifier",
|
||||
"identifier",
|
||||
|
@ -499,13 +502,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_deletion_flag_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-deletion-flag");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -529,13 +533,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_set_deletion_flag_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-set-deletion-flag");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -559,13 +564,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_identifier_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-identifier");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -590,13 +596,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_factor_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-factor");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -620,13 +627,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_digits_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-digits");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -650,13 +658,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_symbol_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-symbol");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the symbol of the unit.",
|
||||
"This procedure returns the symbol of the unit (\"''\" for inches).",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the symbol of the unit.",
|
||||
"This procedure returns the symbol of the unit (\"''\" for inches).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -681,13 +690,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_abbreviation_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-abbreviation");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the abbreviation of the unit.",
|
||||
"This procedure returns the abbreviation of the unit (\"in\" for inches).",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the abbreviation of the unit.",
|
||||
"This procedure returns the abbreviation of the unit (\"in\" for inches).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -712,13 +722,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_singular_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-singular");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the singular form of the unit.",
|
||||
"This procedure returns the singular form of the unit.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the singular form of the unit.",
|
||||
"This procedure returns the singular form of the unit.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
@ -743,13 +754,14 @@ register_unit_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (unit_get_plural_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-unit-get-plural");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Returns the plural form of the unit.",
|
||||
"This procedure returns the plural form of the unit.",
|
||||
NULL,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Returns the plural form of the unit.",
|
||||
"This procedure returns the plural form of the unit.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Michael Natterer <mitch@gimp.org>",
|
||||
"Michael Natterer",
|
||||
"1999");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_unit ("unit-id",
|
||||
"unit id",
|
||||
|
|
|
@ -1310,13 +1310,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_new_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-new");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Creates a new empty vectors object.",
|
||||
"Creates a new empty vectors object. The vectors object needs to be added to the image using 'gimp-image-insert-vectors'.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Creates a new empty vectors object.",
|
||||
"Creates a new empty vectors object. The vectors object needs to be added to the image using 'gimp-image-insert-vectors'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -1345,13 +1346,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_new_from_text_layer_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-new-from-text-layer");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Creates a new vectors object from a text layer.",
|
||||
"Creates a new vectors object from a text layer. The vectors object needs to be added to the image using 'gimp-image-insert-vectors'.",
|
||||
NULL,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Creates a new vectors object from a text layer.",
|
||||
"Creates a new vectors object from a text layer. The vectors object needs to be added to the image using 'gimp-image-insert-vectors'.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Marcus Heese <heese@cip.ifi.lmu.de>",
|
||||
"Marcus Heese",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -1379,13 +1381,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_copy_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-copy");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Copy a vectors object.",
|
||||
"This procedure copies the specified vectors object and returns the copy.",
|
||||
NULL,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2008");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Copy a vectors object.",
|
||||
"This procedure copies the specified vectors object and returns the copy.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Barak Itkin <lightningismyname@gmail.com>",
|
||||
"Barak Itkin",
|
||||
"2008");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1407,13 +1410,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_get_strokes_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-get-strokes");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"List the strokes associated with the passed path.",
|
||||
"Returns an Array with the stroke-IDs associated with the passed path.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"List the strokes associated with the passed path.",
|
||||
"Returns an Array with the stroke-IDs associated with the passed path.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1440,13 +1444,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_get_length_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-get-length");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Measure the length of the given stroke.",
|
||||
"Measure the length of the given stroke.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Measure the length of the given stroke.",
|
||||
"Measure the length of the given stroke.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1480,13 +1485,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_get_point_at_dist_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-get-point-at-dist");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Get point at a specified distance along the stroke.",
|
||||
"This will return the x,y position of a point at a given distance along the stroke. The distance will be obtained by first digitizing the curve internally and then walking along the curve. For a closed stroke the start of the path is the first point on the path that was created. This might not be obvious. If the stroke is not long enough, a \"valid\" flag will be FALSE.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Get point at a specified distance along the stroke.",
|
||||
"This will return the x,y position of a point at a given distance along the stroke. The distance will be obtained by first digitizing the curve internally and then walking along the curve. For a closed stroke the start of the path is the first point on the path that was created. This might not be obvious. If the stroke is not long enough, a \"valid\" flag will be FALSE.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1544,13 +1550,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_remove_stroke_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-remove-stroke");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"remove the stroke from a vectors object.",
|
||||
"Remove the stroke from a vectors object.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"remove the stroke from a vectors object.",
|
||||
"Remove the stroke from a vectors object.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1572,13 +1579,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_close_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-close");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"closes the specified stroke.",
|
||||
"Closes the specified stroke.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"closes the specified stroke.",
|
||||
"Closes the specified stroke.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1600,13 +1608,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_translate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-translate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"translate the given stroke.",
|
||||
"Translate the given stroke.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"translate the given stroke.",
|
||||
"Translate the given stroke.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1640,13 +1649,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_scale_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-scale");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"scales the given stroke.",
|
||||
"Scale the given stroke.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"scales the given stroke.",
|
||||
"Scale the given stroke.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1680,13 +1690,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_rotate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-rotate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"rotates the given stroke.",
|
||||
"Rotates the given stroke around given center by angle (in degrees).",
|
||||
NULL,
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"rotates the given stroke.",
|
||||
"Rotates the given stroke around given center by angle (in degrees).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1726,13 +1737,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_flip_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-flip");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"flips the given stroke.",
|
||||
"Rotates the given stroke around given center by angle (in degrees).",
|
||||
NULL,
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"flips the given stroke.",
|
||||
"Rotates the given stroke around given center by angle (in degrees).",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1769,13 +1781,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_flip_free_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-flip-free");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"flips the given stroke about an arbitrary axis.",
|
||||
"Flips the given stroke about an arbitrary axis. Axis is defined by two coordinates in the image (in pixels), through which the flipping axis passes.",
|
||||
NULL,
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"flips the given stroke about an arbitrary axis.",
|
||||
"Flips the given stroke about an arbitrary axis. Axis is defined by two coordinates in the image (in pixels), through which the flipping axis passes.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"Jo\xc3\xa3o S. O. Bueno",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1821,13 +1834,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_get_points_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-get-points");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"returns the control points of a stroke.",
|
||||
"returns the control points of a stroke. The interpretation of the coordinates returned depends on the type of the stroke. For Gimp 2.4 this is always a bezier stroke, where the coordinates are the control points.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"returns the control points of a stroke.",
|
||||
"returns the control points of a stroke. The interpretation of the coordinates returned depends on the type of the stroke. For Gimp 2.4 this is always a bezier stroke, where the coordinates are the control points.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1873,13 +1887,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_new_from_points_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-new-from-points");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Adds a stroke of a given type to the vectors object.",
|
||||
"Adds a stroke of a given type to the vectors object. The coordinates of the control points can be specified. For now only strokes of the type GIMP_VECTORS_STROKE_TYPE_BEZIER are supported. The control points are specified as a pair of float values for the x- and y-coordinate. The Bezier stroke type needs a multiple of three control points. Each Bezier segment endpoint (anchor, A) has two additional control points (C) associated. They are specified in the order CACCACCAC...",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Adds a stroke of a given type to the vectors object.",
|
||||
"Adds a stroke of a given type to the vectors object. The coordinates of the control points can be specified. For now only strokes of the type GIMP_VECTORS_STROKE_TYPE_BEZIER are supported. The control points are specified as a pair of float values for the x- and y-coordinate. The Bezier stroke type needs a multiple of three control points. Each Bezier segment endpoint (anchor, A) has two additional control points (C) associated. They are specified in the order CACCACCAC...",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1925,13 +1940,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_stroke_interpolate_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-stroke-interpolate");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"returns polygonal approximation of the stroke.",
|
||||
"returns polygonal approximation of the stroke.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"returns polygonal approximation of the stroke.",
|
||||
"returns polygonal approximation of the stroke.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -1976,13 +1992,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_bezier_stroke_new_moveto_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-bezier-stroke-new-moveto");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Adds a bezier stroke with a single moveto to the vectors object.",
|
||||
"Adds a bezier stroke with a single moveto to the vectors object.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Adds a bezier stroke with a single moveto to the vectors object.",
|
||||
"Adds a bezier stroke with a single moveto to the vectors object.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -2016,13 +2033,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_bezier_stroke_lineto_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-bezier-stroke-lineto");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Extends a bezier stroke with a lineto.",
|
||||
"Extends a bezier stroke with a lineto.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Extends a bezier stroke with a lineto.",
|
||||
"Extends a bezier stroke with a lineto.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -2056,13 +2074,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_bezier_stroke_conicto_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-bezier-stroke-conicto");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Extends a bezier stroke with a conic bezier spline.",
|
||||
"Extends a bezier stroke with a conic bezier spline. Actually a cubic bezier spline gets added that realizes the shape of a conic bezier spline.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Extends a bezier stroke with a conic bezier spline.",
|
||||
"Extends a bezier stroke with a conic bezier spline. Actually a cubic bezier spline gets added that realizes the shape of a conic bezier spline.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -2108,13 +2127,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_bezier_stroke_cubicto_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-bezier-stroke-cubicto");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Extends a bezier stroke with a cubic bezier spline.",
|
||||
"Extends a bezier stroke with a cubic bezier spline.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Extends a bezier stroke with a cubic bezier spline.",
|
||||
"Extends a bezier stroke with a cubic bezier spline.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -2172,13 +2192,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_bezier_stroke_new_ellipse_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-bezier-stroke-new-ellipse");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Adds a bezier stroke describing an ellipse the vectors object.",
|
||||
"Adds a bezier stroke describing an ellipse the vectors object.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Adds a bezier stroke describing an ellipse the vectors object.",
|
||||
"Adds a bezier stroke describing an ellipse the vectors object.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2005");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_vectors ("vectors",
|
||||
"vectors",
|
||||
|
@ -2230,13 +2251,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_import_from_file_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-import-from-file");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Import paths from an SVG file.",
|
||||
"This procedure imports paths from an SVG file. SVG elements other than paths and basic shapes are ignored.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Import paths from an SVG file.",
|
||||
"This procedure imports paths from an SVG file. SVG elements other than paths and basic shapes are ignored.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -2283,13 +2305,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_import_from_string_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-import-from-string");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Import paths from an SVG string.",
|
||||
"This procedure works like 'gimp-vectors-import-from-file' 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.",
|
||||
NULL,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Import paths from an SVG string.",
|
||||
"This procedure works like 'gimp-vectors-import-from-file' 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.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Simon Budig",
|
||||
"Simon Budig",
|
||||
"2006");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -2342,13 +2365,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_export_to_file_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-export-to-file");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"save a path as an SVG file.",
|
||||
"This procedure creates an SVG file to save a Vectors object, that is, a path. The resulting file can be edited using a vector graphics application, or later reloaded into GIMP. If you pass 0 as the 'vectors' argument, then all paths in the image will be exported.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2007");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"save a path as an SVG file.",
|
||||
"This procedure creates an SVG file to save a Vectors object, that is, a path. The resulting file can be edited using a vector graphics application, or later reloaded into GIMP. If you pass 0 as the 'vectors' argument, then all paths in the image will be exported.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2007");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
@ -2377,13 +2401,14 @@ register_vectors_procs (GimpPDB *pdb)
|
|||
procedure = gimp_procedure_new (vectors_export_to_string_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"gimp-vectors-export-to-string");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Save a path as an SVG string.",
|
||||
"This procedure works like 'gimp-vectors-export-to-file' but creates a string rather than a file. The contents are a NUL-terminated string that holds a complete XML document. If you pass 0 as the 'vectors' argument, then all paths in the image will be exported.",
|
||||
NULL,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2007");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Save a path as an SVG string.",
|
||||
"This procedure works like 'gimp-vectors-export-to-file' but creates a string rather than a file. The contents are a NUL-terminated string that holds a complete XML document. If you pass 0 as the 'vectors' argument, then all paths in the image will be exported.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Bill Skaggs <weskaggs@primate.ucdavis.edu>",
|
||||
"Bill Skaggs",
|
||||
"2007");
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_image ("image",
|
||||
"image",
|
||||
|
|
|
@ -843,13 +843,14 @@ gimp_plug_in_handle_proc_install (GimpPlugIn *plug_in,
|
|||
proc->installed_during_init = (plug_in->call_mode == GIMP_PLUG_IN_CALL_INIT);
|
||||
|
||||
gimp_object_set_name (GIMP_OBJECT (procedure), proc_install->name);
|
||||
gimp_procedure_set_strings (procedure,
|
||||
proc_install->blurb,
|
||||
proc_install->help,
|
||||
proc_install->help_id,
|
||||
proc_install->authors,
|
||||
proc_install->copyright,
|
||||
proc_install->date);
|
||||
gimp_procedure_set_help (procedure,
|
||||
proc_install->blurb,
|
||||
proc_install->help,
|
||||
proc_install->help_id);
|
||||
gimp_procedure_set_attribution (procedure,
|
||||
proc_install->authors,
|
||||
proc_install->copyright,
|
||||
proc_install->date);
|
||||
|
||||
for (i = 0; i < proc_install->nparams; i++)
|
||||
{
|
||||
|
|
|
@ -122,17 +122,18 @@ xcf_init (Gimp *gimp)
|
|||
gimp_plug_in_procedure_set_handles_remote (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "gimp-xcf-save");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"Saves file in the .xcf file format",
|
||||
"The XCF file format has been designed "
|
||||
"specifically for loading and saving "
|
||||
"tiled and layered images in GIMP. "
|
||||
"This procedure will save the specified "
|
||||
"image in the xcf file format.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"Saves file in the .xcf file format",
|
||||
"The XCF file format has been designed "
|
||||
"specifically for loading and saving "
|
||||
"tiled and layered images in GIMP. "
|
||||
"This procedure will save the specified "
|
||||
"image in the xcf file format.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
@ -195,17 +196,18 @@ xcf_init (Gimp *gimp)
|
|||
gimp_plug_in_procedure_set_handles_remote (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "gimp-xcf-load");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
"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 GIMP. "
|
||||
"This procedure will load the specified "
|
||||
"file.",
|
||||
NULL,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
"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 GIMP. "
|
||||
"This procedure will load the specified "
|
||||
"file.",
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"Spencer Kimball & Peter Mattis",
|
||||
"1995-1996");
|
||||
|
||||
gimp_procedure_add_argument (procedure,
|
||||
gimp_param_spec_enum ("dummy-param",
|
||||
|
|
15
pdb/app.pl
15
pdb/app.pl
|
@ -695,13 +695,14 @@ sub generate {
|
|||
procedure = gimp_procedure_new (${name}_invoker);
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure),
|
||||
"$procedure_name");
|
||||
gimp_procedure_set_static_strings (procedure,
|
||||
@{[ "ewrap($blurb, 2, 37) ]},
|
||||
@{[ "ewrap($help, 2, 37) ]},
|
||||
NULL,
|
||||
"$proc->{author}",
|
||||
"$proc->{copyright}",
|
||||
"$proc->{date}");
|
||||
gimp_procedure_set_static_help (procedure,
|
||||
@{[ "ewrap($blurb, 2, 37) ]},
|
||||
@{[ "ewrap($help, 2, 37) ]},
|
||||
NULL);
|
||||
gimp_procedure_set_static_attribution (procedure,
|
||||
"$proc->{author}",
|
||||
"$proc->{copyright}",
|
||||
"$proc->{date}");
|
||||
CODE
|
||||
|
||||
if ($proc->{deprecated}) {
|
||||
|
|
Loading…
Reference in New Issue