Nitro wrote:
> Using the bounding  
> box is probably even more appropriate than the image-based approach,  


well, BB testing really doesn't work well in all cases -- imagine a 
diagonal line across the whole area of interest. -- the whole area would 
be in the bounding box.

 > because trying to hit a 1-point thick line with the cursor would not
 > be fun.

I solved this in FC2 by allowing the user to specify the HitLineWidth, 
so the line can get drawn wider when doing the hit test. It defaults to 
a minimum of 3 in the current version.

-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