Decode QuickDraw opcodes
My program draws some polygons and saves them as PICT files. I want the capability to edit them later, so I need access to the coordinates of the vertices. At the moment I'm writing a function that saves these numbers into the 512 byte header of the file. However I would much prefer to get this info straight from the Quickdraw "recording". Not only would this be more elegant but would mean I could read other PICT files. Could anyone point me in the right direction ?
You need to look at the appendix called "Picture Opcodes" in "Inside Macintosh. On the Internet, it's here: