Surface.getDevice

This function returns the device for a surface. See #cairo_device_t.

class Surface
getDevice
()

Return Value

Type: cairo.device.Device

The device for surface or null if the surface does not have an associated device.