mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +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
bceea36ce9
commit
a7e27dda44
1 changed files with 12 additions and 9 deletions
|
@ -733,29 +733,32 @@
|
||||||
|
|
||||||
- (void) DPSrectclip: (float)x : (float)y : (float)w : (float)h
|
- (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];
|
path = [NSBezierPath bezierPathWithRect: rect];
|
||||||
ASSIGN(path, [NSBezierPath bezierPathWithRect: rect]);
|
|
||||||
[self DPSclip];
|
[self DPSclip];
|
||||||
|
path = oldPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) DPSrectfill: (float)x : (float)y : (float)w : (float)h
|
- (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];
|
path = [NSBezierPath bezierPathWithRect: rect];
|
||||||
ASSIGN(path, [NSBezierPath bezierPathWithRect: rect]);
|
|
||||||
[self DPSfill];
|
[self DPSfill];
|
||||||
|
path = oldPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) DPSrectstroke: (float)x : (float)y : (float)w : (float)h
|
- (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];
|
path = [NSBezierPath bezierPathWithRect: rect];
|
||||||
ASSIGN(path, [NSBezierPath bezierPathWithRect: rect]);
|
|
||||||
[self DPSstroke];
|
[self DPSstroke];
|
||||||
|
path = oldPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)DPSreversepath
|
- (void)DPSreversepath
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue