Re: Drawing in a window with rounded corners

2008-09-30 Thread Michael Ash
On Mon, Sep 29, 2008 at 7:21 PM, Daniel Weber <[EMAIL PROTECTED]> wrote: > 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

Re: Drawing in a window with rounded corners

2008-09-30 Thread Greg Best
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 yo

Drawing in a window with rounded corners

2008-09-29 Thread Daniel Weber
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