On Tue, Dec 30, 2008 at 8:57 AM, Charalampos Emmanouilidis
<[email protected]> 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
[email protected]
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to