clear a CGContextRef in an iPhone app
clear a CGContextRef in an iPhone app
- Subject: clear a CGContextRef in an iPhone app
- From: Rainer Standke <email@hidden>
- Date: Mon, 4 Oct 2010 11:04:53 -0700
Hello,
wondering how to clear a context. I'm using this:
CGContextClearRect(context, drawingRect);
But yet, afetr I do that, and then start to draw something new, I get remnants of the previous content of the context.
My workaround is to create brand new context for the second drawing, but shouldn't there be a way to clear an existing context?
Thanks for any help,
Rainer
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden