Helo again Ok, there is probably a general missunderstanding (we were working with Perl PDF::API2 before). What ist the "right way" to draw a rectangle rotated at specified angle (we need it to put a blank bar below a stamped text)? Finaly we end up to draw lines and afterwards we fill the shape. Is this "the right way" ?
Thanks & Regards Matthias Bruno Lowagie (iText) schrieb: > Matthias Flury wrote: >> Hello everybody >> >> Simple itext question: >> >> We draw a rectangle with cb.rectange, afterwards we rotate it with >> concateCTM(f1,f0,f0,f-1,0,0) > > Wo-ho! Are you calling this a simple iText question? > > Then you are making two assumptions that are wrong. > This is NOT an iText question. It's a PDF question, > more specific a question about the Graphics State. > You can ask SIMPLE questions about the Graphics State, > but I haven't heard many simple questions about the CTM. > > The way I interpret what you are doing is > that you perform a rotation around the lower left corner > of your page, so that everything is shown outside the page. > You say that's not what is happening, but > 1) I have no way to check that assumption (it may also be wrong) > 2) I may very well be misinterpreting what you are doing. > 3) The requirement seems incongruous to me. Are you sure > you want to rotate a rectangle this way? If so, why??? > > br, > Bruno > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
