Skip to content

API Reference / @gtkx/cairo / SurfaceType

Enumeration: SurfaceType

Defined in: enums.d.ts:34

The backend behind a surface.

Enumeration Members

BEOS

BEOS: 8

Defined in: enums.d.ts:409

A BeOS surface.


COGL

COGL: 24

Defined in: enums.d.ts:441

A Cogl surface.


DIRECTFB

DIRECTFB: 9

Defined in: enums.d.ts:411

A DirectFB surface.


DRM

DRM: 19

Defined in: enums.d.ts:431

A Direct Render Manager surface.


GL

GL: 18

Defined in: enums.d.ts:429

An OpenGL surface.


GLITZ

GLITZ: 5

Defined in: enums.d.ts:403

A Glitz surface.


IMAGE

IMAGE: 0

Defined in: enums.d.ts:393

An image surface backed by memory.


OS2

OS2: 11

Defined in: enums.d.ts:415

An OS/2 surface.


PDF

PDF: 1

Defined in: enums.d.ts:395

A PDF surface.


PS

PS: 2

Defined in: enums.d.ts:397

A PostScript surface.


QT

QT: 15

Defined in: enums.d.ts:423

A Qt surface.


QUARTZ

QUARTZ: 6

Defined in: enums.d.ts:405

A Quartz surface.


QUARTZ_IMAGE

QUARTZ_IMAGE: 13

Defined in: enums.d.ts:419

A Quartz image surface.


RECORDING

RECORDING: 16

Defined in: enums.d.ts:425

A recording surface that replays its drawing.


SCRIPT

SCRIPT: 14

Defined in: enums.d.ts:421

A script recording surface.


SKIA

SKIA: 22

Defined in: enums.d.ts:437

A Skia surface.


SUBSURFACE

SUBSURFACE: 23

Defined in: enums.d.ts:439

A subsurface created with Surface.createForRectangle.


SVG

SVG: 10

Defined in: enums.d.ts:413

An SVG surface.


TEE

TEE: 20

Defined in: enums.d.ts:433

A tee surface that forwards to several others.


VG

VG: 17

Defined in: enums.d.ts:427

An OpenVG surface.


WIN32

WIN32: 7

Defined in: enums.d.ts:407

A Win32 surface.


WIN32_PRINTING

WIN32_PRINTING: 12

Defined in: enums.d.ts:417

A Win32 printing surface.


XCB

XCB: 4

Defined in: enums.d.ts:401

An XCB surface.


XLIB

XLIB: 3

Defined in: enums.d.ts:399

An Xlib surface.


XML

XML: 21

Defined in: enums.d.ts:435

An XML recording surface.

Released under the MPL-2.0 License.