Hi,
I had the need to render SVG in memory. I placed a
drawToString()-Function in renderSVG:
def drawToString(d, showBoundary=rl_config.showBoundary):
"Returns a SVG as a string in memory, without touching the disk"
s = getStringIO()
drawToFile(d, s, showBoundary=showBoundary)
return s.getvalue()
Regards,
Dirk