Device.reference

Increases the reference count on device by one. This prevents device from being destroyed until a matching call to Device.destroy is made. The number of references to a cairo_device_t can be get using Device.getReferenceCount. Since 1.10

class Device
reference
()

Return Value

Type: Device

the referenced cairo_device_t.