Commit 7bb58513 authored by Martin Nordholts's avatar Martin Nordholts

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
parent c2869520
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
......
......@@ -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",
......
......@@ -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.
*/
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment