http://itext-general.2136553.n4.nabble.com/file/n3459086/Sans_titre.jpg 
Sorry for my bad explication of the problem.
i made a transformation to the OXY Landmark he became O'X'Y'. i have the
matrix transformation.
i have the coordinates of M(X,Y) in the Landmark OXY , the coordinates of
O1(X1,Y1) in the Landmark OXY and  the angle XOX'.



 i look for the coordinates of the point M(X',Y') in the Landmark O'X'Y' . i
found this formula:

x = x0 + (x 'cos (angle (xO'x')) - y 'sinangle (xO'x')) * scale 
y = y0 + (x 'sin (angle (xO'x')) + y 'cos (angle (xO'x'))) * scale 

 and i dont know how to calculate only the scale because the matrix contain
a combinaison of scale and rotation 

          PdfContentByte contentPage =  writer.getDirectContentUnder(); 
                   Graphics2D gimg = contentPage.createGraphics(wg,hg); 
          AffineTransform transformer = new AffineTransform(a,b,c,d, 0, 0);
           gimg.transform(transformer);
           gimg.drawImage(img, X', Y ' ,Math.round(w),Math.round(h), null);
 

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/the-position-of-the-image-in-the-graphics2D-tp3458782p3459086.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to