summaryrefslogtreecommitdiff
path: root/test/clip-push-group.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-10-19 15:45:53 -0700
committerCarl Worth <cworth@cworth.org>2006-10-19 15:45:53 -0700
commitf894ebf98022ecf5844cd50840e916d6ddbea0bf (patch)
tree65a57635cef0ec0bdd8eee1fc3dff460105cea93 /test/clip-push-group.c
parentf880f5e57bc44c2c2e70a80f0df21ea89084cd8c (diff)
downloadcairo-f894ebf98022ecf5844cd50840e916d6ddbea0bf.tar.gz
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.
Diffstat (limited to 'test/clip-push-group.c')
-rw-r--r--test/clip-push-group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/clip-push-group.c b/test/clip-push-group.c
index f18d13c77..8274e85d4 100644
--- a/test/clip-push-group.c
+++ b/test/clip-push-group.c
@@ -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);