[pygtk] Drawing on GTKImage

Gary Jaffe gfj555 at gmail.com
Sun Feb 3 21:03:40 WST 2008


Sounds like you want to use cairo.  Here are a couple of links to
articles on how to draw on a white background, but I understand you can
start by first loading an image on the background and then drawing on
top of that.

http://www.pygtk.org/articles/cairo-pygtk-widgets/cairo-pygtk-widgets.htm
http://www.tortall.net/mu/wiki/CairoTutorial

and of course, you might also visit

http://www.cairographics.org/

Good luck.

airton arantes wrote:
> Hello folks,
> 
> Can I to draw on GTKImage???? For example, I have a photo, so I want
> to draw a square on my photo only pressing some button, How I do it?
> 
> what documents can I to read to learn more?
> 
> 


More information about the pygtk mailing list