Re: [reportlab-support] Hello

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
Hi Nathan,

you should probably ask this sort of question on the users list


https://pairlist2.pair.net/mailman/listinfo/reportlab-users

anyhow, once you have instantiated a drawing and have a canvas you can use its 
Flowable properties/methods to render to a canvas.

eg

canv = Canvas(...)

d = MyDrawingClass(....)

d.drawOn(canv,x=20,y=30)

hope this helps.
-- 
Robin Becker



On 08/03/2017 22:08, Nathan Nifco wrote:
> I download your python library to test for a simple chart into a PDF
> document I am putting together as part of a project.
>
> I am struggling with trying to render into the canvas a drawing object, all
> the code snippets I tried they create the Drawing object but they don't
> show how to render into the canvas like you do with strings.
>
> Can you help or point me in the right direction to evaluate your library?
>
> Thank you
>
> Sincerely,
>
> Nathan
>
>
>
> _______________________________________________
> reportlab-support mailing list
> [email protected]
> http://lists.reportlab.com/cgi-bin/mailman/listinfo/reportlab-support
> **NB** attachments under 750kB please
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.