Arjen Marcus' patch, with minor edits in the ParseProc and PrintProc (making the offset obsolete).
TODO: -other items than ovals and rects, -documentation