xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r605568 - /xmlgraphics/commons/branches/TempNewImagePackage/test/java/org/apache/xmlgraphics/image/loader/DemoPainter.java
Date Wed, 19 Dec 2007 15:04:16 GMT
Author: jeremias
Date: Wed Dec 19 07:04:15 2007
New Revision: 605568

URL: http://svn.apache.org/viewvc?rev=605568&view=rev
Log:
Did not translate the image as required.

Modified:
    xmlgraphics/commons/branches/TempNewImagePackage/test/java/org/apache/xmlgraphics/image/loader/DemoPainter.java

Modified: xmlgraphics/commons/branches/TempNewImagePackage/test/java/org/apache/xmlgraphics/image/loader/DemoPainter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/branches/TempNewImagePackage/test/java/org/apache/xmlgraphics/image/loader/DemoPainter.java?rev=605568&r1=605567&r2=605568&view=diff
==============================================================================
--- xmlgraphics/commons/branches/TempNewImagePackage/test/java/org/apache/xmlgraphics/image/loader/DemoPainter.java
(original)
+++ xmlgraphics/commons/branches/TempNewImagePackage/test/java/org/apache/xmlgraphics/image/loader/DemoPainter.java
Wed Dec 19 07:04:15 2007
@@ -35,6 +35,7 @@
     }
 
     public void paint(Graphics2D g2d, Rectangle2D area) {
+        g2d.translate(area.getX(), area.getY());
         double w = area.getWidth();
         double h = area.getHeight();
 



---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message