I want to created a pdf that contain images from a flash application. the benchmark in the flash application is 10000/10000 pixel that is not the same in the pdf. I need to know the coordinates (x, y) of my image from the new benchmark. i must know the position of the image in this Graphics2D wich I apply a transformation.
-0.5533490180969238 </ a> -0.4213285744190216 </ b> <c> 0.2621118724346161 </ c> <d> -0.3442431092262268 </ a> <tx> 5055.05 </ tx> <ty> 5356.15 </ ty> </ matrix> <width> 780.0500000000002 </ width ><!-- 2D graphics, the box width -> <height> 760.5999999999995 </ height ><!-- 2D graphics, the box height -> i dont have the width an height of the image . i have the value of the box in the flash that contain the image (in java a graphics2D). with this formula I can find x 'and y ' but I lack the scale: 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 i want to know how can i calculate the scale and is there a way to calculate the width and the height of the image. thanks -- View this message in context: http://itext-general.2136553.n4.nabble.com/the-position-of-the-image-in-the-graphics2D-tp3458782p3458782.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
