gimp r26436 - in trunk: . app/base



Author: neo
Date: Fri Aug  8 10:06:09 2008
New Revision: 26436
URL: http://svn.gnome.org/viewvc/gimp?rev=26436&view=rev

Log:
2008-08-08  Sven Neumann  <sven gimp org>

	* app/base/tile-pyramid.c: improved a comment.



Modified:
   trunk/ChangeLog
   trunk/app/base/tile-pyramid.c

Modified: trunk/app/base/tile-pyramid.c
==============================================================================
--- trunk/app/base/tile-pyramid.c	(original)
+++ trunk/app/base/tile-pyramid.c	Fri Aug  8 10:06:09 2008
@@ -333,7 +333,6 @@
   return memsize;
 }
 
-/*  private functions  */
 
 /* This function make sure that levels are allocated up to the level
  * it returns. The return value may be smaller than the level that
@@ -382,9 +381,9 @@
   return pyramid->top_level;
 }
 
-/* This method is used to validate a pyramid tile from the base level.
- * It needs to pre-multiply the alpha channel because upper levels are
- * pre-multiplied.
+/* This method is used to validate a pyramid tile from four tiles on
+ * the base level.  It needs to pre-multiply the alpha channel because
+ * upper levels are pre-multiplied.
  */
 static void
 tile_pyramid_validate_tile (TileManager *tm,
@@ -441,9 +440,9 @@
       }
 }
 
-/* Average the src tile to one quarter of the destination tile.
- * The source tile doesn't have pre-multiplied alpha, but the
- * destination tile does.
+/* Average the src tile to one quarter of the destination tile.  The
+ * source tile doesn't have pre-multiplied alpha, but the destination
+ * tile does.
  */
 static void
 tile_pyramid_write_quarter (Tile       *dest,



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