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



Author: neo
Date: Wed Sep 24 07:47:58 2008
New Revision: 27038
URL: http://svn.gnome.org/viewvc/gimp?rev=27038&view=rev

Log:
2008-09-24  Sven Neumann  <sven gimp org>

	* tools/pdbgen/pdb/image.pdb: fixed error and some typos in the
	PDB documentation.

	* app/pdb/image-cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.



Modified:
   trunk/ChangeLog
   trunk/app/pdb/image-cmds.c
   trunk/libgimp/gimpimage_pdb.c
   trunk/tools/pdbgen/pdb/image.pdb

Modified: trunk/app/pdb/image-cmds.c
==============================================================================
--- trunk/app/pdb/image-cmds.c	(original)
+++ trunk/app/pdb/image-cmds.c	Wed Sep 24 07:47:58 2008
@@ -2707,7 +2707,7 @@
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-resize",
                                      "Resize the image to the specified extents.",
-                                     "This procedure resizes the image so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. No bounds checking is currently provided, so don't supply parameters that are out of bounds. All channels within the image are resized according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.",
+                                     "This procedure resizes the image so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. All channels within the image are resized according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.",
                                      "Spencer Kimball & Peter Mattis",
                                      "Spencer Kimball & Peter Mattis",
                                      "1995-1996",
@@ -2777,7 +2777,7 @@
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-scale",
                                      "Scale the image to the specified extents.",
-                                     "This procedure scales the image so that its new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. No bounds checking is currently provided, so don't supply parameters that are out of bounds. All channels within the image are scaled according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.",
+                                     "This procedure scales the image so that its new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous image's content. All channels within the image are scaled according to the specified parameters; this includes the image selection mask. All layers within the image are repositioned according to the specified offsets.",
                                      "Spencer Kimball & Peter Mattis",
                                      "Spencer Kimball & Peter Mattis",
                                      "1995-1996",
@@ -3304,7 +3304,7 @@
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-get-layer-position",
                                      "Returns the position of the layer in the layer stack.",
-                                     "This procedure determines the positioin of the specified layer in the images layer stack. If the layer doesn't exist in the image, an error is returned.",
+                                     "This procedure determines the position of the specified layer in the images layer stack. If the layer doesn't exist in the image, an error is returned.",
                                      "Simon Budig",
                                      "Simon Budig",
                                      "2006",
@@ -3519,7 +3519,7 @@
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-get-channel-position",
                                      "Returns the position of the channel in the channel stack.",
-                                     "This procedure determines the positioin of the specified channel in the images channel stack. If the channel doesn't exist in the image, an error is returned.",
+                                     "This procedure determines the position of the specified channel in the images channel stack. If the channel doesn't exist in the image, an error is returned.",
                                      "Simon Budig",
                                      "Simon Budig",
                                      "2006",
@@ -3676,7 +3676,7 @@
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-get-vectors-position",
                                      "Returns the position of the vectors object in the vectors objects stack.",
-                                     "This procedure determines the positioin of the specified vectors object in the images vectors object stack. If the vectors object doesn't exist in the image, an error is returned.",
+                                     "This procedure determines the position of the specified vectors object in the images vectors object stack. If the vectors object doesn't exist in the image, an error is returned.",
                                      "Simon Budig",
                                      "Simon Budig",
                                      "2006",

Modified: trunk/libgimp/gimpimage_pdb.c
==============================================================================
--- trunk/libgimp/gimpimage_pdb.c	(original)
+++ trunk/libgimp/gimpimage_pdb.c	Wed Sep 24 07:47:58 2008
@@ -339,12 +339,11 @@
  *
  * This procedure resizes the image so that it's new width and height
  * are equal to the supplied parameters. Offsets are also provided
- * which describe the position of the previous image's content. No
- * bounds checking is currently provided, so don't supply parameters
- * that are out of bounds. All channels within the image are resized
- * according to the specified parameters; this includes the image
- * selection mask. All layers within the image are repositioned
- * according to the specified offsets.
+ * which describe the position of the previous image's content. All
+ * channels within the image are resized according to the specified
+ * parameters; this includes the image selection mask. All layers
+ * within the image are repositioned according to the specified
+ * offsets.
  *
  * Returns: TRUE on success.
  */
@@ -419,12 +418,10 @@
  *
  * This procedure scales the image so that its new width and height are
  * equal to the supplied parameters. Offsets are also provided which
- * describe the position of the previous image's content. No bounds
- * checking is currently provided, so don't supply parameters that are
- * out of bounds. All channels within the image are scaled according to
- * the specified parameters; this includes the image selection mask.
- * All layers within the image are repositioned according to the
- * specified offsets.
+ * describe the position of the previous image's content. All channels
+ * within the image are scaled according to the specified parameters;
+ * this includes the image selection mask. All layers within the image
+ * are repositioned according to the specified offsets.
  *
  * Returns: TRUE on success.
  */
@@ -1000,8 +997,8 @@
  *
  * Returns the position of the layer in the layer stack.
  *
- * This procedure determines the positioin of the specified layer in
- * the images layer stack. If the layer doesn't exist in the image, an
+ * This procedure determines the position of the specified layer in the
+ * images layer stack. If the layer doesn't exist in the image, an
  * error is returned.
  *
  * Returns: The position of the layer in the layer stack.
@@ -1244,7 +1241,7 @@
  *
  * Returns the position of the channel in the channel stack.
  *
- * This procedure determines the positioin of the specified channel in
+ * This procedure determines the position of the specified channel in
  * the images channel stack. If the channel doesn't exist in the image,
  * an error is returned.
  *
@@ -1422,7 +1419,7 @@
  * Returns the position of the vectors object in the vectors objects
  * stack.
  *
- * This procedure determines the positioin of the specified vectors
+ * This procedure determines the position of the specified vectors
  * object in the images vectors object stack. If the vectors object
  * doesn't exist in the image, an error is returned.
  *

Modified: trunk/tools/pdbgen/pdb/image.pdb
==============================================================================
--- trunk/tools/pdbgen/pdb/image.pdb	(original)
+++ trunk/tools/pdbgen/pdb/image.pdb	Wed Sep 24 07:47:58 2008
@@ -87,11 +87,12 @@
     $blurb = 'Creates a new image with the specified width, height, and type.';
 
     $help = <<'HELP';
-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_add_layer() command.
+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_add_layer() command.
 HELP
 
     &std_pdb_misc;
@@ -190,13 +191,12 @@
     $blurb = 'Resize the image to the specified extents.';
 
     $help = <<'HELP';
-This procedure resizes the image so that it's new width and height are equal to
-the supplied parameters. Offsets are also provided which describe the position
-of the previous image's content. No bounds checking is currently provided, so
-don't supply parameters that are out of bounds. All channels within the image
-are resized according to the specified parameters; this includes the image
-selection mask. All layers within the image are repositioned according to the
-specified offsets.
+This procedure resizes the image so that it's new width and height are
+equal to the supplied parameters. Offsets are also provided which
+describe the position of the previous image's content. All channels
+within the image are resized according to the specified parameters;
+this includes the image selection mask. All layers within the image
+are repositioned according to the specified offsets.
 HELP
 
     &std_pdb_misc;
@@ -231,10 +231,10 @@
     $blurb = 'Resize the image to fit all layers.';
 
     $help = <<'HELP';
-This procedure resizes the image to the bounding box of all layers of the
-image. All channels within the image are resized to the new size; this includes
-the image selection mask. All layers within the image are repositioned to the
-new image area.
+This procedure resizes the image to the bounding box of all layers of
+the image. All channels within the image are resized to the new size;
+this includes the image selection mask. All layers within the image
+are repositioned to the new image area.
 HELP
 
     &simon_pdb_misc('2004', '2.2');
@@ -258,13 +258,12 @@
     $blurb = 'Scale the image to the specified extents.';
 
     $help = <<'HELP';
-This procedure scales the image so that its new width and height are equal to
-the supplied parameters. Offsets are also provided which describe the position
-of the previous image's content. No bounds checking is currently provided, so
-don't supply parameters that are out of bounds. All channels within the image
-are scaled according to the specified parameters; this includes the image
-selection mask. All layers within the image are repositioned according to the
-specified offsets.
+This procedure scales the image so that its new width and height are
+equal to the supplied parameters. Offsets are also provided which
+describe the position of the previous image's content. All channels
+within the image are scaled according to the specified parameters;
+this includes the image selection mask. All layers within the image
+are repositioned according to the specified offsets.
 HELP
 
     &std_pdb_misc;
@@ -294,11 +293,12 @@
     $blurb = 'Crop the image to the specified extents.';
 
     $help = <<'HELP';
-This procedure crops the image so that it's new width and height are equal to
-the supplied parameters. Offsets are also provided which describe the position
-of the previous image's content. All channels and layers within the image are
-cropped to the new image extents; this includes the image selection mask. If
-any parameters are out of range, an error is returned.
+This procedure crops the image so that it's new width and height are
+equal to the supplied parameters. Offsets are also provided which
+describe the position of the previous image's content. All channels
+and layers within the image are cropped to the new image extents; this
+includes the image selection mask. If any parameters are out of range,
+an error is returned.
 HELP
 
     &std_pdb_misc;
@@ -533,9 +533,10 @@
     $blurb = 'Unsets the active channel in the specified image.';
 
     $help = <<'HELP';
-If an active channel exists, it is unset. There then exists no active channel,
-and if desired, one can be set through a call to 'Set Active Channel'. No error
-is returned in the case of no existing active channel.
+If an active channel exists, it is unset. There then exists no active
+channel, and if desired, one can be set through a call to 'Set Active
+Channel'. No error is returned in the case of no existing active
+channel.
 HELP
 
     &std_pdb_misc;
