cairo_status_t.Rd
#cairo_status_t is used to indicate errors that can occur when using Cairo. In some cases it is returned directly by functions. but when using #cairo_t, the last error, if any, is stored in the context and can be retrieved with cairo_status().
cairo_status_t
An object of class list
of length 44.
New entries may be added in future versions. Use cairo_status_to_string() to get a human-readable representation of an error message.
Since: 1.0
no error has occurred (Since 1.0)
out of memory (Since 1.0)
cairo_restore() called without matching cairo_save() (Since 1.0)
no saved group to pop, i.e. cairo_pop_group() without matching cairo_push_group() (Since 1.0)
no current point defined (Since 1.0)
invalid matrix (not invertible) (Since 1.0)
invalid value for an input #cairo_status_t (Since 1.0)
%NULL pointer (Since 1.0)
input string not valid UTF-8 (Since 1.0)
input path data not valid (Since 1.0)
error while reading from input stream (Since 1.0)
error while writing to output stream (Since 1.0)
target surface has been finished (Since 1.0)
the surface type is not appropriate for the operation (Since 1.0)
the pattern type is not appropriate for the operation (Since 1.0)
invalid value for an input #cairo_content_t (Since 1.0)
invalid value for an input #cairo_format_t (Since 1.0)
invalid value for an input Visual* (Since 1.0)
file not found (Since 1.0)
invalid value for a dash setting (Since 1.0)
invalid value for a DSC comment (Since 1.2)
invalid index passed to getter (Since 1.4)
clip region not representable in desired format (Since 1.4)
error creating or writing to a temporary file (Since 1.6)
invalid value for stride (Since 1.6)
the font type is not appropriate for the operation (Since 1.8)
the user-font is immutable (Since 1.8)
error occurred in a user-font callback function (Since 1.8)
negative number used where it is not allowed (Since 1.8)
input clusters do not represent the accompanying text and glyph array (Since 1.8)
invalid value for an input #cairo_font_slant_t (Since 1.8)
invalid value for an input #cairo_font_weight_t (Since 1.8)
invalid value (typically too big) for the size of the input (surface, pattern, etc.) (Since 1.10)
user-font method not implemented (Since 1.10)
the device type is not appropriate for the operation (Since 1.10)
an operation to the device caused an unspecified error (Since 1.10)
a mesh pattern construction operation was used outside of a cairo_mesh_pattern_begin_patch()/cairo_mesh_pattern_end_patch() pair (Since 1.12)
target device has been finished (Since 1.12)
%CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID has been used on at least one image but no image provided %CAIRO_MIME_TYPE_JBIG2_GLOBAL (Since 1.14)
error occurred in libpng while reading from or writing to a PNG file (Since 1.16)
error occurred in libfreetype (Since 1.16)
error occurred in the Windows Graphics Device Interface (Since 1.16)
invalid tag name, attributes, or nesting (Since 1.16)
this is a special value indicating the number of status values defined in this enumeration. When using this value, note that the version of cairo at run-time may have additional status values defined than the value of this symbol at compile-time. (Since 1.10)
Other enum:
cairo_antialias_t
,
cairo_content_t
,
cairo_device_type_t
,
cairo_extend_t
,
cairo_fill_rule_t
,
cairo_filter_t
,
cairo_font_slant_t
,
cairo_font_type_t
,
cairo_font_weight_t
,
cairo_format_t
,
cairo_ft_synthesize_t
,
cairo_hint_metrics_t
,
cairo_hint_style_t
,
cairo_int_status_t
,
cairo_line_cap_t
,
cairo_line_join_t
,
cairo_operator_t
,
cairo_path_data_type_t
,
cairo_pattern_type_t
,
cairo_pdf_metadata_t
,
cairo_pdf_outline_flags_t
,
cairo_pdf_version_t
,
cairo_ps_level_t
,
cairo_region_overlap_t
,
cairo_subpixel_order_t
,
cairo_surface_observer_mode_t
,
cairo_surface_type_t
,
cairo_svg_unit_t
,
cairo_svg_version_t
,
cairo_text_cluster_flags_t
,
enum_find()
,
enum_lookup()