Device.reference

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

class Device
reference
()

Return Value

Type: Device

the referenced cairo_device_t.

Meta