• 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: Matej Bukovinski <email@hidden>
  • Date: Tue, 8 Jun 2010 19:48:25 +0200

Thanks Kyle.

Drawing only the portions that won't be covered by a smaller rectangle is the obvious solution to this problem but unfortunately one that requires a lot of drawing logic (especially when you can have several "nested" rectangles). I was hoping there exists a more elegant way of achieving this. It would have saved me a lot of math.

Have a great time at the WWDC.

> 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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >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>)
 >Re: Erasing drawn content (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: [iPhone] NSManagedObjectContext save doesn't crash but breaks on objc_exception_throw
  • Next by Date: Re: BOOL returned via -performSelctor: not BOOL on 64-bit system
  • Previous by thread: Re: Erasing drawn content
  • Next by thread: Re: Erasing drawn content
  • Index(es):
    • Date
    • Thread