[pygtk] SVG Drawing with PyGTK

Charalampos Emmanouilidis c.emmanouilidis at yahoo.de
Tue Dec 30 20:55:21 WST 2008


Hi 

many thanks to the fast responses.

I will check out the goocanvas stuff.


I have also found a gtkmm project called ggredt which seems to do what I need  :)

http://kapo-cpp.blogspot.com/
http://sourceforge.net/project/screenshots.php?group_id=215891&ssid=82956




thanks again.

Regards

Babi






________________________________
Von: Gian Mario Tagliaretti <gianmt at gnome.org>
An: Charalampos Emmanouilidis <c.emmanouilidis at yahoo.de>
CC: pygtk at daa.com.au
Gesendet: Dienstag, den 30. Dezember 2008, 12:39:39 Uhr
Betreff: Re: [pygtk] SVG Drawing with PyGTK

On Tue, Dec 30, 2008 at 8:57 AM, Charalampos Emmanouilidis
<c.emmanouilidis at yahoo.de> wrote:
> Hi there,

Hi

> I need some help here, please.

sure :)

> I'm trying to find a way to draw svg shapes and text with PyGTK. The
> elements I want to draw should be resizable => i need some kind of
> resize/drag/move grips arround my elements.

That can be done using a canvas, placing the items and text as you
wish and then rendering the SVG on a cairo surface.

> Now the questions:
>
> Are there any GTK widgets for this purpose (drawing primitives) available.
> Maybe a canvas for SVG elements?

goocanvas and its python binding pygoocanvas [1]

> How can I move resize etc. those elements?

using the canvas facilities

> Do you now any similar application written PyGTK or a small sample
> application for an painting/drawing program written in PyGTK?

[py]goocanvas comes with a lot of examples.

> Thanks in advance

[1] http://live.gnome.org/GooCanvas

cheers
-- 
Gian Mario Tagliaretti
GNOME Foundation member
gianmt at gnome.org



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20081230/188da81f/attachment.htm 


More information about the pygtk mailing list