Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5390 > unrolled thread

Python drawing library?

Started by"OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net>
First post2011-05-14 23:01 +0000
Last post2011-05-15 10:47 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Python drawing library? "OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net> - 2011-05-14 23:01 +0000
    Re: Python drawing library? Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-05-15 10:37 +0200
    Re: Python drawing library? Wojtek Mamrak <tacyt1007@gmail.com> - 2011-05-15 10:47 +0200

#5390 — Python drawing library?

From"OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net>
Date2011-05-14 23:01 +0000
SubjectPython drawing library?
Message-ID<Xns9EE5A3008D380OKB@85.214.73.210>
    	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

[toc] | [next] | [standalone]


#5410

FromRafael Durán Castañeda <rafadurancastaneda@gmail.com>
Date2011-05-15 10:37 +0200
Message-ID<mailman.1580.1305448670.9059.python-list@python.org>
In reply to#5390
On 15/05/11 01:01, OKB (not okblacke) wrote:
>      	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.

[toc] | [prev] | [next] | [standalone]


#5412

FromWojtek Mamrak <tacyt1007@gmail.com>
Date2011-05-15 10:47 +0200
Message-ID<mailman.1582.1305449244.9059.python-list@python.org>
In reply to#5390
Yes, it is possible with use of PyQt.

2011/5/15 Rafael Durán Castañeda <rafadurancastaneda@gmail.com>:
> On 15/05/11 01:01, OKB (not okblacke) wrote:
>>
>>        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.
> --
> http://mail.python.org/mailman/listinfo/python-list
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web