cairo_device_t

A cairo_device_t represents the driver interface for drawing operations to a cairo_surface_t. There are different subtypes of cairo_device_t for different drawing backends; for example, cairo_xcb_device_create() creates a device that wraps the connection to an X Windows System using the XCB library.

The type of a device can be queried with cairo_device_get_type().

Memory management of cairo_device_t is done with cairo_device_reference() and cairo_device_destroy().

extern (C)
struct cairo_device_t

Meta

Since

1.10