gimp r26135 - in trunk: . app/display



Author: martinn
Date: Fri Jul 11 18:32:27 2008
New Revision: 26135
URL: http://svn.gnome.org/viewvc/gimp?rev=26135&view=rev

Log:
2008-07-11  Martin Nordholts  <martinn svn gnome org>

	* app/display/gimpdisplayshell-draw.c
	(gimp_display_shell_draw_area): Update comment.


Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-draw.c

Modified: trunk/app/display/gimpdisplayshell-draw.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-draw.c	(original)
+++ trunk/app/display/gimpdisplayshell-draw.c	Fri Jul 11 18:32:27 2008
@@ -533,11 +533,9 @@
   level_width  = tile_manager_width (tiles);
   level_height = tile_manager_height (tiles);
 
-  /*  the image's size in display coordinates  */
+  /*  the size and position of the image viewport coordinates  */
   sx = shell->disp_xoffset - shell->offset_x;
   sy = shell->disp_yoffset - shell->offset_y;
-
-  /* SCALE[XY] with pyramid level taken into account. */
   sw = PROJ_ROUND (level_width  * (shell->scale_x * (1 << level)));
   sh = PROJ_ROUND (level_height * (shell->scale_y * (1 << level)));
 



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