Browse files

2007-11-16 Sebastien Pouliot <sebastien@ximian.com>

	[Backport r89764]
	* graphics-cairo.c: If we need to stroke, before filling, then we
	must preserve the path. Fix bug #342074.


svn path=/branches/mono-1-2-6/libgdiplus/; revision=89766
  • Loading branch information...
1 parent e386fa2 commit e247e390f4d9194479fbfaa35fda8579149e1484 Sebastien Pouliot committed Nov 16, 2007
Showing with 7 additions and 1 deletion.
  1. +6 −0 src/ChangeLog
  2. +1 −1 src/graphics-cairo.c
View
6 src/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-16 Sebastien Pouliot <sebastien@ximian.com>
+
+ [Backport r89764]
+ * graphics-cairo.c: If we need to stroke, before filling, then we
+ must preserve the path. Fix bug #342074.
+
2007-11-15 Geoff Norton <gnorton at novell.com>
[Backport r89721]
View
2 src/graphics-cairo.c
@@ -40,7 +40,7 @@ fill_graphics_with_brush (GpGraphics *graphics, GpBrush *brush, BOOL stroke)
gdip_brush_setup (graphics, brush);
if (stroke)
- cairo_stroke (graphics->ct);
+ cairo_stroke_preserve (graphics->ct);
cairo_fill (graphics->ct);

0 comments on commit e247e39

Please sign in to comment.