cairo-Error-Handling {RGtk2}R Documentation

Error handling

Description

Decoding cairo's status

Methods and Functions

cairoStatusToString(status)

Enums and Flags

CairoStatus
CairoStatus is used to indicate errors that can occur when using Cairo. In some cases it is returned directly by functions. but when using Cairo, the last error, if any, is stored in the context and can be retrieved with cairoStatus.

New entries may be added in future versions. Use cairoStatusToString to get a human-readable representation of an error message.

success
no error has occurred
no-memory
out of memory
invalid-restore
cairo_restore without matching cairo_save
invalid-pop-group
no saved group to pop
no-current-point
no current point defined
invalid-matrix
invalid matrix (not invertible)
invalid-status
invalid value for an input cairo_status_t
null-pointer
NULL pointer
invalid-string
input string not valid UTF-8
invalid-path-data
input path data not valid
read-error
error while reading from input stream
write-error
error while writing to output stream
surface-finished
target surface has been finished
surface-type-mismatch
the surface type is not appropriate for the operation
pattern-type-mismatch
the pattern type is not appropriate for the operation
invalid-content
invalid value for an input cairo_content_t
invalid-format
invalid value for an input cairo_format_t
invalid-visual
invalid value for an input Visual*
file-not-found
file not found
invalid-dash
invalid value for a dash setting
invalid-dsc-comment
invalid value for a DSC comment (Since 1.2)
invalid-index
invalid index passed to getter (Since 1.4)
clip-not-representable
clip region not representable in desired format (Since 1.4)

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://www.cairographics.org/manual/cairo-Error-Handling.html


[Package RGtk2 version 2.12.5-3 Index]