Peter Decker wrote:
You say you want to draw a circle. All it takes in Dabo is:
circ = object.drawCircle(x, y, radius)
Cool.
You can also use wx.lib.floatcanvas:
Canvas.AddCircle((x,y), diameter = d, color='red') #and lots of other
options.
Then you get zooming and panning and hit testing for free to!
(I really need to get up to speed on Dabo, and maybe Dabo-ize floatcanvas)
-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@noaa.gov