UIView retain past drawing?
UIView retain past drawing?
- Subject: UIView retain past drawing?
- From: Brad Garton <email@hidden>
- Date: Sun, 30 May 2010 14:36:14 -0400
Hello cocoa-dev list:
My apologies if this is incorrect and/or totally misinformed for this list, but I seem to be missing something obvious. In my application I've subclassed UIView and use the -drawRect:/-setNeedsDisplay approach to draw lines into the view. Is there a way to set up the drawing such that it adds to the existing image instead of redrawing all of it? For example, if I generate a random line in each -setNeedsDisplay invocation of -drawRect, I'd like to retain in the resulting image the lines previously drawn.
thanks--
brad
http://music.columbia/edu/~brad
_______________________________________________
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