Re: UIView retain past drawing?
Re: UIView retain past drawing?
- Subject: Re: UIView retain past drawing?
- From: Brad Garton <email@hidden>
- Date: Mon, 31 May 2010 14:16:44 -0400
Thanks --
Tried that, but I was still getting the image cleared in the CGLayer. Perhaps I hadn't set it up properly.
brad
http://music.columbia.edu/~brad
On May 31, 2010, at 2:11 PM, Alastair Houghton wrote:
> On 30 May 2010, at 22:30, Brad Garton wrote:
>
>> To answer my own question: draw to a bitmap offscreen, and then draw that into the UIView rect. The bitmap isn't cleared (unless done explicitly).
>
> Hi Brad,
>
> Depending on the application, it may be better to use a CGLayer rather than a CGBitmapContext.
>
> Kind regards,
>
> Alastair.
>
> --
> http://alastairs-place.net
>
>
>
>
_______________________________________________
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