[reportlab-users] can't draw more then one line on a canvas
Timothy Smith
timothy at open-networks.net
Mon Apr 4 02:28:03 EDT 2005
how come i can't draw more then on line on my canvas? it makes one line
as i expected it to be, but the second is this kind of little mutant
line that's more like a dot. the sample below is a snippet of my code.
from reportlab.pdfgen import canvas
c = canvas.Canvas('tmp.pdf')
c.lines(c.line(6*cm, 14.7*cm, 10*cm, 14.7*cm),c.line(6*cm, 12.7*cm,
6*cm, 12.7*cm))
c.save()
More information about the reportlab-users
mailing list