[reportlab-users] drawing on canvas while using platypus

Christian K. ckkart at hoc.net
Thu Aug 5 09:23:24 EDT 2010


Am 05.08.10 14:04, schrieb Rafael Lopes:

> 2010/8/5 Christian K.<ckkart at hoc.net>:

>> what are the limits for the width and height instance variables of a

>> Flowable?

>

> The limits are the canvas' limits. You just have to be sure that you

> use the right coordinates.


This seems to be my problem. What is the transformation between the
canvas and the flowable system? Also, I cannot figure out what
Flowable.wrap should return.

Thinking it over, I have two fundamental questions: is it right that I
cannot know where my flowable will be placed within the frame? For my
purpose, am I using a flowable only to get access to the canvas?

Apart from the transformation problem: am I implementing the flowable
subcalss correctly?

Thank you both for your help so far.

Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.py
Type: text/x-python-script
Size: 1036 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20100805/fe763fc5/attachment.bin>


More information about the reportlab-users mailing list