Skip to content

API Reference / @gtkx/cairo / Status

Enumeration: Status ​

Defined in: enums.d.ts:2

The result a cairo object or operation reports; anything but SUCCESS marks the object as errored.

Enumeration Members ​

CLIP_NOT_REPRESENTABLE ​

CLIP_NOT_REPRESENTABLE: 22

Defined in: enums.d.ts:95

The clip region is not representable in the desired format.


DEVICE_ERROR ​

DEVICE_ERROR: 35

Defined in: enums.d.ts:121

An operation on the device caused an unspecified error.


DEVICE_FINISHED ​

DEVICE_FINISHED: 37

Defined in: enums.d.ts:125

The target device has been finished.


DEVICE_TYPE_MISMATCH ​

DEVICE_TYPE_MISMATCH: 34

Defined in: enums.d.ts:119

The device type is not appropriate for the operation.


FILE_NOT_FOUND ​

FILE_NOT_FOUND: 18

Defined in: enums.d.ts:87

The file was not found.


FONT_TYPE_MISMATCH ​

FONT_TYPE_MISMATCH: 25

Defined in: enums.d.ts:101

The font type is not appropriate for the operation.


INVALID_CLUSTERS ​

INVALID_CLUSTERS: 29

Defined in: enums.d.ts:109

The input clusters do not represent the accompanying text and glyph arrays.


INVALID_CONTENT ​

INVALID_CONTENT: 15

Defined in: enums.d.ts:81

The content value is invalid.


INVALID_DASH ​

INVALID_DASH: 19

Defined in: enums.d.ts:89

The dash setting is invalid.


INVALID_DSC_COMMENT ​

INVALID_DSC_COMMENT: 20

Defined in: enums.d.ts:91

The DSC comment is invalid.


INVALID_FORMAT ​

INVALID_FORMAT: 16

Defined in: enums.d.ts:83

The format value is invalid.


INVALID_INDEX ​

INVALID_INDEX: 21

Defined in: enums.d.ts:93

The index passed to a getter is out of range.


INVALID_MATRIX ​

INVALID_MATRIX: 5

Defined in: enums.d.ts:61

The matrix is invalid, such as one that is not invertible.


INVALID_MESH_CONSTRUCTION ​

INVALID_MESH_CONSTRUCTION: 36

Defined in: enums.d.ts:123

A mesh pattern construction operation was used outside a beginPatch/endPatch pair.


INVALID_PATH_DATA ​

INVALID_PATH_DATA: 9

Defined in: enums.d.ts:69

The path data is not valid.


INVALID_POP_GROUP ​

INVALID_POP_GROUP: 3

Defined in: enums.d.ts:57

popGroup was called without a matching pushGroup.


INVALID_RESTORE ​

INVALID_RESTORE: 2

Defined in: enums.d.ts:55

restore was called without a matching save.


INVALID_SIZE ​

INVALID_SIZE: 32

Defined in: enums.d.ts:115

The size value, such as a negative width, is invalid.


INVALID_SLANT ​

INVALID_SLANT: 30

Defined in: enums.d.ts:111

The font slant value is invalid.


INVALID_STATUS ​

INVALID_STATUS: 6

Defined in: enums.d.ts:63

The status value is invalid.


INVALID_STRIDE ​

INVALID_STRIDE: 24

Defined in: enums.d.ts:99

The stride value is invalid.


INVALID_STRING ​

INVALID_STRING: 8

Defined in: enums.d.ts:67

The string is invalid, such as malformed UTF-8.


INVALID_VISUAL ​

INVALID_VISUAL: 17

Defined in: enums.d.ts:85

The visual value is invalid.


INVALID_WEIGHT ​

INVALID_WEIGHT: 31

Defined in: enums.d.ts:113

The font weight value is invalid.


JBIG2_GLOBAL_MISSING ​

JBIG2_GLOBAL_MISSING: 38

Defined in: enums.d.ts:127

A JBIG2 global data stream was attached without its global identifier.


NEGATIVE_COUNT ​

NEGATIVE_COUNT: 28

Defined in: enums.d.ts:107

A negative number was used where it is not allowed.


NO_CURRENT_POINT ​

NO_CURRENT_POINT: 4

Defined in: enums.d.ts:59

No current point is defined.


NO_MEMORY ​

NO_MEMORY: 1

Defined in: enums.d.ts:53

Out of memory.


NULL_POINTER ​

NULL_POINTER: 7

Defined in: enums.d.ts:65

A null pointer was passed.


PATTERN_TYPE_MISMATCH ​

PATTERN_TYPE_MISMATCH: 14

Defined in: enums.d.ts:79

The pattern type is not appropriate for the operation.


READ_ERROR ​

READ_ERROR: 10

Defined in: enums.d.ts:71

An error occurred while reading from an input stream.


SUCCESS ​

SUCCESS: 0

Defined in: enums.d.ts:51

No error has occurred.


SURFACE_FINISHED ​

SURFACE_FINISHED: 12

Defined in: enums.d.ts:75

The target surface has been finished.


SURFACE_TYPE_MISMATCH ​

SURFACE_TYPE_MISMATCH: 13

Defined in: enums.d.ts:77

The surface type is not appropriate for the operation.


TEMP_FILE_ERROR ​

TEMP_FILE_ERROR: 23

Defined in: enums.d.ts:97

An error occurred while creating a temporary file.


USER_FONT_ERROR ​

USER_FONT_ERROR: 27

Defined in: enums.d.ts:105

An error occurred in a user font callback.


USER_FONT_IMMUTABLE ​

USER_FONT_IMMUTABLE: 26

Defined in: enums.d.ts:103

The user font is immutable.


USER_FONT_NOT_IMPLEMENTED ​

USER_FONT_NOT_IMPLEMENTED: 33

Defined in: enums.d.ts:117

The user font method is not implemented.


WRITE_ERROR ​

WRITE_ERROR: 11

Defined in: enums.d.ts:73

An error occurred while writing to an output stream.