gimp r23367 - in trunk: . app/display



Author: mitch
Date: 2007-08-24 17:56:13 +0100 (Fri, 24 Aug 2007)
New Revision: 23367
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=23367&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-draw.c
Log:
2007-08-24  Michael Natterer  <mitch gimp org>

	* app/display/gimpdisplayshell-draw.c
	(gimp_display_shell_draw_area): don't use SCALEX()/SCALEY() on x/y
	*and* width/height of the highlight rectangle because that adds up
	the error introduced by the ceil() contained in these macros.
	Instead, scale manually and use ceil() on x/y and floor() on
	width/height. Fixes off-by-one rendering artifacts (bug #467972).






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