Revert clipping changes

This commit is contained in:
David Reveman 2004-12-01 16:27:18 +00:00
parent e5d50e0759
commit cb0364a28c
3 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-12-02 David Reveman <c99drn@cs.umu.se>
* src/cairo_gstate.c (_cairo_gstate_clip): Revert the "return early"
change so that rectangular clipping works with backends that
don't support clipping regions.
2004-11-29 Carl Worth <cworth@cworth.org>
* COPYING: Fix typo: LPGL->LGPL.

View file

@ -1760,8 +1760,12 @@ _cairo_gstate_clip (cairo_gstate_t *gstate)
if (status != CAIRO_INT_STATUS_UNSUPPORTED) {
_cairo_traps_fini (&traps);
return status;
}
return status;
/* Fall through as status == CAIRO_INT_STATUS_UNSUPPORTED
means that backend doesn't support clipping regions and
mask surface clipping should be used instead. */
}
/* Otherwise represent the clip as a mask surface. */

View file

@ -1760,8 +1760,12 @@ _cairo_gstate_clip (cairo_gstate_t *gstate)
if (status != CAIRO_INT_STATUS_UNSUPPORTED) {
_cairo_traps_fini (&traps);
return status;
}
return status;
/* Fall through as status == CAIRO_INT_STATUS_UNSUPPORTED
means that backend doesn't support clipping regions and
mask surface clipping should be used instead. */
}
/* Otherwise represent the clip as a mask surface. */