clip-push-group: Adjust test slightly to ensure mask-based clip is not anchored at the origin

This should help us test if there's an offset problem in copying
the mask-based clip during cairo_push_group.
This commit is contained in:
Carl Worth 2006-10-19 15:45:53 -07:00
parent f880f5e57b
commit f894ebf980
2 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

After

Width:  |  Height:  |  Size: 199 B

View file

@ -34,6 +34,7 @@
#include "cairo-test.h"
#define SIZE 10
#define PAD 2
static cairo_test_draw_function_t draw;
@ -54,7 +55,7 @@ draw (cairo_t *cr, int width, int height)
cairo_arc (cr,
SIZE / 2, SIZE / 2,
SIZE / 2,
SIZE / 2 - PAD,
0, 2 * M_PI);
cairo_clip (cr);