[cairo-commit] cairo/test get-and-set.c,1.3,1.4

Carl Worth commit at pdx.freedesktop.org
Wed Aug 31 13:33:44 PDT 2005


Committed by: cworth

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

Modified Files:
	get-and-set.c 
Log Message:

2005-08-31  Carl Worth  <cworth at cworth.org>

        * test/get-and-set.c: Fix test to not try to set a non-invertible
        matrix. (We'd gotten away with this due to round-off error on many
        systems). Fixes one out of six failures in bug #4245.


Index: get-and-set.c
===================================================================
RCS file: /cvs/cairo/cairo/test/get-and-set.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- get-and-set.c	26 Apr 2005 19:38:06 -0000	1.3
+++ get-and-set.c	31 Aug 2005 20:33:42 -0000	1.4
@@ -52,7 +52,7 @@
 	CAIRO_LINE_CAP_SQUARE,
 	CAIRO_LINE_JOIN_ROUND,
 	3.14,
-	{1.0, 2.0, 3.0, 4.0, 5.0, 6.0}
+	{2.0, 0.0, 0.0, 2.0, 5.0, 5.0}
     },
     {
 	CAIRO_OPERATOR_ATOP,
@@ -62,7 +62,7 @@
 	CAIRO_LINE_CAP_ROUND,
 	CAIRO_LINE_JOIN_BEVEL,
 	1000.0,
-	{.1, .01, .001, .0001, .00001, .000001}
+	{-3.0, 1.0, 1.0, -3.0, -4, -4}
     }
 };
 



More information about the cairo-commit mailing list