fixed documentation of gimp-selection-sharpen (bug #343911).

2006-06-05  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/selection.pdb: fixed documentation of
	gimp-selection-sharpen (bug #343911).

	* libgimp/gimpselection_pdb.c: regenerated.
This commit is contained in:
Sven Neumann 2006-06-05 20:36:21 +00:00 committed by Sven Neumann
parent 528a5a3691
commit fa4427f83a
4 changed files with 19 additions and 11 deletions

View file

@ -1,3 +1,10 @@
2006-06-05 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/selection.pdb: fixed documentation of
gimp-selection-sharpen (bug #343911).
* libgimp/gimpselection_pdb.c: regenerated.
2006-06-05 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs.[ch]

View file

@ -698,7 +698,7 @@ register_selection_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-selection-invert",
"Invert the selection mask.",
"This procedure inverts the selection mask. For every pixel in the selection channel, its new value is calculated as (255 - old_value).",
"This procedure inverts the selection mask. For every pixel in the selection channel, its new value is calculated as (255 - old-value).",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -720,7 +720,7 @@ register_selection_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-selection-sharpen",
"Sharpen the selection mask.",
"This procedure sharpens the selection mask. For every pixel in the selection channel, if the value is > 0, the new pixel is assigned a value of 255. This removes any \"anti-aliasing\" that might exist in the selection mask's boundary.",
"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.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View file

@ -241,7 +241,7 @@ _gimp_selection_float (gint32 drawable_ID,
* 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).
* selection channel, its new value is calculated as (255 - old-value).
*
* Returns: TRUE on success.
*/
@ -271,9 +271,9 @@ gimp_selection_invert (gint32 image_ID)
* Sharpen the selection mask.
*
* This procedure sharpens the selection mask. For every pixel in the
* selection channel, if the value is &gt; 0, the new pixel is assigned
* a value of 255. This removes any \"anti-aliasing\" that might exist
* in the selection mask's boundary.
* selection channel, if the value is &gt; 127, the new pixel is
* assigned a value of 255. This removes any \"anti-aliasing\" that
* might exist in the selection mask's boundary.
*
* Returns: TRUE on success.
*/

View file

@ -206,7 +206,7 @@ sub selection_invert {
$help = <<'HELP';
This procedure inverts the selection mask. For every pixel in the selection
channel, its new value is calculated as (255 - old_value).
channel, its new value is calculated as (255 - old-value).
HELP
&std_pdb_misc;
@ -230,8 +230,9 @@ sub selection_sharpen {
$help = <<'HELP';
This procedure sharpens the selection mask. For every pixel in the selection
channel, if the value is > 0, the new pixel is assigned a value of 255. This
removes any "anti-aliasing" that might exist in the selection mask's boundary.
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.
HELP
&std_pdb_misc;
@ -254,8 +255,8 @@ sub selection_all {
$blurb = 'Select all of the image.';
$help = <<'HELP';
This procedure sets the selection mask to completely encompass the image. Every
pixel in the selection channel is set to 255.
This procedure sets the selection mask to completely encompass the image.
Every pixel in the selection channel is set to 255.
HELP
&std_pdb_misc;