SWIG wrapper for Cairo