On Tue, Jun 8, 2010 at 4:05 PM, Quincey Morris
<[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to