Clear the current path after clipping

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-10-01 03:30:07 +00:00
parent 48b5bd01b0
commit f8e452f888
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-09-30 Adam Fedor <fedor@gnu.org>
* Source/gsc/GSGState.m ([GSGState -DPSrectclip::::]): Clear
the current path after clipping.
2003-09-29 Adam Fedor <fedor@gnu.org>
* Version 0.9.0

View file

@ -788,6 +788,8 @@
path = [NSBezierPath bezierPathWithRect: rect];
[self DPSclip];
path = oldPath;
if (path)
[path removeAllPoints];
}
- (void) DPSrectfill: (float)x : (float)y : (float)w : (float)h