scene graphs for cairo and opengl