discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GSGState DPSrectclip:


From: Banlu Kemiyatorn
Subject: GSGState DPSrectclip:
Date: Fri, 26 Sep 2003 12:21:25 +0700
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030902 Thunderbird/0.2

- (void) DPSrectclip: (float)x : (float)y : (float)w : (float)h
{
 NSRect rect = [ctm rectInMatrixSpace: NSMakeRect(x, y, w, h)];
 NSBezierPath *oldPath = path;

 path = [NSBezierPath bezierPathWithRect: rect];
 [self DPSclip];
 path = oldPath;
}

Why would it keep old path there rather destroy it?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]