mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 02:58:02 +02:00
Revert clipping changes
This commit is contained in:
parent
e5d50e0759
commit
cb0364a28c
3 changed files with 16 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue