The bestest quote on 'Pataphysics is by Jack Kerouac:
I even plunge into all the books and magazines around, I read up on "Pataphysics and yell contemptuously in the lamplight " "T'sa'n intellectual excuse for facetious joking, " throwing the magazine away, adding 'Peculiarly attractive to certain shallow types"
- Big Sur.
Because I always forget:
export CVS_RSH=ssh
cvs -d:ext:USERNAME@cvs.sourceforge.net:/cvsroot/minara commit -m "Commit message."
Pan and zoom are working a little. The concept works, which is a relief. Once I've majorly tidied up the code and written an API for getting the cursor position on the page rather than in the window they'll be done.
Then I can rewrite the toy pen tool to work with that API and you'll be able to see what you're drawing when you've zoomed in. :-)
I also need to put another buffer under the translate buffer to handle the window resizing. OpenGL and Minara measure positions from the bottom left-hand corner, which chanegs when you resize the window. So when you resize the window the whole image moves, which isn't right.
Undo works. But not redo. Pressing z makes drawn objects disappear. Pressing Z does nothing.
I think the undo/redo architecture needs reworking. At the moment "marks" go before series of undo events. I think they need to go between, so one at the bottom and top of the stack, with marks on boundaries. Redoing has too much special logic at the moment. It should only have as much special logic as undoing, which will be the case with a mark at the end of the undo list as well as at the beginning.
Update: undo/redo now works as described. OpenGL transformation matrices and the pan/zoom tools are next.