site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com On Sep 29, 2008, at 4:21 PM, Daniel Weber wrote: Thanks, Dan _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/greglists%40me.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/site_archiver%40lists.apple... Without knowing much about what you're trying to do, two thoughts come to mind: make your view rectangle smaller than the window frame, or make the background of your content transparent. I don't know much of Core Animation, so to the extent that CA is causing your problem I'm useless to you. Hi, I have a custom view that takes up the whole frame of my textured window. Normally, the corners of a textured window are rounded. However, since my custom view is rectangular, it draws over the rounded corners. I am using Core Animation to draw in the view. I think what I need to do is clip my drawing so the corners are transparent, but I haven't been successful. What I've tried so far is drawing a rectangle with rounded corners that approximates the window's rounded corners using CGContextAddArcToPoint. Then I call CGContextClip. But it's not working, all I'm seeing is garbage at the window corners, not transparency. Any suggestions? This email sent to greglists@me.com This email sent to site_archiver@lists.apple.com