Package org.locationtech.udig.project.ui.commands

Examples of org.locationtech.udig.project.ui.commands.TransformDrawCommand.zoom()


                }
                transformDrawCommand.fixPoint(fixedPoint);
                this.fixedPoint = context.pixelToWorld(fixedPoint.x, fixedPoint.y);
                targetZoom = context.calculateZoomLevel(previousZoom, zoomChange,this.fixedPoint,false, change != 0);
                if(Math.abs(targetZoom - previousZoom) > 0.0001) {
                  transformDrawCommand.zoom(targetZoom, targetZoom);
                  context.sendASyncCommand(transformDrawCommand);
                }
            } else {
        targetZoom = context.calculateZoomLevel(previousZoom,zoomChange,this.fixedPoint,false, change != 0);
                command.zoom(targetZoom, targetZoom);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.