Author: spouliot
Date: 2008-02-19 09:58:58 -0500 (Tue, 19 Feb 2008)
New Revision: 96150

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/moon-path.c
Log:
2008-02-19  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * moon-path.c: #if out moon_get_origin since it's not used 
        anymore. Change cairo_path_display output to be easier to read 
        with negative numbers.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2008-02-19 14:30:52 UTC (rev 96149)
+++ trunk/moon/src/ChangeLog    2008-02-19 14:58:58 UTC (rev 96150)
@@ -1,3 +1,9 @@
+2008-02-19  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * moon-path.c: #if out moon_get_origin since it's not used 
+       anymore. Change cairo_path_display output to be easier to read 
+       with negative numbers.
+
 2008-02-18  Michael Dominic K.  <[EMAIL PROTECTED]>
 
        * src/media.cpp:

Modified: trunk/moon/src/moon-path.c
===================================================================
--- trunk/moon/src/moon-path.c  2008-02-19 14:30:52 UTC (rev 96149)
+++ trunk/moon/src/moon-path.c  2008-02-19 14:58:58 UTC (rev 96150)
@@ -546,6 +546,7 @@
        path->cairo.num_data += MOON_PATH_CLOSE_PATH_LENGTH;
 }
 
+#if FALSE
 /**
  * moon_get_origin
  * @path: a #moon_path
@@ -598,6 +599,7 @@
        if (ox) *ox = x;
        if (oy) *oy = y;
 }
+#endif
 
 /**
  * moon_merge:
@@ -646,17 +648,17 @@
                cairo_path_data_t *data = &path->data[i];
                switch (data->header.type) {
                case CAIRO_PATH_CURVE_TO:
-                       g_warning ("\tCAIRO_PATH_CURVE_TO (%d) %g,%g - %g,%g - 
%g,%g", data->header.length, 
+                       g_warning ("\tCAIRO_PATH_CURVE_TO (size %d) (%g, %g) 
(%g, %g) (%g, %g)", data->header.length, 
                                data[1].point.x, data[1].point.y, 
data[2].point.x, data[2].point.y, data[3].point.x, data[3].point.y);
                        break;
                case CAIRO_PATH_LINE_TO:
-                       g_warning ("\tCAIRO_PATH_LINE_TO (%d) %g,%g", 
data->header.length, data[1].point.x, data[1].point.y);
+                       g_warning ("\tCAIRO_PATH_LINE_TO (size %d) (%g, %g)", 
data->header.length, data[1].point.x, data[1].point.y);
                        break;
                case CAIRO_PATH_MOVE_TO:
-                       g_warning ("\tCAIRO_PATH_MOVE_TO (%d) %g,%g", 
data->header.length, data[1].point.x, data[1].point.y);
+                       g_warning ("\tCAIRO_PATH_MOVE_TO (size %d) (%g, %g)", 
data->header.length, data[1].point.x, data[1].point.y);
                        break;
                case CAIRO_PATH_CLOSE_PATH:
-                       g_warning ("\tCAIRO_PATH_CLOSE_PATH (%d)", 
data->header.length);
+                       g_warning ("\tCAIRO_PATH_CLOSE_PATH (size %d)", 
data->header.length);
                        break;
                }
        }

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to