[pygtk] Drawing SVG to a gtk.DrawingArea
Marco Antonio Islas Cruz
markuz at islascruz.org
Fri Nov 2 22:47:36 WST 2007
Yes, SVG is loaded and stored as pixbuf, then you can display it in any
other widget. os use the pixbuf cairo surface to 'draw it' in
gtk.DrawingArea
On Fri, 2007-11-02 at 08:01 +0200, Donn wrote:
> > To 'display' the SVG file in a gtk.DrawingArea is quite simple. Just use
> > the Cairo source_pixbuf .
> So you are saying that an svg gets displayed as a bitmap of some kind?
> I checked your code and don't see anything to do with svg, but it's fill of
> clues. Thanks so far :)
>
> \d
--
<--Linux... Because I'm Free-->
Marco Antonio Islas Cruz
"Markuz"
Linux User #280229
markuz at islascruz.org
markuz at unixmexico.org
markuz at linuxpozarica.com
marco.islas at gmail.com
islacruz at yahoo.com
http://www.islascruz.org
http://sourceforge.net/projects/gpkg/
http://www.linuxpozarica.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20071102/fa033918/attachment.pgp
More information about the pygtk
mailing list