• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
drawing with clearColor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: drawing with clearColor
      • From: Tom Waters <email@hidden>
  • Prev by Date: Re: ObjC Method naming
  • Next by Date: Re: ObjC Method naming
  • Previous by thread: Re: filesystem notifications
  • Next by thread: Re: drawing with clearColor
  • Index(es):
    • Date
    • Thread