On Nov 7, 2007 1:32 AM, Phil Cope <[EMAIL PROTECTED]> wrote:
> 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

Two for two.

And IDENTITY is private so people cannot mangle it from outside... (by
calling one of the public drawImage() with it for example).

But it still troubles me that the private drawImage() modifies that
transform.  Say I reused the same AF, making changes to it between
calls.  That's less insideus than mucking up IDENTITY (which is only
used once, in followPath() as of v2974 of PdfGraphics2D.java), but
seems like it would crop up more frequently.

Unless that's normal practice in Graphics2D-land, in which case: Meh.

-- 
--Mark Storer
Professional Geek

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to