gimp r22105 - in trunk: . app/tools



Author: mitch
Date: 2007-03-12 14:36:49 +0000 (Mon, 12 Mar 2007)
New Revision: 22105
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=22105&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/tools/gimpmagnifytool.c
   trunk/app/tools/gimpmagnifytool.h
Log:
2007-03-12  Michael Natterer  <mitch gimp org>

	* app/tools/gimpmagnifytool.[ch]: lots of fixes and changes:

	- Request click events and use them instead of looking at the
	  distance the mouse travelled ourselves.
	- Also zoom when the user draws a very thin rectangle or just a
	  line, there is no reason to treat that as click.
	- Changed all calculations and stored values to double so the tool
	  continues to work smoothly at high zoom levels.
	- Fix scale calculation when zooming out (was totally b0rk).
	- Changed offset calculation when zooming out so that the current
	  viewport ends up within the drawn rectangle (which is the
	  opposite of what zooming in does).






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