]> gerrit.simantics Code Review - simantics/district.git/commit
Refactoring MapNode rendering & zooming to even zoom levels (0-20) 35/2735/2
authorjsimomaa <jani.simomaa@gmail.com>
Thu, 28 Feb 2019 07:11:50 +0000 (09:11 +0200)
committerJani Simomaa <jani.simomaa@semantum.fi>
Thu, 28 Feb 2019 10:03:26 +0000 (10:03 +0000)
commit835710a4f22ec2d91c287295fb176a0af62d1186
tree49e833258ed7740934db7731329b04eeee81cc1f
parent6efcc2873091c30cbc6dbc47f5601bd62813b99f
Refactoring MapNode rendering & zooming to even zoom levels (0-20)

* With this change the map background bitmap-images are always sharp and
not blurred on e.g. zooming level 5.42 which was previously possible

gitlab #32

Change-Id: I1fd84ef25154f454efbff0b0195c447d90bd30fd
14 files changed:
org.simantics.district.maps/src/org/simantics/maps/MapScalingTransform.java
org.simantics.district.maps/src/org/simantics/maps/eclipse/MapPainter.java
org.simantics.district.maps/src/org/simantics/maps/sg/MapNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/DistrictDiagramViewer.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/DistrictPanZoomRotateHandler.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/DistrictTransformUtil.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/adapters/DistrictNetworkEdgeElement.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/adapters/DistrictNetworkVertexElement.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkNodeUtils.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkVertexNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/NetworkDrawingNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/participants/DNPointerInteractor.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/participants/MapRulerPainter.java