[cairo-commit] libsvg/src svg_element.c, 1.33, 1.34 svg_group.c, 1.24, 1.25

Carl Worth commit at pdx.freedesktop.org
Thu May 6 20:56:45 PDT 2004


Committed by: cworth

Update of /cvs/cairo/libsvg/src
In directory pdx:/tmp/cvs-serv10213/src

Modified Files:
	svg_element.c svg_group.c 
Log Message:

2004-05-06  Carl Worth  <cworth at isi.edu>

        * src/svg_element.c (_svg_element_apply_attributes): Fix to not
        return bogus error for circle elements.

2004-05-04  Carl Worth  <cworth at isi.edu>

        * src/svg_group.c (_svg_group_init_copy): Don't forget to copy x
        and y.


Index: svg_element.c
===================================================================
RCS file: /cvs/cairo/libsvg/src/svg_element.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** a/svg_element.c	30 Apr 2004 13:28:27 -0000	1.33
--- b/svg_element.c	7 May 2004 03:56:43 -0000	1.34
***************
*** 496,499 ****
--- 496,500 ----
  	break;
      case SVG_ELEMENT_TYPE_RECT:
+     case SVG_ELEMENT_TYPE_CIRCLE:
      case SVG_ELEMENT_TYPE_ELLIPSE:
      case SVG_ELEMENT_TYPE_LINE:

Index: svg_group.c
===================================================================
RCS file: /cvs/cairo/libsvg/src/svg_group.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** a/svg_group.c	30 Apr 2004 06:50:33 -0000	1.24
--- b/svg_group.c	7 May 2004 03:56:43 -0000	1.25
***************
*** 74,77 ****
--- 74,80 ----
      group->view_box = other->view_box;
  
+     group->x = other->x;
+     group->y = other->y;
+ 
      return SVG_STATUS_SUCCESS;
  }





More information about the cairo-commit mailing list