[reportlab-users] Draw line into cell: get coordinates?

Andrés Maneiro andres.maneiro at gmail.com
Wed Apr 16 11:51:08 EDT 2008

Hi people,

i want to draw a line within a cell. In ReportLabUserGuide (pag73) i have
seen how include Image or Paragraph flowables.

Draw a line in Canvas seems trivial task:

from reportlab.pdfgen.canvas import Canvas
c = Canvas('my.pdf')
c.line(x_orig, y_orig, x_scrolling, y_scrolling)

but draw line within a fixed cell is a bit complex because i don't know cell
coordinates ("x_orig" and "y_orig" line parameters).

Any suggestion?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080416/38ded106/attachment.htm>

More information about the reportlab-users mailing list