[comp.sys.mac.programmer] MacDraw type polygons

mmoss@csserv1.ic.sunysb.edu (Matthew D Moss) (02/21/91)

I am working on a program that requires the use of MacDraw type polygons.
That is, polygons which can handle the following:

	* if clicked, they are selected (which means lighting up the
		handles on the corners)
	* if deselected, the handles are erased
	* if dragged by an edge, the whole polygon moves
	* if dragged by a handle (corner), only that corner moves and
		updates the polygon's corner's location

By the way, polygons should be activated by clicking on its edge, while
deselecting is done by clicking in the background, or on a different polygon.


Has anyone done this already? If so, please, PLEASE, send source code.

The type of code I am looking for is THINK C 4.0 on Mac Plus. I would prefer
object oriented code, but either kind is fine.


Thanks.

--------------------------------------------------------------------------

Matthew	Moss	(mmoss@libserv1.ic.sunysb.edu)

"Welcome back my friends, to the show that never ends!" - EL&P