[reportlab-users] SVGlib howto

Dinu Gherman reportlab-users@reportlab.com
Mon, 26 Apr 2004 08:45:00 +0200


Martin Herceg:

> drawing = svg2rlg('foo.svg') # then use drawing as you like...
> but what next i need explain how can i draw object "drawing"
> on canvas?

Try this:

   drawing = svg2rlg(svgPath)
   drawing.drawOn(canvas, x, y)

Dinu

--
Dinu C. Gherman - http://python.net/~gherman
......................................................................
"The first principle is that you must not fool yourself - and you are
the easiest person to fool." (Richard Feynman)