[comp.sys.mac.programmer] Grouping in draw programs

wilson@csli.STANFORD.EDU (Nathan Wilson) (10/24/88)

I've just finished installing grouping into my object oriented graphics editor
in what I considered to be the obvious way.  Namely, I allow any set of 
objects to be grouped (including groups) with no effect on the order in 
which the objects are drawn.  After I had this working I turned my attention
to the question of saving these groups, and wondered what other programs
did in their PICT format files.  It turns out that MacDraw, MacDraft, and
SuperPaint all force the members of a group to be at the same 'level.'
That is, there is no way to have an object not in the group between (in front
to back order) two objects in the group.  This makes saving the grouping
simple since they just have a begin group PicComment and an end group
PicComment for each group and their done.  My question is does this seem
broken to anyone else?  I can see some sense in the same 'level' idea, but
it seems that this should be an option not a requirement.  Has anyone out
in net land found the 'standard' level forcing a problem?

	Nathan Wilson
	Teleos Research
	Palo Alto, Ca
	nathan@teleos.com