Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!kddlab!titcca!ccut!piyopiyo!ott From: ott@piyopiyo.hatori.t.u-tokyo.JUNET (ott) Newsgroups: comp.graphics Subject: graphics editor - how to program one? Message-ID: <14@piyopiyo.hatori.t.u-tokyo.JUNET> Date: 18 May 89 10:41:34 GMT Reply-To: ott@piyopiyo.hatori.t.u-tokyo.JUNET (max) Organization: Hatori Lab., Department of Electrical Engineering, Univesity of Tokyo Lines: 22 Being new to this type of ballgame I am not sure how often this has been asked before: I need to implement a small "CAD" system. I will only need to place a few rectangles and lines connecting them (flowgraph). What is a good or the "best" strategy to identify which line or box the user has selected, getting a pair of coordinates from the mouse? What data structure would make life easier? Could you please mail to me directly, as I cannot read this newsgroup for a few weeks. thanks -max (ott@piyopiyo.hatori.t.u-tokyo.junet@relay.cs.net) ------------------------------------------------------------------------------ Max Ott e-mail: Hatori Laboratory ott@piyopiyo.hatori.t.u-tokyo.junet@relay.cs.net Dept. of E.E.; U of Tokyo I am not a tourist, I live here, but +(81)-(03) 812 2111 Ext. 6761 would not mind being one.