|Feb 28, 2007, 03:00 AM||#1|
There is not much info that I can find about NSRectClip.
I have a NSRect given to me by
Is this possible?
Last edited by MrFusion; Feb 28, 2007 at 03:06 AM. Reason: Accidently hit post
|Feb 28, 2007, 04:01 AM||#2|
The documentation does appear to be sparse. Have you tried saving the Graphics Context state and restoring it.
So something like:
NSGraphicsContext *context = [NSGraphicsContext currentContext]; [context saveGraphicsState]; // Do your NSRectClip and drawing.... [context restoreGraphicsState]; // Do more drawing
Edit to add: that should work. It is actually in the conceptual documentation!
Sponsor me to cycle 100Km round London in the dark
|Feb 28, 2007, 05:32 AM||#3|