[cairo-commit] cairo/test coverage-ref.png, 1.1, 1.2 coverage.c, 1.1, 1.2

Kristian Hogsberg commit at pdx.freedesktop.org
Wed Jan 26 14:21:55 PST 2005


Committed by: krh

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv15043/test

Modified Files:
	coverage-ref.png coverage.c 
Log Message:
2005-01-26  Kristian Høgsberg  <krh at redhat.com>

        * test/coverage.c (draw): Set alpha to 1 before setting clip mask.

        * test/coverage-ref.png: Added the right reference PNG.  Running
        test against stock 0.3.0 gives the expected results.



Index: coverage-ref.png
===================================================================
RCS file: /cvs/cairo/cairo/test/coverage-ref.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
Binary files /tmp/cvs2QYniG and /tmp/cvsx7NWx6 differ

Index: coverage.c
===================================================================
RCS file: /cvs/cairo/cairo/test/coverage.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- coverage.c	26 Jan 2005 21:41:55 -0000	1.1
+++ coverage.c	26 Jan 2005 22:21:53 -0000	1.2
@@ -159,6 +159,7 @@
 
 	    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);




More information about the cairo-commit mailing list