[cairo-commit] cairo/src cairo-gstate.c,1.97,1.98

Tim Rowley commit at pdx.freedesktop.org
Wed Mar 30 09:31:51 PST 2005


Committed by: tor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv8743/src

Modified Files:
	cairo-gstate.c 
Log Message:
src/cairo-gstate.c (_cairo_gstate_stroke_extents): call _cairo_pen_init
so that the result takes into account the caps.


Index: cairo-gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-gstate.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- cairo-gstate.c	23 Mar 2005 21:52:54 -0000	1.97
+++ cairo-gstate.c	30 Mar 2005 17:31:49 -0000	1.98
@@ -1743,6 +1743,8 @@
     cairo_traps_t traps;
     cairo_box_t extents;
   
+    _cairo_pen_init (&gstate->pen_regular, gstate->line_width / 2.0, gstate);
+
     _cairo_traps_init (&traps);
   
     status = _cairo_path_fixed_stroke_to_traps (&gstate->path, gstate, &traps);




More information about the cairo-commit mailing list