On Jun 8, 2010, at 14:10, Kyle Sluder wrote:

> It sounds like the overlay window is the best bet.

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.


_______________________________________________

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