changeset 657:ac1399d325e9

Removed asymmetrical "- 1" from width calculation. flys-artifacts/trunk@2057 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 06 Jun 2011 11:34:44 +0000
parents baea7981477a
children ed7c901ee712
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Sun Jun 05 20:47:51 2011 +0000
+++ b/flys-artifacts/ChangeLog	Mon Jun 06 11:34:44 2011 +0000
@@ -1,3 +1,8 @@
+2011-06-06  Sascha L. Teichmann <sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
+	  Removed asymmetrical "- 1" from width calculation.
+
 2011-06-05  Sascha L. Teichmann <sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java	Sun Jun 05 20:47:51 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java	Mon Jun 06 11:34:44 2011 +0000
@@ -120,7 +120,7 @@
         logger.debug("InfoGeneratorHelper.createTransformationMatrix");
 
         double offsetX = dataArea.getX();
-        double width   = dataArea.getWidth() - 1;
+        double width   = dataArea.getWidth();
         double offsetY = dataArea.getY();
         double height  = dataArea.getHeight();
 

http://dive4elements.wald.intevation.org