diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-16 12:46:20 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:38 +0100 |
commit | 33ef32af4e7adce41f035ee378279c19577469b0 (patch) | |
tree | 3dce70d995e239b8d28edd817f18849ae2ee52b1 /src/cairo-surface-fallback.c | |
parent | ab035ab2c7bec254fc94d6391398905b5039e777 (diff) | |
download | cairo-33ef32af4e7adce41f035ee378279c19577469b0.tar.gz |
[clip] Use the rectangular tessellator to extract boxes
Diffstat (limited to 'src/cairo-surface-fallback.c')
-rw-r--r-- | src/cairo-surface-fallback.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-surface-fallback.c b/src/cairo-surface-fallback.c index 2755e16c7..409679f80 100644 --- a/src/cairo-surface-fallback.c +++ b/src/cairo-surface-fallback.c @@ -917,7 +917,7 @@ _clip_to_boxes (cairo_clip_t **clip, if (*clip == NULL) { status = CAIRO_STATUS_SUCCESS; - goto OUT; + goto EXTENTS; } /* In some cases it may be preferable to always use boxes instead @@ -927,7 +927,7 @@ _clip_to_boxes (cairo_clip_t **clip, */ status = _cairo_clip_get_region (*clip, NULL); if (status != CAIRO_INT_STATUS_UNSUPPORTED) - goto OUT; + goto EXTENTS; status = _cairo_clip_get_boxes (*clip, boxes, num_boxes); switch ((int) status) { @@ -937,10 +937,10 @@ _clip_to_boxes (cairo_clip_t **clip, case CAIRO_INT_STATUS_UNSUPPORTED: status = CAIRO_STATUS_SUCCESS; - goto OUT; + goto EXTENTS; } - OUT: + EXTENTS: _cairo_box_from_rectangle (&(*boxes)[0], extents); *num_boxes = 1; DONE: |