Python drawing library?

O

OKB (not okblacke)

Is there any Python library for interactive drawing? I've done
some googling but most searches for "drawing" lead me to libraries for
programmatic creation of shapes on some GUI canvas. I'm looking for GUI
widgets that allow the user to draw with the mouse, like a paint
program, and let me get info about the drawing as its made (get color at
mouse location, etc.). I'd prefer a wxPython solution, although any
Python solution would be better than none.

Thanks,
--
--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
 
R

Rafael Durán Castañeda

Is there any Python library for interactive drawing? I've done
some googling but most searches for "drawing" lead me to libraries for
programmatic creation of shapes on some GUI canvas. I'm looking for GUI
widgets that allow the user to draw with the mouse, like a paint
program, and let me get info about the drawing as its made (get color at
mouse location, etc.). I'd prefer a wxPython solution, although any
Python solution would be better than none.

Thanks,
I'm not suere, but I think you should be able to do that using PyQt
QPaintDevice.
 
W

Wojtek Mamrak

Yes, it is possible with use of PyQt.

2011/5/15 Rafael Durán Castañeda said:
I'm not suere, but I think you should be able to do that using PyQt
QPaintDevice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,790
Messages
2,569,637
Members
45,346
Latest member
EstebanCoa

Latest Threads

Top