Laura Cobos wrote: > Probably I don't understand this matter because I get it all completely > wrong ... If anyone could tell which is my problem I would be very > grateful =)
You are beginning to understand what the transformation matrix is about, but you don't see the complete picture. If you see 1 0 0 1 10.1406027 4.7716582 cm You could assume that this transformation matrix causes a translation of 10.14 user units in the x-direction and 4.77 in the y direction. This is correct, BUT: it doesn't mean the image will appear on the coordinate (10.14, 4.77). Chances are you have to take into account other CTMs that are already in effect in the graphics state. Using setLiteral is very dangerous. The method is there for the specialists when they need it, but in general it shouldn't be used by people who didn't read and understand the PDF Reference. In chapter 18, I tried explaining why it is wrong to try and change PDF syntax more or less "manually" in a page content stream. I'll repeat this only once: what you are doing is not wise. Try another approach. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
