I wasn't too worried about getting a file system interface to it.
I'd supposed that would be tedious (from the size of the language) but
straightforward, similar in principle to draw(2).
Draw's programming interface can, however, present Images, Screens,
Points, Rectangles, Screens, Fonts, and so on as values that can be
created and manipulated like any other.
Obviously there's still an underlying state in the image currently
drawn in an Image, or on a Display.
By contrast, OpenGL has things like this:

"None of the matrix manipulation commands have an explicit parameter
to control which matrix they affect. Instead, OpenGL maintains a
current matrix mode that determines which matrix type the previously
mentioned matrix manipulation commands actually affects" and "each
matrix type has its own a stack of matrices". (That's followed in a
document I'm looking at by all the ways you can get into trouble with
this,
but how much faster it all is!) And, that state is program global.

Still, that's what there is!

Reply via email to