You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by je...@apache.org on 2007/12/19 16:04:16 UTC

svn commit: r605568 - /xmlgraphics/commons/branches/TempNewImagePackage/test/java/org/apache/xmlgraphics/image/loader/DemoPainter.java

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