Re: [iText-questions] addTemplate with custom scaling functionality

2010-10-12 Thread Mark Storer
; From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, October 11, 2010 11:55 AM To: Post all your questions about iText here Subject: Re: [iText-questions] addTemplate with custom scaling functionality That math only works

Re: [iText-questions] addTemplate with custom scaling functionality

2010-10-11 Thread Paulo Soares
: harroot To: itext-questions@lists.sourceforge.net Sent: Monday, October 11, 2010 7:32 PM Subject: [iText-questions] addTemplate with custom scaling functionality Hi all, I have one problem with PdfContentByte's addTemplate() , I need to perform custom scaling functionality(s

[iText-questions] addTemplate with custom scaling functionality

2010-10-11 Thread harroot
Hi all, I have one problem with PdfContentByte's addTemplate() , I need to perform custom scaling functionality(scale in X axis and y axis separately ) so here is my code float rotate = element.getAngle(); float angle = (float) (-rotate * (Math.PI / 180));