I've created a simple pygtk project for testing cairo statements. It includes a sort of terminal where you write statements in a simple language. It features immediate preview of what you write.
Say it's a new format for images.
If you want to test it and see the code, ask me.