• 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: Erasing drawn content
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Erasing drawn content


  • Subject: Re: Erasing drawn content
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 8 Jun 2010 10:03:40 -0700

On Jun 8, 2010, at 8:41 AM, Matej Bukovinski <email@hidden> wrote:

Thanks for the suggestion Steve.

Unfortunately this causes the background to turn black and not transparent. I would need the view to become transparent (so the WebView underneath is visible).

You can't do this. All your bees are composited back-to-front into the window's backing store, so filling with anything will obliterate your web view's drawing.


What you need to do is draw the correct stuff in -drawRect:, and invalidate the proper regions using -setNeedsDisplayInRect: in response to changes in your web view.

--Kyle Sluder
(Sent from the line for Pacific Heights at WWDC)
_______________________________________________

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


  • Follow-Ups:
    • Re: Erasing drawn content
      • From: Matej Bukovinski <email@hidden>
    • Re: Erasing drawn content
      • From: Kyle Sluder <email@hidden>
References: 
 >Erasing drawn content (From: Matej Bukovinski <email@hidden>)
 >Re: Erasing drawn content (From: Steve Christensen <email@hidden>)
 >Re: Erasing drawn content (From: Matej Bukovinski <email@hidden>)

  • Prev by Date: Re: [iPhone] Preprocessing events sent to UITableView
  • Next by Date: Re: Erasing drawn content
  • Previous by thread: Re: Erasing drawn content
  • Next by thread: Re: Erasing drawn content
  • Index(es):
    • Date
    • Thread