Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!ba0k+ From: ba0k+@andrew.cmu.edu (Brian Patrick Arnold) Newsgroups: comp.sys.mac.programmer Subject: Selecting lines Message-ID: Date: 5 Mar 91 18:01:13 GMT Organization: Mechanical Engineering, Carnegie Mellon, Pittsburgh, PA Lines: 11 Howdy, I need a little help on finding a good algorithm for selecting lines as objects, er, the detection of a mouse click "close enough" to a line. If anybody has such an animal, your help would be greatly appreciated. I use MacApp in MPW Object Pascal, but I can comprehend C++ and other languages, so example code in any language would be a boon to me. Thanks. - Brian