[reportlab-users] FW: linkAnnotate and linkRect, relative to transforms

Ian Sparks Ian.Sparks at etrials.com
Fri Apr 13 09:39:58 EDT 2007


Tim Roberts wrote :

> canvas.showPage resets the transform to [1 0 0 1 0 0] (or [1 0 0 -1 0

x]

> if top-down is set). You start over with each page.

>


Aha. The light dawns. Thanks Tim.



> -----Original Message-----

> From: reportlab-users-bounces at reportlab.com [mailto:reportlab-users-

> bounces at reportlab.com] On Behalf Of Tim Roberts

> Sent: Thursday, April 12, 2007 5:24 PM

> To: Support list for users of Reportlab software

> Subject: Re: [reportlab-users] FW: linkAnnotate and linkRect,

relative to

> transforms

>

> Ian Sparks wrote:

> > Tim Roberts Wrote:

> >

> >> This does *not* move the origin 5 inches up. It moves the origin

2.5

> >> inches up, because everything is already scaled down by 50%.

> >>

> >

> > Good point. I have a pretty good track record of being an idiot[1]

but

> > look at the test PDF (attached, generated from trunk). What do you

see?

> > To my eye that text is 5 inches up the page, not 2.5 and when I

look at

> > the generated raw PDF commands it doesn't smell right.

> >

> > Please take another look and let me know your thoughts.

> >

>

> canvas.showPage resets the transform to [1 0 0 1 0 0] (or [1 0 0 -1 0

x]

> if top-down is set). You start over with each page.

>

> --

> Tim Roberts, timr at probo.com

> Providenza & Boekelheide, Inc.

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users



-----------------------------------------
Disclaimer:

This e-mail communication and any attachments may contain
confidential and privileged information and is for use by the
designated addressee(s) named above only. If you are not the
intended addressee, you are hereby notified that you have received
this communication in error and that any use or reproduction of
this email or its contents is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by replying to this message and deleting it
from your computer.

Thank you.



More information about the reportlab-users mailing list