RE: Strange NSView redraw problem
RE: Strange NSView redraw problem
- Subject: RE: Strange NSView redraw problem
- From: "Jordan Evans" <email@hidden>
- Date: Sat, 30 Sep 2006 12:53:46 -0700
-clearColor hasn't been so clear for me in Cocoa. I have had to use Quartz:
NSGraphicsContext *nsctx = [NSGraphicsContext currentContext];
CGContextRef context = (CGContextRef)[nsctx graphicsPort];
CGRect rect = CGRectMake(x, y, width, height);
CGContextClearRect(context, rect);
CGContextFlush(context);
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden