[cairo-commit] 3 commits - src/cairo-svg-surface.c

Emmanuel Pacaud emmanuel at kemper.freedesktop.org
Tue Feb 28 14:43:57 PST 2006


 src/cairo-svg-surface.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

New commits:
diff-tree a69b3f211654d1f221859f8e7f9608f8030e1ac4 (from 0341305fd2f303a23d10b448ac385a981b8b35fe)
Author: manu <manu at hobbes.localdomain>
Date:   Tue Feb 28 23:44:01 2006 +0100

    s/CAIRO_PATTERN/CAIRO_PATTERN_TYPE/

diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index a5b02c9..2ad2137 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -762,19 +762,19 @@ emit_pattern (cairo_svg_surface_t *surfa
 	      xmlBufferPtr style, int is_stroke)
 {
     switch (pattern->type) {
-    case CAIRO_PATTERN_SOLID:	
+    case CAIRO_PATTERN_TYPE_SOLID:	
 	emit_solid_pattern (surface, (cairo_solid_pattern_t *) pattern, style, is_stroke);
 	break;
 
-    case CAIRO_PATTERN_SURFACE:
+    case CAIRO_PATTERN_TYPE_SURFACE:
 	emit_surface_pattern (surface, (cairo_surface_pattern_t *) pattern, style, is_stroke);
 	break;
 
-    case CAIRO_PATTERN_LINEAR:
+    case CAIRO_PATTERN_TYPE_LINEAR:
 	emit_linear_pattern (surface, (cairo_linear_pattern_t *) pattern, style, is_stroke);
 	break;
 
-    case CAIRO_PATTERN_RADIAL:
+    case CAIRO_PATTERN_TYPE_RADIAL:
 	emit_radial_pattern (surface, (cairo_radial_pattern_t *) pattern, style, is_stroke);
 	break;	    
     }
@@ -950,7 +950,7 @@ emit_paint (xmlNodePtr node,
     xmlBufferPtr style;
     char buffer[CAIRO_SVG_DTOSTR_BUFFER_LEN];
 
-    if (source->type == CAIRO_PATTERN_SURFACE)
+    if (source->type == CAIRO_PATTERN_TYPE_SURFACE)
 	return emit_composite_pattern (node, 
 				       (cairo_surface_pattern_t *) source, 
 				       NULL, NULL, FALSE);
diff-tree 0341305fd2f303a23d10b448ac385a981b8b35fe (from ef1c5c3961c2dff1a48606a45a6c9877924e5f15)
Author: manu <manu at hobbes.localdomain>
Date:   Tue Feb 28 23:33:00 2006 +0100

    Revert "Git test"
    
    This reverts ef1c5c3961c2dff1a48606a45a6c9877924e5f15 commit.

diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index e31a40b..a5b02c9 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -36,8 +36,6 @@
  * 	Emmanuel Pacaud <emmanuel.pacaud at univ-poitiers.fr>
  */
 
-/* test line */
-
 #include "cairoint.h"
 #include "cairo-svg.h"
 #include "cairo-path-fixed-private.h"
diff-tree ef1c5c3961c2dff1a48606a45a6c9877924e5f15 (from 6fe93cbf5b368a9a6daf54370aa0e7735b411474)
Author: manu <manu at hobbes.localdomain>
Date:   Tue Feb 28 22:52:45 2006 +0100

    Git test

diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index a5b02c9..e31a40b 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -36,6 +36,8 @@
  * 	Emmanuel Pacaud <emmanuel.pacaud at univ-poitiers.fr>
  */
 
+/* test line */
+
 #include "cairoint.h"
 #include "cairo-svg.h"
 #include "cairo-path-fixed-private.h"


More information about the cairo-commit mailing list