Surface.getDevice

This function returns the device for a surface. See cairo_device_t. Since 1.10

class Surface
getDevice
()

Return Value

Type: Device

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