• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UIView retain past drawing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Fwd: UIView retain past drawing? (From: Brad Garton <email@hidden>)
 >Re: UIView retain past drawing? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Off Screen bitmap drawing
  • Next by Date: Re: Off Screen bitmap drawing [iPhone]
  • Previous by thread: Re: UIView retain past drawing?
  • Next by thread: NSFormatter: get default values
  • Index(es):
    • Date
    • Thread