gimp r27040 - in trunk: . app/pdb libgimp tools/pdbgen/pdb



Author: martinn
Date: Wed Sep 24 09:09:27 2008
New Revision: 27040
URL: http://svn.gnome.org/viewvc/gimp?rev=27040&view=rev

Log:
* 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.


Modified:
   trunk/ChangeLog
   trunk/app/pdb/selection-cmds.c
   trunk/libgimp/gimpselection_pdb.c
   trunk/tools/pdbgen/pdb/selection.pdb

Modified: trunk/app/pdb/selection-cmds.c
==============================================================================
--- trunk/app/pdb/selection-cmds.c	(original)
+++ trunk/app/pdb/selection-cmds.c	Wed Sep 24 09:09:27 2008
@@ -950,7 +950,7 @@
   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",

Modified: trunk/libgimp/gimpselection_pdb.c
==============================================================================
--- trunk/libgimp/gimpselection_pdb.c	(original)
+++ trunk/libgimp/gimpselection_pdb.c	Wed Sep 24 09:09:27 2008
@@ -496,12 +496,12 @@
  *
  * 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.
  */

Modified: trunk/tools/pdbgen/pdb/selection.pdb
==============================================================================
--- trunk/tools/pdbgen/pdb/selection.pdb	(original)
+++ trunk/tools/pdbgen/pdb/selection.pdb	Wed Sep 24 09:09:27 2008
@@ -416,11 +416,12 @@
 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]