It's not that trivial to switch origins. If you just use a
transformation the images and text will be upside down. See the code in
PdfGraphics2D for some inspiration on handling the problem.

Paulo 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Daniele Dellafiore
> Sent: Tuesday, April 01, 2008 3:45 PM
> To: iText questions
> Subject: [iText-questions] Problem with orientation
> 
> Hi all. I am creting a pdf froma  xml description. XML assume that
> origin is top-left while pdf/itext assume it to be bottom-left. Ok.
> 
> As I read at Transformation paragraph here:
> http://itextdocs.lowagie.com/tutorial/directcontent/coordinate
> s/index.php
> 
> I have applied that concat and a lot of problem went away. Most of
> all, rotations did not behave consistently if I apply rotation without
> changih origin swith.
> 
> But now all my images are printed upside-down, as in the example on
> that doc page.
> How can I show the image in the original orientation?
> 
> Thanks!
> 
> -- 
> Daniele Dellafiore
> http://blog.ildella.net/


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to