Re: [iText-questions] [SPAM] Re: CTM + re

2014-09-18 Thread Leonard Rosenthol
2 PM To: Post here mailto:itext-questions@lists.sourceforge.net>> Subject: Re: [iText-questions] [SPAM] Re: CTM + re Thanks Michael. I guess another way of saying what you said is that the points returned from the content stream are Cartesian points. I keep forgetting PDF puts 0,0 in the BL ins

Re: [iText-questions] [SPAM] Re: CTM + re

2014-09-18 Thread FDnC Red
Thanks Michael. I guess another way of saying what you said is that the points returned from the content stream are Cartesian points. I keep forgetting PDF puts 0,0 in the BL instead of TL. So in order to calculate all four points for the rectangle I should be able to do something like this,

[iText-questions] [SPAM] Re: CTM + re

2014-09-18 Thread mkl
Darren, FDnC Red wrote > 1) Am I transforming this rectangle by the matrix correctly? Well, you are not transforming the rectangle but merely the two corner points on one diagonal (rectXPt, rectYPt) and (tempEndXPt, tempEndYPt). In case you merely want to consider transformations like the one in