Object Graphics Issues

Bill Denney <[email protected]> Fri, 12 May 2006 09:06:49 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
So, I've almost got a working front-end to the object graphics system. 
Here are some things that I have modified or would like to modify while 
working on it:

Text Objects
  *The widthheight property seems as though it would be both backend
   specific and as if it doesn't really belong.  Can we remove it?

Root Object
  *It would be much easier if the default properties were listed as
   Default.Type.Property instead of DefaultTypeProperty.
  *I've created a Required.Type (e.g. required.line) as a child of the root
   object that lists the required properties as {'prop1' 'prop1', ...} so
   that object creation can be one simple function instead of many
   more complex functions.
  *I've also created a ChildProps.Type (e.g. childprops.line) that keeps a
   list of all properties that contain handles to other objects as their
   children.  This allows for tree searching and for easy object deletion.
  *Create an "Orphans" property that will keep a list of all handles that
   have been created but do not yet have parents.  This is to prevent the
   need for garbage collection in case of an error while an object is being
   created when its children may have already been created.

More minor issues:

Legend:
  *Needs a parent attribute

Movie:
  *Needs a number attribute

Patch and Surface:
  *Need a label attribute

I will hopefully have a usable (though probably not complete) version of 
the front end of object graphics by the end of the weekend.

Bill

-- 
Guil : Shall I read us a story before we go to sleep?
Ros : You can't read.
Guil : No, you can't read. I can't tie shoes. Keep it straight.
   -- _Rosencrantz and Guildenstern are Idiots_ by Jeffrey Gaulding