Name
csurface:Status -- get surface status
Synopsis
status = csurface:Status()
Function
Checks whether an error has previously occurred for this surface.

This function returns #CAIRO_STATUS_SUCCESS, #CAIRO_STATUS_NULL_POINTER, #CAIRO_STATUS_NO_MEMORY, #CAIRO_STATUS_READ_ERROR, #CAIRO_STATUS_INVALID_CONTENT, #CAIRO_STATUS_INVALID_FORMAT, or #CAIRO_STATUS_INVALID_VISUAL.

Inputs
none

Results
status
a Cairo status value (see above)

Show TOC