cairo_t

A #cairo_t contains the current state of the rendering device, including coordinates of yet to be drawn shapes.

Cairo contexts, as #cairo_t objects are named, are central to cairo and all drawing with cairo is always done to a #cairo_t object.

Memory management of #cairo_t is done with cairo.global.reference and cairo.global.destroy.

struct cairo_t