drawing with clearColor
drawing with clearColor
- Subject: drawing with clearColor
- From: Ben Chess <email@hidden>
- Date: Mon, 28 May 2001 16:20:31 -0400
Hi,
I've been playing around with the RoundTransparentWindow sample from
Apple's sample code site. Instead of using NSRectFill() to "paint" in
the clear background I tried leaving the background solid and making a
transparent hole in the middle of it. Curiously, when I try
[[NSBezierPath bezierPathWithOvalInRect:theRect] fill]
with clearColor, nothing really happens. Why is this?
Thanks,
Ben