[gs-cvs] rev 8755 - trunk/gs/src

giles at ghostscript.com giles at ghostscript.com
Tue May 20 18:24:45 PDT 2008


Author: giles
Date: 2008-05-20 18:24:45 -0700 (Tue, 20 May 2008)
New Revision: 8755

Modified:
   trunk/gs/src/gdevcairo.c
Log:
Whitespace cleanup. Also comment out the warning about setlogop; this
isn't important for most documents.


Modified: trunk/gs/src/gdevcairo.c
===================================================================
--- trunk/gs/src/gdevcairo.c	2008-05-21 01:24:44 UTC (rev 8754)
+++ trunk/gs/src/gdevcairo.c	2008-05-21 01:24:45 UTC (rev 8755)
@@ -113,7 +113,7 @@
                                "gx_device_cairo",
                                device_cairo_enum_ptrs, 
 			       device_cairo_reloc_ptrs,
-                               gx_device_finalize, 
+                               gx_device_finalize,
 			       st_device_vector);
 
 const gx_device_cairo gs_cairo_device = {
@@ -140,7 +140,7 @@
 devcairo_setlogop(gx_device_vector *vdev, gs_logical_operation_t lop,
 	     gs_logical_operation_t diff);
 
-static int 
+static int
 devcairo_can_handle_hl_color(gx_device_vector *vdev, const gs_imager_state *pis,
 			const gx_drawing_color * pdc);
 static int
@@ -385,7 +385,7 @@
     gx_device_cairo *const devcairo = (gx_device_cairo*)dev;
     int code = 0;
     int i;
-	
+
     for (i = num_copies - 1; i > 0; i++)
 	cairo_copy_page (devcairo->cr);
 
@@ -550,7 +550,7 @@
 devcairo_setlinewidth(gx_device_vector *vdev, floatp width)
 {
     gx_device_cairo *devcairo = (gx_device_cairo *)vdev;
-    
+
     cairo_set_line_width (devcairo->cr, width);
 
     return 0;
@@ -560,7 +560,7 @@
 {
     gx_device_cairo *devcairo = (gx_device_cairo *)vdev;
     cairo_line_cap_t cairo_cap;
-    
+
     switch (cap) {
     case gs_cap_butt:   cairo_cap = CAIRO_LINE_CAP_BUTT;   break;
     case gs_cap_square: cairo_cap = CAIRO_LINE_CAP_SQUARE; break;
@@ -579,7 +579,7 @@
 {
     gx_device_cairo *devcairo = (gx_device_cairo *)vdev;
     cairo_line_join_t cairo_join;
-    
+
     switch (join) {
     case gs_join_miter: cairo_join = CAIRO_LINE_JOIN_MITER; break;
     case gs_join_round: cairo_join = CAIRO_LINE_JOIN_ROUND; break;
@@ -597,7 +597,7 @@
 devcairo_setmiterlimit(gx_device_vector *vdev, floatp limit)
 {
     gx_device_cairo *devcairo = (gx_device_cairo *)vdev;
-    
+
     cairo_set_miter_limit (devcairo->cr, limit);
 
     return 0;
@@ -613,13 +613,13 @@
 devcairo_setlogop(gx_device_vector *vdev, gs_logical_operation_t lop,
 	     gs_logical_operation_t diff)
 {
-    dprintf("XXX devcairo_setlogop\n");
+/*    dprintf("XXX devcairo_setlogop\n"); */
     return 0;
 }
 
         /* Other state */
 
-static int 
+static int
 devcairo_can_handle_hl_color(gx_device_vector *vdev, const gs_imager_state *pis,
 			  const gx_drawing_color * pdc)
 {
@@ -655,7 +655,7 @@
 /*    gdev_vector_dopath */
 
 static int
-devcairo_beginpath(gx_device_vector *vdev, gx_path_type_t type)    
+devcairo_beginpath(gx_device_vector *vdev, gx_path_type_t type)
 {
     gx_device_cairo *devcairo = (gx_device_cairo *)vdev;
 



More information about the gs-cvs mailing list