• 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 16:12:50 -0700

On Tue, Jun 8, 2010 at 4:05 PM, Quincey Morris
<email@hidden> wrote:
> On Jun 8, 2010, at 14:10, Kyle Sluder wrote:
> Surely it's easier to do what the OP wanted with a clipping path?
>
> In drawRect: just draw the tint rectangles front-to-back instead of back-to-front, and after drawing each one remove the rect's interior from the clipping path. No "off-screen" drawing is needed, nor any complex logic to draw all the non-overlapping rectangle pieces separately.

Except that would still rely on inserting a custom view in the
WebView's private scrollview hierarchy.

--Kyle Sluder
(Waiting for an Apple Engineer in the Cocoa Lab 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>
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>)
 >Re: Erasing drawn content (From: Kyle Sluder <email@hidden>)
 >Re: Erasing drawn content (From: "Paul Sanders" <email@hidden>)
 >Re: Erasing drawn content (From: Matej Bukovinski <email@hidden>)
 >Re: Erasing drawn content (From: Kyle Sluder <email@hidden>)
 >Re: Erasing drawn content (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Erasing drawn content
  • Next by Date: Re: SQLite Database 2 distinct database iphone.
  • Previous by thread: Re: Erasing drawn content
  • Next by thread: Re: Erasing drawn content
  • Index(es):
    • Date
    • Thread