summaryrefslogtreecommitdiff
path: root/src/cairo-region.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2010-12-09 10:34:31 +0100
committerAndrea Canciani <ranma42@gmail.com>2011-01-01 13:05:12 +0100
commited24deaa2eaefb5e11ff900d4466474592f66d33 (patch)
tree37a394fe616b2f2241268bfaf0fda370b6c8d2f1 /src/cairo-region.c
parent19b840a9044f873657f0c0dbb3ccf82a13d43888 (diff)
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-region.c')
-rw-r--r--src/cairo-region.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-region.c b/src/cairo-region.c
index 112b1d82..b15f1516 100644
--- a/src/cairo-region.c
+++ b/src/cairo-region.c
@@ -104,6 +104,7 @@ _cairo_region_create_in_error (cairo_status_t status)
case CAIRO_STATUS_INVALID_SLANT:
case CAIRO_STATUS_INVALID_WEIGHT:
case CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED:
+ case CAIRO_STATUS_INVALID_MESH_CONSTRUCTION:
default:
_cairo_error_throw (CAIRO_STATUS_NO_MEMORY);
return (cairo_region_t *) &_cairo_region_nil;