[wxPython-users] transparent brush colors

Christopher Barker Chris.Barker at noaa.gov
Fri Jul 21 15:20:49 PDT 2006


m.prosperi at libero.it wrote:
> To put it simple, I would like to draw a red trasparent rectangle
> over a yellow one. Is this possible without using bitmaps and alpha
> channels?

not with wx.

As you suspect, you can use bitmaps and alpha channels -- it's a heck of
a kludge, and it's slow, but it does work.

You can also use another rendering library, like PIL's Agg_draw,
PyCairo, etc.

Search these archives for more discussion.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list