[wxpython-users] What's going on with wx.Pen()?

Christopher Barker Chris.Barker at noaa.gov
Thu May 8 16:33:04 PDT 2008


Tim Roberts wrote:
> This is absolutely normal behavior for rubber banding.

Right -- I forgot to add that part -- not only can you always see the 
line if you use XOR, but if you draw white over anything with XOR twice, 
you get back the original color -- very handy.

> Then every time the rubber banding 
> changes, you'll have to copy the virgin bitmap to the screen, then draw 
> the rubber band on top of it.

Blitting is really fast, so this can work fine too.

-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