From 6455a62a4f0e59aad3a3d9b79fbc8d01509048a6 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Sun, 9 Sep 2007 20:34:13 +0000 Subject: [PATCH] Clear the GNUstep path after operation. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25471 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/cairo/CairoGState.m | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8f40231..7dce4c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-09 Fred Kiefer + + * Source/cairo/CairoGState.m (-DPSeofill, -DPSfill, -DPSstroke): + Clear the GNUstep path after operation. + 2007-09-06 Fred Kiefer * Source/cairo/CairoGState.m (-copyWithZone:): Copy dash and clipping. diff --git a/Source/cairo/CairoGState.m b/Source/cairo/CairoGState.m index 0a10ab6..7cad014 100644 --- a/Source/cairo/CairoGState.m +++ b/Source/cairo/CairoGState.m @@ -734,6 +734,7 @@ cairo_fill(_ct); cairo_set_fill_rule(_ct, CAIRO_FILL_RULE_WINDING); } + [self DPSnewpath]; } - (void) DPSfill @@ -743,6 +744,7 @@ [self _setPath:YES]; cairo_fill(_ct); } + [self DPSnewpath]; } - (void) DPSinitclip @@ -760,6 +762,7 @@ [self _setPath:NO]; cairo_stroke(_ct); } + [self DPSnewpath]; } - (NSDictionary *) GSReadRect: (NSRect)r