[cairo-commit] libsvg-cairo/src svg_cairo.c,1.25,1.26

Carl Worth commit at pdx.freedesktop.org
Thu Apr 29 22:31:26 PDT 2004


Committed by: cworth

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

Modified Files:
	svg_cairo.c 
Log Message:

        * src/svg_cairo.c (_svg_cairo_set_gradient): Fix focal point Y
        offset (thanks to Keith).


Index: svg_cairo.c
===================================================================
RCS file: /cvs/cairo/libsvg-cairo/src/svg_cairo.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** a/svg_cairo.c	29 Apr 2004 04:16:44 -0000	1.25
--- b/svg_cairo.c	30 Apr 2004 05:31:24 -0000	1.26
***************
*** 566,570 ****
  	_svg_cairo_length_to_pixel (svg_cairo, &gradient->u.radial.fy, &fy);
  	
! 	pattern = cairo_pattern_create_radial (fx, fx, 0.0,
  					       cx, cy, r);
      } break;
--- 566,570 ----
  	_svg_cairo_length_to_pixel (svg_cairo, &gradient->u.radial.fy, &fy);
  	
! 	pattern = cairo_pattern_create_radial (fx, fy, 0.0,
  					       cx, cy, r);
      } break;





More information about the cairo-commit mailing list