[prev in list] [next in list] [prev in thread] [next in thread]
List: batik-users
Subject: AbstractImageZoomInteractor
From: Urs Reupke <ursreupke () gmx ! net>
Date: 2006-01-31 6:36:26
Message-ID: 43DF056A.2050809 () gmx ! net
[Download RAW message or body]
Hello,
it seems to me that there is a small mistake in the
AbstractImageZoomInteractor class:
The value dy is calculated, then modified to guarantee for a minimum
value of |dy|>15.
There are two cases to this, dy less than 0 or dy greater than 0,
however, in the former case dy is set to 15 instead of -15 if dy>-5 (and
of course dy < 0.
To sum things up: I believe line 117 should read
dy = (dy > -5) ? -15 : dy - 10;
instead of
dy = (dy > -5) ? 15 : dy - 10;
Regards
-Urs
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic