On Tue, Nov 25, 2008 at 10:32 AM, Jean-Nicolas Jolivet
<[EMAIL PROTECTED]> wrote:
> I was actually reading the View Programming Guide... guess I was looking at
> the wrong place.
My mistake - that's probably the correct guide for the information I
mentioned. There's a little information in the d
I was actually reading the View Programming Guide... guess I was
looking at the wrong place.
Thanks...
On 25-Nov-08, at 10:29 AM, I. Savant wrote:
Obviously my technique isn't working because when this happens, the
area
around the control is getting filled with the gradient and the
resul
> Obviously my technique isn't working because when this happens, the area
> around the control is getting filled with the gradient and the result is
> definitely weird...
Have you read the Cocoa drawing guide? It goes into great detail
about this very thing. The rect passed in via -drawRect: is
I'm using a custom view that i simply fill with a gradient in the
drawRect methodI love the result however, I realized after adding
some controls to my custom view that the "rect" being drawn in
drawRect is not always the view's frame, but it's often just a small
part of the view gettin