diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2010-12-09 10:34:31 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-01-01 13:05:12 +0100 |
commit | ed24deaa2eaefb5e11ff900d4466474592f66d33 (patch) | |
tree | 37a394fe616b2f2241268bfaf0fda370b6c8d2f1 /src/cairo-misc.c | |
parent | 19b840a9044f873657f0c0dbb3ccf82a13d43888 (diff) | |
download | cairo-ed24deaa2eaefb5e11ff900d4466474592f66d33.tar.gz |
mesh: Add mesh pattern type and enum values
Add the mesh pattern type and an error status to be used to report an
incorrect construction of the pattern.
Update the backends to make them ready to handle the new pattern type,
even if it cannot be created yet.
Diffstat (limited to 'src/cairo-misc.c')
-rw-r--r-- | src/cairo-misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-misc.c b/src/cairo-misc.c index 603725955..87cabcbf6 100644 --- a/src/cairo-misc.c +++ b/src/cairo-misc.c @@ -150,6 +150,8 @@ cairo_status_to_string (cairo_status_t status) return "the device type is not appropriate for the operation"; case CAIRO_STATUS_DEVICE_ERROR: return "an operation to the device caused an unspecified error"; + case CAIRO_STATUS_INVALID_MESH_CONSTRUCTION: + return "invalid operation during mesh pattern construction"; default: case CAIRO_STATUS_LAST_STATUS: return "<unknown error status>"; |