not have an associated device.
Surface.getDevice
cairo.device.Device getDevice()This function returns the device for a surface. See #cairo_device_t.
Returns
The device for surface or null if the surface does
cairo.device.Device getDevice()This function returns the device for a surface. See #cairo_device_t.
not have an associated device.