[cairo-commit] cairo/src cairo-surface.c,1.100,1.101

Carl Worth commit at pdx.freedesktop.org
Thu Sep 29 10:10:02 PDT 2005


Committed by: cworth

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

Modified Files:
	cairo-surface.c 
Log Message:

2005-09-29  Carl Worth  <cworth at cworth.org>

        * src/cairo-surface.c: (_cairo_surface_composite_trapezoids):
        Oops. Reverting debug output that was mistakenly committed.


Index: cairo-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-surface.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- cairo-surface.c	29 Sep 2005 13:49:47 -0000	1.100
+++ cairo-surface.c	29 Sep 2005 17:09:59 -0000	1.101
@@ -1166,37 +1166,6 @@
 {
     cairo_int_status_t status;
 
-    int i;
-
-    printf ("<?xml version=\"1.0\" ?>\n"
-	    "<svg width=\"430\" height=\"400\" stroke=\"black\" fill=\"none\">\n"
-	    "  <g transform=\"translate(-1025,-1020),scale(0.0001,0.0001)\" stroke-width=\"13107\">\n");
-
-    for (i=0; i < num_traps; i++) {
-	cairo_trapezoid_t *trap;
-	trap = &traps[i];
-	printf( "    <path d=\"M %d, %d L %d, %d\" />\n",
-		trap->left.p1.y < trap->left.p2.y ? trap->left.p1.x : trap->left.p2.x,
-		trap->top,
-		trap->right.p1.y < trap->right.p2.y ? trap->right.p1.x : trap->right.p2.x,
-		trap->top);
-	printf( "    <path d=\"M %d, %d L %d, %d\" />\n",
-		trap->left.p1.y > trap->left.p2.y ? trap->left.p1.x : trap->left.p2.x,
-		trap->bottom,
-		trap->right.p1.y > trap->right.p2.y ? trap->right.p1.x : trap->right.p2.x,
-		trap->bottom);
-	printf ("    <path d=\"M %d, %d L %d, %d\" />\n",
-		trap->left.p1.x, trap->left.p1.y,
-		trap->left.p2.x, trap->left.p2.y);
-	printf ("    <path d=\"M %d, %d L %d, %d\" />\n",
-		trap->right.p1.x, trap->right.p1.y,
-		trap->right.p2.x, trap->right.p2.y);
-	printf ("\n");
-    }
-
-    printf ("  </g>\n"
-	    "</svg>\n");
-
     /* These operators aren't interpreted the same way by the backends;
      * they are implemented in terms of other operators in cairo-gstate.c
      */



More information about the cairo-commit mailing list