  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Bug (and solution) in PdfGraphics2D.drawImage() | Bug (and solution) in PdfGraphics2D.drawImage() 2007-11-07 - By Phil Cope
Back Mark Storer wrote:
Good catch.
Thanks
One minor tweak... PdfGraphics2D declares (on line 119 in the current SVN over here< http://itext.svn.sourceforge.net/viewvc/itext/trunk/src/com/lowagie/text/pdf /PdfGraphics2D.java?view=markup>):
private static final AffineTransform IDENTITY = new AffineTransform();
I don't think using this in drawImage() is right ? The lines below modify xform, which means after the first call to drawImage your IDENTITY transform won't be the identity any more,
And your prize? Your very own link to one of several versions of Jonathan Coulton's creative commons song "Code Monkey" on YouTube<http://youtube.com/watch?v=j4TnhemCEmc>
Woo hoo (as in Simpson H.)
-- All opinions expressed in this message are purely personal and do not reflect the opinions or policies of GE or GE Smallworld
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#FF0000" alink=" #000088"> Mark Storer wrote:<i></i> <p><i>Good catch.</i> <p>Thanks<i></i> <p><i>One minor tweak... PdfGraphics2D declares (on line 119 in the current SVN</i> <br><i>over here<</i> <br><i><A HREF="http://itext.svn.sourceforge.net/viewvc/itext/trunk/src/com /lowagie/text/pdf/PdfGraphics2D.java?view=markup">http://itext.svn.sourceforge .net/viewvc/itext/trunk/src/com/lowagie/text/pdf/PdfGraphics2D.java?view=markup< /A>>):</i> <br><i></i> <i></i> <p><i> private static final AffineTransform IDENTITY = new AffineTransform();</i><i></i> <p>I don't think using this in drawImage() is right ? The lines below modify xform, which <br>means after the first call to drawImage your IDENTITY transform won't be the identity <br>any more,<i></i> <p><i>And your prize? Your very own link to one of several versions of Jonathan</i> <br><i>Coulton's creative commons song "Code Monkey" on</i> <br><i>YouTube<<A HREF="http://youtube.com/watch?v=j4TnhemCEmc">http:/ /youtube.com/watch?v=j4TnhemCEmc</A>></i><i></i> <p>Woo hoo (as in Simpson H.) <pre>-- All opinions expressed in this message are purely personal and do not reflect the opinions or policies of GE or GE Smallworld</pre> </body> </html>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |