enum Cairo::DeviceType

Overview

DeviceType is used to describe the type of a given device. The devices types are also known as "backends" within cairo.

The device type can be queried with Device#type.

New entries may be added in future versions.

Defined in:

cairo/device_type.cr

Enum Members

DRM = 0

The device is of type Direct Render Manager.

GL = 1

The device is of type OpenGL.

Script = 2

The device is of type script.

XCB = 3

The device is of type xcb.

XLib = 4

The device is of type xlib.

XML = 5

The device is of type XML.

COGL = 6

The device is of type cogl.

Win32 = 7

The device is of type win32.

Invalid = -1

The device is invalid.

Instance Method Summary

Instance Method Detail

def cogl? #

[View source]
def drm? #

[View source]
def gl? #

[View source]
def invalid? #

[View source]
def script? #

[View source]
def win32? #

[View source]
def x_lib? #

[View source]
def xcb? #

[View source]
def xml? #

[View source]