Cairo

From XPUB & Lens-Based wiki

Cairo is an open source 2D graphics library. It is vector-based, and can be used to produce SVG and PDF format images, for instance. It is cross-platform (Linux, Mac, and Windows). Cairo is used as the rendering engine in the latest version of the Firefox browser.

Main Cairo website

Python

Cairo tutorial in Python