Update documentation, the layer does not need to have an alpha channel. A

* tools/pdbgen/pdb/selection.pdb (selection_layer_alpha): Update
documentation, the layer does not need to have an alpha channel. A
layer without an alpha channel is considered opaque.

* app/pdb/selection-cmds.c 
* libgimp/gimpselection_pdb.c: Regenerated.

svn path=/trunk/; revision=27040
This commit is contained in:
Martin Nordholts 2008-09-24 09:09:27 +00:00
parent c286952086
commit 7bb585132d
4 changed files with 22 additions and 12 deletions

View File

@ -1,3 +1,12 @@
2008-09-24 Martin Nordholts <martinn@svn.gnome.org>
* tools/pdbgen/pdb/selection.pdb (selection_layer_alpha): Update
documentation, the layer does not need to have an alpha channel. A
layer without an alpha channel is considered opaque.
* app/pdb/selection-cmds.c
* libgimp/gimpselection_pdb.c: Regenerated.
2008-09-24 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/layer.pdb

View File

@ -950,7 +950,7 @@ register_selection_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-selection-layer-alpha",
"Transfer the specified layer's alpha channel to the selection mask.",
"This procedure requires a layer with an alpha channel. The alpha channel information is used to create a selection mask such that for any pixel in the image defined in the specified layer, that layer pixel's alpha value is transferred to the selection mask. If the layer is undefined at a particular image pixel, the associated selection mask value is set to 0.",
"The alpha channel information is used to create a selection mask such that for any pixel in the image defined in the specified layer, that layer pixel's alpha value is transferred to the selection mask. If the layer is undefined at a particular image pixel, the associated selection mask value is set to 0. A layer without an alpha channel is considered opaque.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -496,12 +496,12 @@ gimp_selection_shrink (gint32 image_ID,
*
* Transfer the specified layer's alpha channel to the selection mask.
*
* This procedure requires a layer with an alpha channel. The alpha
* channel information is used to create a selection mask such that for
* any pixel in the image defined in the specified layer, that layer
* pixel's alpha value is transferred to the selection mask. If the
* layer is undefined at a particular image pixel, the associated
* selection mask value is set to 0.
* The alpha channel information is used to create a selection mask
* such that for any pixel in the image defined in the specified layer,
* that layer pixel's alpha value is transferred to the selection mask.
* If the layer is undefined at a particular image pixel, the
* associated selection mask value is set to 0. A layer without an
* alpha channel is considered opaque.
*
* Returns: TRUE on success.
*/

View File

@ -416,11 +416,12 @@ Transfer the specified layer's alpha channel to the selection mask.
BLURB
$help = <<'HELP';
This procedure requires a layer with an alpha channel. The alpha channel
information is used to create a selection mask such that for any pixel in the
image defined in the specified layer, that layer pixel's alpha value is
transferred to the selection mask. If the layer is undefined at a particular
image pixel, the associated selection mask value is set to 0.
The alpha channel information is used to create a selection mask such
that for any pixel in the image defined in the specified layer, that
layer pixel's alpha value is transferred to the selection mask. If the
layer is undefined at a particular image pixel, the associated
selection mask value is set to 0. A layer without an alpha channel is
considered opaque.
HELP
&std_pdb_misc;