Checks whether an error has previously occurred for this pattern.

cairo_pattern_status(pattern)

Arguments

pattern

[cairo_pattern_t *] a #cairo_pattern_t

Value

[int]

Details

Return value: %CAIRO_STATUS_SUCCESS, %CAIRO_STATUS_NO_MEMORY, %CAIRO_STATUS_INVALID_MATRIX, %CAIRO_STATUS_PATTERN_TYPE_MISMATCH, or %CAIRO_STATUS_INVALID_MESH_CONSTRUCTION.

Since: 1.0

C function prototype: cairo_status_t cairo_pattern_status (cairo_pattern_t *pattern)

See also