Device.getDeviceType

cairo.types.DeviceType getDeviceType()

This function returns the type of the device. See #cairo_device_type_t for available types.

Returns

The type of device.