[cairo-commit] cairo/src cairo-gstate.c,1.99,1.100

Carl Worth commit at pdx.freedesktop.org
Sat Apr 2 06:00:36 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv3680/src

Modified Files:
	cairo-gstate.c 
Log Message:

        * src/cairo-gstate.c: (_cairo_gstate_show_surface): Use the
        current point to offset just the destination, not the source and
        destination. With this fix, cairo_show_surface should work with
        the current point at places other than the origin.

        * test/Makefile.am: Move move-to-show-surface off the expected
        failure list.

        * test/move-to-show-surface.c: Add comment indicating that bug is
        resolved.

        * test/testsvg: Don't use diff to compare images, just imagediff.


Index: cairo-gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-gstate.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- cairo-gstate.c	2 Apr 2005 13:18:11 -0000	1.99
+++ cairo-gstate.c	2 Apr 2005 14:00:32 -0000	1.100
@@ -2111,7 +2111,7 @@
 					       &pattern.base, 
 					       &clip_pattern.base,
 					       gstate->surface,
-					       extents.x, extents.y,
+					       0, 0,
 					       0, 0,
 					       extents.x, extents.y,
 					       extents.width, extents.height);
@@ -2132,7 +2132,7 @@
 					   &pattern.base, 
 					   NULL,
 					   gstate->surface,
-					   extents.x, extents.y,
+					   0, 0,
 					   0, 0,
 					   extents.x, extents.y,
 					   extents.width, extents.height);




More information about the cairo-commit mailing list