mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 02:38:07 +02:00
Temporarily disable rectangle-based clipping optimization as it's not working (see cairo_snippets/xxx_clip_rectangle for a test case).
This commit is contained in:
parent
e5afa03605
commit
62e4b869cd
3 changed files with 24 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2004-08-03 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* src/cairo_gstate.c (extract_transformed_rectangle): Temporarily
|
||||
disable rectangle-based clipping optimization as it's not working
|
||||
(see cairo_snippets/xxx_clip_rectangle for a test case).
|
||||
|
||||
2004-08-02 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* COPYING:
|
||||
|
|
|
|||
|
|
@ -1659,6 +1659,15 @@ extract_transformed_rectangle(cairo_matrix_t *mat,
|
|||
double a, b, c, d, tx, ty;
|
||||
cairo_status_t st;
|
||||
|
||||
/* XXX: Something in the rectangle-based clipping support is
|
||||
* broken. See cairo_snippets/xxx_clip_rectangle which
|
||||
* demonstrates no clipping at all.
|
||||
*
|
||||
* For now, I'm am disabling this optimization completely until it
|
||||
* can be fixed.
|
||||
*/
|
||||
return 0;
|
||||
|
||||
st = cairo_matrix_get_affine (mat, &a, &b, &c, &d, &tx, &ty);
|
||||
if (!(st == CAIRO_STATUS_SUCCESS && b == 0. && c == 0.))
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -1659,6 +1659,15 @@ extract_transformed_rectangle(cairo_matrix_t *mat,
|
|||
double a, b, c, d, tx, ty;
|
||||
cairo_status_t st;
|
||||
|
||||
/* XXX: Something in the rectangle-based clipping support is
|
||||
* broken. See cairo_snippets/xxx_clip_rectangle which
|
||||
* demonstrates no clipping at all.
|
||||
*
|
||||
* For now, I'm am disabling this optimization completely until it
|
||||
* can be fixed.
|
||||
*/
|
||||
return 0;
|
||||
|
||||
st = cairo_matrix_get_affine (mat, &a, &b, &c, &d, &tx, &ty);
|
||||
if (!(st == CAIRO_STATUS_SUCCESS && b == 0. && c == 0.))
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue