Regarding cairo, I should go read http://www.cairographics.org/documentation/ - particularly its tutorial. cairo_image_surface_create_for_data is probably the one that I'm looking for for the main canvas.
Regarding cairo, I should go read http:// www.cairographi cs.org/ documentation/ - particularly its tutorial. surface_ create_ for_data is probably the one that I'm looking for for the main canvas.
cairo_image_