On Fri, 2008-07-18 at 20:34 -0700, [EMAIL PROTECTED] wrote: > This patch changes the functionality of the selection mechanism when > the user specifies a single point. Instead of finding the selected > object using a bounding box, the find function uses the shortest > distance to the object. The new selection mechanism greatly improves > the user's ability to select a specific object amongst a clutter of > objects.
That looks like useful functionality. I've not applied / tested it yet, but have scanned the patch. I am concerned it might increase the run time somewhat for selecting objects on a complex board. Can you keep the inside_region() test somewhere as a first filter, to ensure that we don't have to compute shortest distances to a great number of objects on the board, or inside complex objects which aren't anywhere near the hit. On a similar thinking.. text is very complex (made up of lots of lines). I'd be inclined to use the shortest distance to its bounding box if this simplification doesn't harm the effect you're after. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
