Jamie Bullock wrote:
> Does anyone have any code for drawing a circle (or other shape) on the
> canvas with the mouse by clicking, 'dragging out' the radius, and then
> releasing. I would like to be able to draw circles, then once drawn,
> drag them around with the mouse, and delete them individually via the
> keyboard.
> 
> I'm sure this is possible with FC,

yup.

> but I just didn't want to reinvent
> the wheel if someone already has an open source snippet they could
> share.

I don't know of any with circles. If you look in the Demos, you'll find 
a bunch on little apps that do a subset of what you need. A few of them are:

BNAEditor
DrawRect
MovingElements

And Probably others.

They should get you started, but I'd really like to have a more or less 
standard way to do this sort of thing with FloatCanvas. This might be a 
good project to use to start establishing that standard.

Please post your ideas and questions here, and maybe even start a Wiki 
page for it:

http://morticia.cs.dal.ca/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

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to