Re: Displaying SVG in tkinter using cairo and rsvg

2011-02-16 Thread Arndt Roger Schneider
Martin P. Hellwig schrieb: On 02/16/11 09:04, Arndt Roger Schneider wrote: [snip] tkpath does not seem to come standard with Python's tk version when I looked into it a couple of years ago, but maybe it has now? tk canvas and tkpath share the same interface, the first tkpath was a plugin i

Re: Displaying SVG in tkinter using cairo and rsvg

2011-02-16 Thread Martin P. Hellwig
On 02/16/11 09:04, Arndt Roger Schneider wrote: raster images from SVG: There are multiple methods to convert a scalable vector graphic into a bitmap. In addition to cairo, librsvg and rsvg imageMagick contains a vector graphic format similar to svg--gradients and transparency are problematic fo

Re: Displaying SVG in tkinter using cairo and rsvg

2011-02-16 Thread Arndt Roger Schneider
Martin P. Hellwig schrieb: Hi all, Information on using tkinter for displaying an svg image seems a bit low spread on the Internet. I recently played around with pygame and svg and realized, hold on this can be done with tk too. So I thought I post a little example for future generations :-)