draw a scenegraph to an image?