[comp.graphics] graphics editor - how to program one?

ott@piyopiyo.hatori.t.u-tokyo.JUNET (ott) (05/18/89)

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.