summaryrefslogtreecommitdiff
path: root/test/coverage.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-01-26 14:21:53 +0000
committerKristian Høgsberg <krh@redhat.com>2005-01-26 14:21:53 +0000
commit79d9b82ff3a803a0895fd57156cb39dc0a54e926 (patch)
treed61f66aa51eda29b014082d69803b972a5c0e657 /test/coverage.c
parentd4fb5c92407f31291041f421360ea83a209ea2ad (diff)
Set alpha to 1 before setting clip mask.
Added the right reference PNG. Running test against stock 0.3.0 gives the expected results.
Diffstat (limited to 'test/coverage.c')
-rw-r--r--test/coverage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/coverage.c b/test/coverage.c
index 554b5eda..00c86a1d 100644
--- a/test/coverage.c
+++ b/test/coverage.c
@@ -159,6 +159,7 @@ draw (cairo_t *cr, int width, int height)
cairo_save (cr);
+ cairo_set_alpha (cr, 1.0);
cairo_new_path (cr);
cairo_arc (cr, x + WIDTH / 2, y + HEIGHT / 2,
WIDTH / 3, 0, 2 * M_PI);