[wxPython-users] DrawEllipticArc broken on windows?

Christopher Barker Chris.Barker at noaa.gov
Thu Oct 18 10:40:25 PDT 2007



Rob McMullen wrote:
> Thanks for the test code.  It's weird: all 3 platforms are different!
> Enclosed are gtk and win, both 2.8.6.0

> The wxWidgets docs implies that gtk would be considered correct -- it
> says the "current brush is used for drawing the pie".  I'm assuming
> "pie" is the standard definition of what a pie-shaped piece looks
> like. :)

Well, it's question of how you define a 0 to -90 arc -- -90d == +270d, 
so it looks like Windows is doing that translation, then drawing it.

wxWidgets should be consistent here though.

Did you try DC.DrawArc? it may work better.

-CHB


-- 
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