Patch committed in branch (with minimal edits in the ParseProc and PrintProc, obsoleting the offset parameter).

TODO:
- documentation.
- other types than oval and rect