[wxPython-users] I need some help with some MemoryDC code

Christopher Barker Chris.Barker at noaa.gov
Thu Jan 17 10:09:25 PST 2008


Peter Damoc wrote:
> I switched to a GCDC in the drawing code and now everything works as 
> expected.

That's probably the way to go if you're working with an alpha channel. 
However, if you want to try DC again, you might try specifying the alpha 
channel when you create your Pens and Brushes.

By the way -- did you check out FloatCanvas? I'd much rather have you 
contributing to that than re-inventing it....

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (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