Corrected last change

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13798 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2002-06-07 23:19:41 +00:00
parent 59a0af73c0
commit 1eddfdbd5f

View file

@ -733,29 +733,32 @@
- (void) DPSrectclip: (float)x : (float)y : (float)w : (float)h
{
NSRect rect = NSMakeRect(x, y, w, h);
NSRect rect = [ctm rectInMatrixSpace: NSMakeRect(x, y, w, h)];
NSBezierPath *oldPath = path;
rect = [ctm rectInMatrixSpace: rect];
ASSIGN(path, [NSBezierPath bezierPathWithRect: rect]);
path = [NSBezierPath bezierPathWithRect: rect];
[self DPSclip];
path = oldPath;
}
- (void) DPSrectfill: (float)x : (float)y : (float)w : (float)h
{
NSRect rect = NSMakeRect(x, y, w, h);
NSRect rect = [ctm rectInMatrixSpace: NSMakeRect(x, y, w, h)];
NSBezierPath *oldPath = path;
rect = [ctm rectInMatrixSpace: rect];
ASSIGN(path, [NSBezierPath bezierPathWithRect: rect]);
path = [NSBezierPath bezierPathWithRect: rect];
[self DPSfill];
path = oldPath;
}
- (void) DPSrectstroke: (float)x : (float)y : (float)w : (float)h
{
NSRect rect = NSMakeRect(x, y, w, h);
NSRect rect = [ctm rectInMatrixSpace: NSMakeRect(x, y, w, h)];
NSBezierPath *oldPath = path;
rect = [ctm rectInMatrixSpace: rect];
ASSIGN(path, [NSBezierPath bezierPathWithRect: rect]);
path = [NSBezierPath bezierPathWithRect: rect];
[self DPSstroke];
path = oldPath;
}
- (void)DPSreversepath