@@ -638,10 +639,11 @@
     $blurb = 'Find the layer visible at the specified coordinates.';
 
     $help = <<'HELP';
-This procedure finds the layer which is visible at the specified coordinates.
-Layers which do not qualify are those whose extents do not pass within the
-specified coordinates, or which are transparent at the specified coordinates.
-This procedure will return -1 if no layer is found.
+This procedure finds the layer which is visible at the specified
+coordinates.  Layers which do not qualify are those whose extents do
+not pass within the specified coordinates, or which are transparent at
+the specified coordinates.  This procedure will return -1 if no layer
+is found.
 HELP
 
     &std_pdb_misc;
@@ -673,8 +675,9 @@
     $blurb = 'Returns the position of the layer in the layer stack.';
 
     $help = <<'HELP';
-This procedure determines the positioin of the specified layer in the images
-layer stack. If the layer doesn't exist in the image, an error is returned.
+This procedure determines the position of the specified layer in the
+images layer stack. If the layer doesn't exist in the image, an error
+is returned.
 HELP
 
     &simon_pdb_misc('2006', '2.4');
@@ -818,12 +821,12 @@
     $blurb = 'Merge the visible image layers into one.';
 
     $help = <<'HELP';
-This procedure combines the visible layers into a single layer using the
-specified merge type. A merge type of EXPAND_AS_NECESSARY expands the final
-layer to encompass the areas of the visible layers. A merge type of
-CLIP_TO_IMAGE clips the final layer to the extents of the image. A merge type
-of CLIP_TO_BOTTOM_LAYER clips the final layer to the size of the bottommost
-layer.
+This procedure combines the visible layers into a single layer using
+the specified merge type. A merge type of EXPAND_AS_NECESSARY expands
+the final layer to encompass the areas of the visible layers. A merge
+type of CLIP_TO_IMAGE clips the final layer to the extents of the
+image. A merge type of CLIP_TO_BOTTOM_LAYER clips the final layer to
+the size of the bottommost layer.
 HELP
 
     &std_pdb_misc;
@@ -858,12 +861,13 @@
     $blurb = 'Merge the layer passed and the first visible layer below.';
 
     $help = <<'HELP';
-This procedure combines the passed layer and the first visible layer below it
-using the specified merge type. A merge type of EXPAND_AS_NECESSARY expands the
-final layer to encompass the areas of the visible layers. A merge type of
-CLIP_TO_IMAGE clips the final layer to the extents of the image. A merge type
-of CLIP_TO_BOTTOM_LAYER clips the final layer to the size of the bottommost
-layer.
+This procedure combines the passed layer and the first visible layer
+below it using the specified merge type. A merge type of
+EXPAND_AS_NECESSARY expands the final layer to encompass the areas of
+the visible layers. A merge type of CLIP_TO_IMAGE clips the final
+layer to the extents of the image. A merge type of
+CLIP_TO_BOTTOM_LAYER clips the final layer to the size of the
+bottommost layer.
 HELP
 
     &larry_pdb_misc('1998');
@@ -973,10 +977,10 @@
     $blurb = 'Remove the specified layer from the image.';
 
     $help = <<'HELP';
-This procedure removes the specified layer from the image. If the layer doesn't
-exist, an error is returned. If there are no layers left in the image, this
-call will fail. If this layer is the last layer remaining, the image will
-become empty and have no active layer.
+This procedure removes the specified layer from the image. If the
+layer doesn't exist, an error is returned. If there are no layers left
+in the image, this call will fail. If this layer is the last layer
+remaining, the image will become empty and have no active layer.
 HELP
 
     &std_pdb_misc;
@@ -1053,8 +1057,9 @@
     $blurb = 'Returns the position of the channel in the channel stack.';
 
     $help = <<'HELP';
-This procedure determines the positioin of the specified channel in the images
-channel stack. If the channel doesn't exist in the image, an error is returned.
+This procedure determines the position of the specified channel in
+the images channel stack. If the channel doesn't exist in the image,
+an error is returned.
 HELP
 
     &simon_pdb_misc('2006', '2.4');
@@ -1270,7 +1275,7 @@
     $blurb = 'Returns the position of the vectors object in the vectors objects stack.';
 
     $help = <<'HELP';
-This procedure determines the positioin of the specified vectors object in the
+This procedure determines the position of the specified vectors object in the
 images vectors object stack. If the vectors object doesn't exist in the image,
 an error is returned.
 HELP
@@ -2446,7 +2451,8 @@
     $blurb = 'Find a vectors with a given tattoo in an image.';
 
     $help = <<'HELP';
-This procedure returns the vectors with the given tattoo in the specified image.
+This procedure returns the vectors with the given tattoo in the
+specified image.
 HELP
 
     &simon_pdb_misc('2005', '2.6');



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