[wxPython-users] Not quite understanding buffered DCs

Christopher Barker Chris.Barker at noaa.gov
Wed Dec 27 13:13:58 PST 2006


Robin Dunn wrote:

> No, as I understand it using Refresh/Update just reprioritizes the 
> normal order so the paint event happens now, but it still goes through 
> the normal procedure to actually do the drawing to the screen.  On the 
> other hand, using a wxClientDC causes the drawing to happen at an 
> unexpected time in the normal procedure and so some things need to be 
> suspended in order for that to happen.  (Or something like that, I'm 
> pulling this from some old rusty memory banks...)  With wxDC using the 
> old QuickDraw API it was possible to do that, but with CoreGraphics it 
> is not.

Ah -- OK, When I get a chance, I'll see what happens if I remove 
wxCleintDC calls from FloatCanvas -- I need to fix a bug with my kludged 
alpha drawing on OS-X anyway -- if I have problems, you'll hear about them!

-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