[reportlab-users] pdfgen and Charts

Peter Mott peter at monicol.co.uk
Fri Apr 17 15:48:36 EDT 2009


Thank you!

c = Canvas("draw.pdf")
d = shapes.Drawing(600,300)
r = shapes.Rect(0, 0, 400, 200, 20, 20)
...
d.add(r)
d.drawOn(c, 100, 100)
c.save()

I do have the docs, but I had got lost in them. What I was looking for
was like " c.add(d, 100,100)" instead of d.drawOn(c, 100, 100). and
that threw me.

Reportlab is great and it is amazing that you make it available to folk
for free and then help them when they get stuck.

Peter




More information about the reportlab-users mailing list