Cairo is a 2D graphics library with support for multiple output devices. 
Currently supported output targets include the X Window System, Quartz, Win32, 
image buffers, PostScript, PDF, and SVG file output. Experimental backends 
include OpenGL, XCB, BeOS, OS/2, and DirectFB.
