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