Summary:
I added information about mouse position from mouseWheelMoved event
(ScrollZoom) into UpdateThread as parameter into new method
zoomWithFixedPoint. The zooming logic consists of 2 stages: executing
TransformDrawCommand with zoom parameter and change bounds of viewport
model (ZoomCommand). I kept old signatures of zoom method (but now they
just invoke zoom method with screen center as fixed point) and added new
ones with fixedPoint parameter. If fixedPoint is null or there's no such
parameter in zoom method signature then fixedPoint is assigned with
screen center point (so ZoomIn and ZoomOut works as before).
Thanks,
Siarhei
On 02/09/2011 02:22 PM, Jesse Eichar wrote:
Could you give me some context for this patch? What is the bug you
are trying to fix and a short summary of your solution? It will make
it easier to review the patch.
Jesse
On Wed, Feb 9, 2011 at 10:33 AM, supacrazypusher
<[email protected] <mailto:[email protected]>> wrote:
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel