mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
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:
parent
59a0af73c0
commit
1eddfdbd5f
1 changed files with 12 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue