[gimp] app, pdb: fix PDB string wrapping in generated calls of…
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app, pdb: fix PDB string wrapping in generated calls of…
- Date: Sun, 5 Jun 2022 00:00:08 +0000 (UTC)
commit 01e9253d7eb8653e89ed3958e3044aab49ba4f1b
Author: Jehan <jehan girinstud io>
Date: Sun Jun 5 00:20:03 2022 +0200
app, pdb: fix PDB string wrapping in generated calls of…
gimp_procedure_set_static_help().
The indentation was wrong, probably because of changes to function
names. Fix the generation scripts and regenerate the PDB C files.
app/pdb/channel-cmds.c | 8 +--
app/pdb/context-cmds.c | 84 ++++++++++++-------------
app/pdb/debug-cmds.c | 12 ++--
app/pdb/drawable-cmds.c | 10 +--
app/pdb/drawable-edit-cmds.c | 26 ++++----
app/pdb/edit-cmds.c | 2 +-
app/pdb/gradient-cmds.c | 6 +-
app/pdb/image-cmds.c | 44 ++++++-------
app/pdb/image-select-cmds.c | 36 +++++------
app/pdb/item-transform-cmds.c | 142 +++++++++++++++++++++---------------------
app/pdb/layer-cmds.c | 24 +++----
app/pdb/plug-in-cmds.c | 2 +-
app/pdb/plug-in-compat-cmds.c | 4 +-
pdb/app.pl | 4 +-
14 files changed, 202 insertions(+), 202 deletions(-)
---
diff --git a/app/pdb/channel-cmds.c b/app/pdb/channel-cmds.c
index f510017906..71e0b0f1f6 100644
--- a/app/pdb/channel-cmds.c
+++ b/app/pdb/channel-cmds.c
@@ -384,8 +384,8 @@ register_channel_procs (GimpPDB *pdb)
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.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@@ -447,7 +447,7 @@ register_channel_procs (GimpPDB *pdb)
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.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Shlomi Fish <shlomif iglu org il>",
@@ -491,7 +491,7 @@ register_channel_procs (GimpPDB *pdb)
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'.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
diff --git a/app/pdb/context-cmds.c b/app/pdb/context-cmds.c
index 68ef9f304c..8d181c66fe 100644
--- a/app/pdb/context-cmds.c
+++ b/app/pdb/context-cmds.c
@@ -3509,8 +3509,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the line width setting.",
"This procedure modifies the line width setting for stroking lines.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -3559,8 +3559,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the line width unit setting.",
"This procedure modifies the line width unit setting for stroking lines.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -3610,8 +3610,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the line cap style setting.",
"This procedure modifies the line cap style setting for stroking lines.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -3660,8 +3660,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the line join style setting.",
"This procedure modifies the line join style setting for stroking lines.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -3709,9 +3709,9 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the line miter limit setting.",
"This procedure modifies the line miter limit setting for stroking
lines.\n"
- "A mitered join is converted to a bevelled join if the miter would
extend to a distance of more than (miter-limit * line-width) from the actual join point.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
+ "A mitered join is converted to a bevelled join if the miter would extend
to a distance of more than (miter-limit * line-width) from the actual join point.\n"
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -3758,8 +3758,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the line dash offset setting.",
"This procedure modifies the line dash offset setting for stroking
lines.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -3811,10 +3811,10 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the line dash pattern setting.",
"This procedure modifies the line dash pattern setting for stroking
lines.\n"
- "\n"
- "The unit of the dash pattern segments is the actual line width used
for the stroke operation, in other words a segment length of 1.0 results in a square segment shape (or gap
shape).\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
+ "\n"
+ "The unit of the dash pattern segments is the actual line width used for
the stroke operation, in other words a segment length of 1.0 results in a square segment shape (or gap
shape).\n"
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-stroke-selection', 'gimp-drawable-edit-stroke-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -4218,7 +4218,7 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Retrieve the currently active paint dynamics.",
"This procedure returns the name of the currently active paint dynamics.
If enabled, all paint operations and stroke operations use this paint dynamics to control the application of
paint to the image. If disabled, the dynamics will be ignored during paint actions.\n"
- "See 'gimp-context-are-dynamics-enabled' to enquire whether dynamics
are used or ignored.",
+ "See 'gimp-context-are-dynamics-enabled' to enquire whether dynamics are
used or ignored.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -4786,8 +4786,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the antialias setting.",
"This procedure modifies the antialias setting. If antialiasing is turned
on, the edges of selected region will contain intermediate values which give the appearance of a sharper,
less pixelized edge. This should be set as TRUE most of the time unless a binary-only selection is wanted.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-image-select-round-rectangle',
'gimp-image-select-ellipse', 'gimp-image-select-polygon', 'gimp-image-select-item',
'gimp-drawable-edit-bucket-fill', 'gimp-drawable-edit-stroke-item', 'gimp-drawable-edit-stroke-selection'.",
+ "\n"
+ "This setting affects the following procedures: 'gimp-image-select-color',
'gimp-image-select-contiguous-color', 'gimp-image-select-round-rectangle', 'gimp-image-select-ellipse',
'gimp-image-select-polygon', 'gimp-image-select-item', 'gimp-drawable-edit-bucket-fill',
'gimp-drawable-edit-stroke-item', 'gimp-drawable-edit-stroke-selection'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -4834,8 +4834,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the feather setting.",
"This procedure modifies the feather setting. If the feather option is
enabled, selections will be blurred before combining. The blur is a gaussian blur; its radii can be
controlled using 'gimp-context-set-feather-radius'.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-image-select-rectangle',
'gimp-image-select-round-rectangle', 'gimp-image-select-ellipse', 'gimp-image-select-polygon',
'gimp-image-select-item'.",
+ "\n"
+ "This setting affects the following procedures: 'gimp-image-select-color',
'gimp-image-select-contiguous-color', 'gimp-image-select-rectangle', 'gimp-image-select-round-rectangle',
'gimp-image-select-ellipse', 'gimp-image-select-polygon', 'gimp-image-select-item'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -4888,8 +4888,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the feather radius setting.",
"This procedure modifies the feather radius setting.\n"
- "\n"
- "This setting affects all procedures that are affected by
'gimp-context-set-feather'.",
+ "\n"
+ "This setting affects all procedures that are affected by
'gimp-context-set-feather'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -4942,8 +4942,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the sample merged setting.",
"This procedure modifies the sample merged setting. If an operation
depends on the colors of the pixels present in a drawable, like when doing a seed fill, this setting controls
whether the pixel data from the specified drawable is used ('sample-merged' is FALSE), or the pixel data from
the composite image ('sample-merged' is TRUE. This is equivalent to sampling for colors after merging all
visible layers).\n"
- "\n"
- "This setting affects the following procedures:
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
+ "\n"
+ "This setting affects the following procedures: 'gimp-image-select-color',
'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -4991,8 +4991,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the sample criterion setting.",
"This procedure modifies the sample criterion setting. If an operation
depends on the colors of the pixels present in a drawable, like when doing a seed fill, this setting controls
how color similarity is determined. SELECT_CRITERION_COMPOSITE is the default value.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
+ "\n"
+ "This setting affects the following procedures: 'gimp-image-select-color',
'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -5040,8 +5040,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the sample threshold setting.",
"This procedure modifies the sample threshold setting. If an operation
depends on the colors of the pixels present in a drawable, like when doing a seed fill, this setting controls
what is \"sufficiently close\" to be considered a similar color. If the sample threshold has not been set
explicitly, the default threshold set in gimprc will be used.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
+ "\n"
+ "This setting affects the following procedures: 'gimp-image-select-color',
'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -5134,8 +5134,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the sample transparent setting.",
"This procedure modifies the sample transparent setting. If an operation
depends on the colors of the pixels present in a drawable, like when doing a seed fill, this setting controls
whether transparency is considered to be a unique selectable color. When this setting is TRUE, transparent
areas can be selected or filled.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
+ "\n"
+ "This setting affects the following procedures: 'gimp-image-select-color',
'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -5182,8 +5182,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the diagonal neighbors setting.",
"This procedure modifies the diagonal neighbors setting. If the affected
region of an operation is based on a seed point, like when doing a seed fill, then, when this setting is
TRUE, all eight neighbors of each pixel are considered when calculating the affected region; in contrast,
when this setting is FALSE, only the four orthogonal neighbors of each pixel are considered.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
+ "\n"
+ "This setting affects the following procedures:
'gimp-image-select-contiguous-color', 'gimp-drawable-edit-bucket-fill'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -5231,8 +5231,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the distance metric used in some computations.",
"This procedure modifies the distance metric used in some computations,
such as 'gimp-drawable-edit-gradient-fill'. In particular, it does not change the metric used in generic
distance computation on canvas, as in the Measure tool.\n"
- "\n"
- "This setting affects the following procedures:
'gimp-drawable-edit-gradient-fill'.",
+ "\n"
+ "This setting affects the following procedures:
'gimp-drawable-edit-gradient-fill'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Jehan",
@@ -5281,8 +5281,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the interpolation type.",
"This procedure modifies the interpolation setting.\n"
- "\n"
- "This setting affects affects the following procedures:
'gimp-item-transform-flip', 'gimp-item-transform-perspective', 'gimp-item-transform-rotate',
'gimp-item-transform-scale', 'gimp-item-transform-shear', 'gimp-item-transform-2d',
'gimp-item-transform-matrix', 'gimp-image-scale', 'gimp-layer-scale'.",
+ "\n"
+ "This setting affects affects the following procedures:
'gimp-item-transform-flip', 'gimp-item-transform-perspective', 'gimp-item-transform-rotate',
'gimp-item-transform-scale', 'gimp-item-transform-shear', 'gimp-item-transform-2d',
'gimp-item-transform-matrix', 'gimp-image-scale', 'gimp-layer-scale'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -5331,8 +5331,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the transform direction.",
"This procedure modifies the transform direction setting.\n"
- "\n"
- "This setting affects affects the following procedures:
'gimp-item-transform-flip', 'gimp-item-transform-perspective', 'gimp-item-transform-rotate',
'gimp-item-transform-scale', 'gimp-item-transform-shear', 'gimp-item-transform-2d',
'gimp-item-transform-matrix'.",
+ "\n"
+ "This setting affects affects the following procedures:
'gimp-item-transform-flip', 'gimp-item-transform-perspective', 'gimp-item-transform-rotate',
'gimp-item-transform-scale', 'gimp-item-transform-shear', 'gimp-item-transform-2d',
'gimp-item-transform-matrix'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -5381,8 +5381,8 @@ register_context_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Set the transform resize type.",
"This procedure modifies the transform resize setting. When transforming
pixels, if the result of a transform operation has a different size than the original area, this setting
determines how the resulting area is sized.\n"
- "\n"
- "This setting affects affects the following procedures:
'gimp-item-transform-flip', 'gimp-item-transform-flip-simple', 'gimp-item-transform-perspective',
'gimp-item-transform-rotate', 'gimp-item-transform-rotate-simple', 'gimp-item-transform-scale',
'gimp-item-transform-shear', 'gimp-item-transform-2d', 'gimp-item-transform-matrix'.",
+ "\n"
+ "This setting affects affects the following procedures:
'gimp-item-transform-flip', 'gimp-item-transform-flip-simple', 'gimp-item-transform-perspective',
'gimp-item-transform-rotate', 'gimp-item-transform-rotate-simple', 'gimp-item-transform-scale',
'gimp-item-transform-shear', 'gimp-item-transform-2d', 'gimp-item-transform-matrix'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
diff --git a/app/pdb/debug-cmds.c b/app/pdb/debug-cmds.c
index 38deb42471..9de2ee64af 100644
--- a/app/pdb/debug-cmds.c
+++ b/app/pdb/debug-cmds.c
@@ -103,9 +103,9 @@ register_debug_procs (GimpPDB *pdb)
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.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -123,9 +123,9 @@ register_debug_procs (GimpPDB *pdb)
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.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Ell",
diff --git a/app/pdb/drawable-cmds.c b/app/pdb/drawable-cmds.c
index 7934ab3e36..2b41c0f901 100644
--- a/app/pdb/drawable-cmds.c
+++ b/app/pdb/drawable-cmds.c
@@ -983,7 +983,7 @@ register_drawable_procs (GimpPDB *pdb)
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.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1014,7 +1014,7 @@ register_drawable_procs (GimpPDB *pdb)
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'.",
+ "Thumbnails are always 8-bit images, see 'gimp-drawable-thumbnail' and
'gimp-drawable-sub-thmbnail'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1349,7 +1349,7 @@ register_drawable_procs (GimpPDB *pdb)
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.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@@ -1403,7 +1403,7 @@ register_drawable_procs (GimpPDB *pdb)
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.",
+ "If there is no selection this function returns TRUE and the returned
bounds are the extents of the whole drawable.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1648,7 +1648,7 @@ register_drawable_procs (GimpPDB *pdb)
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-drawable-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.",
+ "This procedure is unlike 'gimp-drawable-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);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
diff --git a/app/pdb/drawable-edit-cmds.c b/app/pdb/drawable-edit-cmds.c
index 0c8ffbf747..471c615d7b 100644
--- a/app/pdb/drawable-edit-cmds.c
+++ b/app/pdb/drawable-edit-cmds.c
@@ -389,8 +389,8 @@ register_drawable_edit_procs (GimpPDB *pdb)
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'.",
+ "\n"
+ "This procedure is affected by the following context setters:
'gimp-context-set-background'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@@ -414,8 +414,8 @@ register_drawable_edit_procs (GimpPDB *pdb)
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'.",
+ "\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);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis & Raphael Quinet",
@@ -446,9 +446,9 @@ register_drawable_edit_procs (GimpPDB *pdb)
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'.",
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -491,8 +491,8 @@ register_drawable_edit_procs (GimpPDB *pdb)
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'.",
+ "\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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -577,8 +577,8 @@ register_drawable_edit_procs (GimpPDB *pdb)
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'.",
+ "\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);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@@ -602,8 +602,8 @@ register_drawable_edit_procs (GimpPDB *pdb)
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'.",
+ "\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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
diff --git a/app/pdb/edit-cmds.c b/app/pdb/edit-cmds.c
index 21dbd23d11..5322e576ab 100644
--- a/app/pdb/edit-cmds.c
+++ b/app/pdb/edit-cmds.c
@@ -759,7 +759,7 @@ register_edit_procs (GimpPDB *pdb)
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 data may be a floating selection when relevant, layers otherwise. 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.\n"
- "This procedure returns the new layers (floating or not). If the result
is a floating selection, it will already be attached to the specified drawable, and a subsequent call to
floating_sel_attach is not needed.",
+ "This procedure returns the new layers (floating or not). If the result is
a floating selection, it 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",
diff --git a/app/pdb/gradient-cmds.c b/app/pdb/gradient-cmds.c
index 2f5a2b864b..cd71977506 100644
--- a/app/pdb/gradient-cmds.c
+++ b/app/pdb/gradient-cmds.c
@@ -1952,7 +1952,7 @@ register_gradient_procs (GimpPDB *pdb)
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.",
+ "This procedure returns the final position.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Shlomi Fish <shlomif iglu org il>",
@@ -2031,7 +2031,7 @@ register_gradient_procs (GimpPDB *pdb)
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.",
+ "This procedure returns the final position.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Shlomi Fish <shlomif iglu org il>",
@@ -2110,7 +2110,7 @@ register_gradient_procs (GimpPDB *pdb)
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.",
+ "This procedure returns the final position.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Shlomi Fish <shlomif iglu org il>",
diff --git a/app/pdb/image-cmds.c b/app/pdb/image-cmds.c
index 1762387982..6a34e6d9a4 100644
--- a/app/pdb/image-cmds.c
+++ b/app/pdb/image-cmds.c
@@ -2973,8 +2973,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Creates a new image with the specified width, height, and type.",
"Creates a new image, undisplayed, with the specified extents and type. A
layer should be created and added before this image is displayed, or subsequent calls to 'gimp-display-new'
with this image as an argument will fail. Layers can be created using the 'gimp-layer-new' commands. They can
be added to an image using the 'gimp-image-insert-layer' command.\n"
- "\n"
- "If your image's type if INDEXED, a colormap must also be added with
'gimp-image-set-colormap'. An indexed image without a colormap will output unexpected colors.",
+ "\n"
+ "If your image's type if INDEXED, a colormap must also be added with
'gimp-image-set-colormap'. An indexed image without a colormap will output unexpected colors.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@@ -3266,7 +3266,7 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Returns the list of root layers contained in the specified image.",
"This procedure returns the list of root layers contained in the specified
image. The order of layers is from topmost to bottommost.\n"
- "Note that this is not the full list of layers, but only the root
layers, i.e. layers with no parents themselves. If you need all layers, it is up to you to verify that any of
these layers is a group layer with 'gimp-item-is-group' and to obtain its children with
'gimp-item-get-children' (possibly recursively checking if these have children too).",
+ "Note that this is not the full list of layers, but only the root layers,
i.e. layers with no parents themselves. If you need all layers, it is up to you to verify that any of these
layers is a group layer with 'gimp-item-is-group' and to obtain its children with 'gimp-item-get-children'
(possibly recursively checking if these have children too).",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@@ -3482,8 +3482,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Determine the color at the given coordinates",
"This tool determines the color at the specified coordinates. The returned
color is an RGB triplet even for grayscale and indexed drawables. If the coordinates lie outside of the
extents of the specified drawables, then an error is returned. All drawables must belong to the image and be
of the same type.\n"
- "If only one drawable is given and it has an alpha channel, the
algorithm examines the alpha value of the drawable at the coordinates. If the alpha value is completely
transparent (0), then an error is returned. With several drawables specified, the composite image with only
these drawables is used.\n"
- "If the sample_merged parameter is TRUE, the data of the composite
image will be used instead of that for the specified drawables. This is equivalent to sampling for colors
after merging all visible layers. In the case of a merged sampling, the supplied drawables are ignored.",
+ "If only one drawable is given and it has an alpha channel, the algorithm
examines the alpha value of the drawable at the coordinates. If the alpha value is completely transparent
(0), then an error is returned. With several drawables specified, the composite image with only these
drawables is used.\n"
+ "If the sample_merged parameter is TRUE, the data of the composite image
will be used instead of that for the specified drawables. This is equivalent to sampling for colors after
merging all visible layers. In the case of a merged sampling, the supplied drawables are ignored.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
@@ -3667,8 +3667,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Freeze the image's layer list.",
"This procedure freezes the layer list of the image, suppressing any
updates to the Layers dialog in response to changes to the image's layers. This can significantly improve
performance while applying changes affecting the layer list.\n"
- "\n"
- "Each call to 'gimp-image-freeze-layers' should be matched by a
corresponding call to 'gimp-image-thaw-layers', undoing its effects.",
+ "\n"
+ "Each call to 'gimp-image-freeze-layers' should be matched by a
corresponding call to 'gimp-image-thaw-layers', undoing its effects.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -3692,8 +3692,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Thaw the image's layer list.",
"This procedure thaws the layer list of the image, re-enabling updates to
the Layers dialog.\n"
- "\n"
- "This procedure should match a corresponding call to
'gimp-image-freeze-layers'.",
+ "\n"
+ "This procedure should match a corresponding call to
'gimp-image-freeze-layers'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -3787,8 +3787,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Freeze the image's channel list.",
"This procedure freezes the channel list of the image, suppressing any
updates to the Channels dialog in response to changes to the image's channels. This can significantly improve
performance while applying changes affecting the channel list.\n"
- "\n"
- "Each call to 'gimp-image-freeze-channels' should be matched by a
corresponding call to 'gimp-image-thaw-channels', undoing its effects.",
+ "\n"
+ "Each call to 'gimp-image-freeze-channels' should be matched by a
corresponding call to 'gimp-image-thaw-channels', undoing its effects.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -3812,8 +3812,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Thaw the image's channel list.",
"This procedure thaws the channel list of the image, re-enabling updates
to the Channels dialog.\n"
- "\n"
- "This procedure should match a corresponding call to
'gimp-image-freeze-channels'.",
+ "\n"
+ "This procedure should match a corresponding call to
'gimp-image-freeze-channels'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -3907,8 +3907,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Freeze the image's vectors list.",
"This procedure freezes the vectors list of the image, suppressing any
updates to the Paths dialog in response to changes to the image's vectors. This can significantly improve
performance while applying changes affecting the vectors list.\n"
- "\n"
- "Each call to 'gimp-image-freeze-vectors' should be matched by a
corresponding call to 'gimp-image-thaw-vectors', undoing its effects.",
+ "\n"
+ "Each call to 'gimp-image-freeze-vectors' should be matched by a
corresponding call to 'gimp-image-thaw-vectors', undoing its effects.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -3932,8 +3932,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Thaw the image's vectors list.",
"This procedure thaws the vectors list of the image, re-enabling updates
to the Paths dialog.\n"
- "\n"
- "This procedure should match a corresponding call to
'gimp-image-freeze-vectors'.",
+ "\n"
+ "This procedure should match a corresponding call to
'gimp-image-freeze-vectors'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Ell",
@@ -5656,8 +5656,8 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Execute the \"Orientation\" metadata policy.",
"Process the image according to the rotation policy as set in Preferences.
If GIMP is running as a GUI and interactive is TRUE, a dialog may be presented to the user depending on the
set policy. Otherwise, if the policy does not mandate the action to perform, the image will be rotated
following the Orientation metadata.\n"
- "If you wish absolutely to rotate a loaded image following the
Orientation metadata, do not use this function and process the metadata yourself. Indeed even with
`interactive` to FALSE, user settings may leave the image unrotated.\n"
- "Finally it is unnecessary to call this function in a format load
procedure because this is called automatically by the core code when loading any image. You should only call
this function explicitly when loading an image through a PDB call.",
+ "If you wish absolutely to rotate a loaded image following the Orientation
metadata, do not use this function and process the metadata yourself. Indeed even with `interactive` to
FALSE, user settings may leave the image unrotated.\n"
+ "Finally it is unnecessary to call this function in a format load
procedure because this is called automatically by the core code when loading any image. You should only call
this function explicitly when loading an image through a PDB call.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Jehan",
@@ -5687,9 +5687,9 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Execute the color profile conversion policy.",
"Process the image according to the color profile policy as set in
Preferences.\n"
- "If GIMP is running as a GUI and interactive is TRUE, a dialog may be
presented to the user depending on the policy. Otherwise, if the policy does not mandate the conversion to
perform, the conversion to the preferred RGB or grayscale profile will happen, defaulting to built-in
profiles if no preferred profiles were set in `Preferences`.\n"
- "This function should be used only if you want to follow user settings.
If you intend to convert to a specific profile, call preferably 'gimp-image-convert-color-profile'. And if
you wish to leave whatever profile an image has, do not call any of these functions.\n"
- "Finally it is unnecessary to call this function in a format load
procedure because this is called automatically by the core code when loading any image. You should only call
this function explicitly when loading an image through a PDB call.",
+ "If GIMP is running as a GUI and interactive is TRUE, a dialog may be
presented to the user depending on the policy. Otherwise, if the policy does not mandate the conversion to
perform, the conversion to the preferred RGB or grayscale profile will happen, defaulting to built-in
profiles if no preferred profiles were set in `Preferences`.\n"
+ "This function should be used only if you want to follow user settings. If
you intend to convert to a specific profile, call preferably 'gimp-image-convert-color-profile'. And if you
wish to leave whatever profile an image has, do not call any of these functions.\n"
+ "Finally it is unnecessary to call this function in a format load
procedure because this is called automatically by the core code when loading any image. You should only call
this function explicitly when loading an image through a PDB call.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Jehan",
diff --git a/app/pdb/image-select-cmds.c b/app/pdb/image-select-cmds.c
index 67d871ace7..03197283eb 100644
--- a/app/pdb/image-select-cmds.c
+++ b/app/pdb/image-select-cmds.c
@@ -369,10 +369,10 @@ register_image_select_procs (GimpPDB *pdb)
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.",
+ "\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);
gimp_procedure_set_static_attribution (procedure,
"David Gowers",
@@ -416,10 +416,10 @@ register_image_select_procs (GimpPDB *pdb)
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.",
+ "\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);
gimp_procedure_set_static_attribution (procedure,
"David Gowers",
@@ -468,8 +468,8 @@ register_image_select_procs (GimpPDB *pdb)
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'.",
+ "\n"
+ "This procedure is affected by the following context setters:
'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -524,8 +524,8 @@ register_image_select_procs (GimpPDB *pdb)
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'.",
+ "\n"
+ "This procedure is affected by the following context setters:
'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Martin Nordholts",
@@ -592,8 +592,8 @@ register_image_select_procs (GimpPDB *pdb)
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'.",
+ "\n"
+ "This procedure is affected by the following context setters:
'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -648,8 +648,8 @@ register_image_select_procs (GimpPDB *pdb)
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'.",
+ "\n"
+ "This procedure is affected by the following context setters:
'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -691,8 +691,8 @@ register_image_select_procs (GimpPDB *pdb)
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'.",
+ "\n"
+ "This procedure is affected by the following context setters:
'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
diff --git a/app/pdb/item-transform-cmds.c b/app/pdb/item-transform-cmds.c
index b2212ab35a..c5dc42ed78 100644
--- a/app/pdb/item-transform-cmds.c
+++ b/app/pdb/item-transform-cmds.c
@@ -995,12 +995,12 @@ register_item_transform_procs (GimpPDB *pdb)
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. 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'.",
+ "\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. 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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1051,12 +1051,12 @@ register_item_transform_procs (GimpPDB *pdb)
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. 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'.",
+ "\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. 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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1110,15 +1110,15 @@ register_item_transform_procs (GimpPDB *pdb)
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"
- "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 transformed as specified. The return value is the ID of the transformed floating selection.\n"
- "\n"
- "If there is no selection or the item is not a drawable, the entire
item will be transformed according to the specified mapping.\n"
- "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'.",
+ "\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"
+ "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 transformed as specified. The return value is the ID of the transformed floating selection.\n"
+ "\n"
+ "If there is no selection or the item is not a drawable, the entire item
will be transformed according to the specified mapping.\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1196,13 +1196,13 @@ register_item_transform_procs (GimpPDB *pdb)
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.\n"
- "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'.",
+ "\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.\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1257,13 +1257,13 @@ register_item_transform_procs (GimpPDB *pdb)
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.\n"
- "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'.",
+ "\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.\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1317,15 +1317,15 @@ register_item_transform_procs (GimpPDB *pdb)
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"
- "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 scaled as specified. The return value is the ID of the scaled floating selection.\n"
- "\n"
- "If there is no selection or the item is not a drawable, the entire
item will be scaled according to the specified coordinates.\n"
- "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'.",
+ "\n"
+ "The 2 coordinates specify the new locations of the top-left and
bottom-roght corners of the original bounding box.\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 scaled as specified. The return value is the ID of the scaled floating selection.\n"
+ "\n"
+ "If there is no selection or the item is not a drawable, the entire item
will be scaled according to the specified coordinates.\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1379,15 +1379,15 @@ register_item_transform_procs (GimpPDB *pdb)
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"
- "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 sheared as specified. The return value is the ID of the sheared floating selection.\n"
- "\n"
- "If there is no selection or the item is not a drawable, the entire
item will be sheared according to the specified parameters.\n"
- "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'.",
+ "\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"
+ "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 sheared as specified. The return value is the ID of the sheared floating selection.\n"
+ "\n"
+ "If there is no selection or the item is not a drawable, the entire item
will be sheared according to the specified parameters.\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1432,15 +1432,15 @@ register_item_transform_procs (GimpPDB *pdb)
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"
- "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 transformed as specified. The return value is the ID of the transformed floating selection.\n"
- "\n"
- "If there is no selection or the item is not a drawable, the entire
item will be transformed according to the specified parameters.\n"
- "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'.",
+ "\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"
+ "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 transformed as specified. The return value is the ID of the transformed floating selection.\n"
+ "\n"
+ "If there is no selection or the item is not a drawable, the entire item
will be transformed according to the specified parameters.\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
@@ -1512,15 +1512,15 @@ register_item_transform_procs (GimpPDB *pdb)
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"
- "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 transformed as specified. The return value is the ID of the transformed floating selection.\n"
- "\n"
- "If there is no selection or the item is not a drawable, the entire
item will be transformed according to the specified matrix.\n"
- "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'.",
+ "\n"
+ "The transformation is done by assembling a 3x3 matrix from the
coefficients passed.\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 transformed as specified. The return value is the ID of the transformed floating selection.\n"
+ "\n"
+ "If there is no selection or the item is not a drawable, the entire item
will be transformed according to the specified matrix.\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Michael Natterer <mitch gimp org>",
diff --git a/app/pdb/layer-cmds.c b/app/pdb/layer-cmds.c
index 970e846a97..3be8f39af4 100644
--- a/app/pdb/layer-cmds.c
+++ b/app/pdb/layer-cmds.c
@@ -1403,7 +1403,7 @@ register_layer_procs (GimpPDB *pdb)
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'.",
+ "Other procedures useful with layer groups: 'gimp-image-reorder-item',
'gimp-item-get-parent', 'gimp-item-get-children', 'gimp-item-is-group'.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Barak Itkin <lightningismyname gmail com>",
@@ -1660,17 +1660,17 @@ register_layer_procs (GimpPDB *pdb)
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"
- "- the layer's alpha channel (either a copy, or a transfer, which
leaves the layer fully visible, but which may be more useful than a white mask);\n"
- "- the current selection;\n"
- "- a grayscale copy of the layer;\n"
- "- or a copy of the active channel.\n"
- "\n"
- "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.",
+ "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"
+ "- the layer's alpha channel (either a copy, or a transfer, which leaves
the layer fully visible, but which may be more useful than a white mask);\n"
+ "- the current selection;\n"
+ "- a grayscale copy of the layer;\n"
+ "- or a copy of the active channel.\n"
+ "\n"
+ "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);
gimp_procedure_set_static_attribution (procedure,
"Spencer Kimball & Peter Mattis",
diff --git a/app/pdb/plug-in-cmds.c b/app/pdb/plug-in-cmds.c
index cd3696341d..2e5efd9b6c 100644
--- a/app/pdb/plug-in-cmds.c
+++ b/app/pdb/plug-in-cmds.c
@@ -315,7 +315,7 @@ register_plug_in_procs (GimpPDB *pdb)
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.\n"
- "Only core plug-ins should call this function directly. Third-party
plug-ins are expected instead to define a custom `set_i18n()` method returning their domain and a path
relative to their folder. In other words, this should be considered an internal PDB function which should not
be used except by core developers.",
+ "Only core plug-ins should call this function directly. Third-party
plug-ins are expected instead to define a custom `set_i18n()` method returning their domain and a path
relative to their folder. In other words, this should be considered an internal PDB function which should not
be used except by core developers.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Sven Neumann <sven gimp org>",
diff --git a/app/pdb/plug-in-compat-cmds.c b/app/pdb/plug-in-compat-cmds.c
index af49eb86eb..e2bbbf1f25 100644
--- a/app/pdb/plug-in-compat-cmds.c
+++ b/app/pdb/plug-in-compat-cmds.c
@@ -5470,7 +5470,7 @@ register_plug_in_compat_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Simulate a cartoon by enhancing edges",
"Propagates dark values in an image based on each pixel's relative
darkness to a neighboring average. The idea behind this filter is to give the look of a black felt pen
drawing subsequently shaded with color. This is achieved by darkening areas of the image which are measured
to be darker than a neighborhood average. In this way, sufficiently large shifts in intensity are darkened to
black. The rate at which they are darkened to black is determined by the second pct_black parameter. The
mask_radius parameter controls the size of the pixel neighborhood over which the average intensity is
computed and then compared to each pixel in the neighborhood to decide whether or not to darken it to black.
Large values for mask_radius result in very thick black areas bordering the shaded regions of color and much
less detail for black areas everywhere including inside regions of color. Small values result in more subtle
pen strokes and detail everywhere. Small
values for the pct_black make the\n"
- "blend from the color regions to the black border lines smoother and
the lines themselves thinner and less noticeable; larger values achieve the opposite effect.",
+ "blend from the color regions to the black border lines smoother and the
lines themselves thinner and less noticeable; larger values achieve the opposite effect.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Compatibility procedure. Please see 'gegl:cartoon' for credits.",
@@ -7920,7 +7920,7 @@ register_plug_in_compat_procs (GimpPDB *pdb)
gimp_procedure_set_static_help (procedure,
"Simulate color distortion produced by a copy machine",
"Propagates dark values in an image based on each pixel's relative
darkness to a neighboring average. The idea behind this filter is to give the look of a photocopied version
of the image, with toner transferred based on the relative darkness of a particular region. This is achieved
by darkening areas of the image which are measured to be darker than a neighborhood average and setting other
pixels to white. In this way, sufficiently large shifts in intensity are darkened to black. The rate at which
they are darkened to black is determined by the second pct_black parameter. The mask_radius parameter
controls the size of the pixel neighborhood over which the average intensity is computed and then compared to
each pixel in the neighborhood to decide whether or not to darken it to black. Large values for mask_radius
result in very thick black areas bordering the regions of white and much less detail for black areas
everywhere including inside regions of
color. Small values result in\n"
- "less toner overall and more detail everywhere. Small values for the
pct_black make the blend from the white regions to the black border lines smoother and the toner regions
themselves thinner and less noticeable; larger values achieve the opposite effect.",
+ "less toner overall and more detail everywhere. Small values for the
pct_black make the blend from the white regions to the black border lines smoother and the toner regions
themselves thinner and less noticeable; larger values achieve the opposite effect.",
NULL);
gimp_procedure_set_static_attribution (procedure,
"Compatibility procedure. Please see 'gegl:photocopy' for credits.",
diff --git a/pdb/app.pl b/pdb/app.pl
index c48967ed6c..d1d4428782 100644
--- a/pdb/app.pl
+++ b/pdb/app.pl
@@ -698,8 +698,8 @@ sub generate {
gimp_object_set_static_name (GIMP_OBJECT (procedure),
"$procedure_name");
gimp_procedure_set_static_help (procedure,
- @{[ "ewrap($blurb, 2, 37) ]},
- @{[ "ewrap($help, 2, 37) ]},
+ @{[ "ewrap($blurb, 2, 34) ]},
+ @{[ "ewrap($help, 2, 34) ]},
NULL);
gimp_procedure_set_static_attribution (procedure,
"$proc->{author}",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]