• 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
Transparent NSRectFill?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transparent NSRectFill?


  • Subject: Transparent NSRectFill?
  • From: Matt Reagan <email@hidden>
  • Date: Fri, 23 Dec 2005 09:47:05 -0800

I'm having trouble figuring out a simple way to draw a series of
transparent rectangles into an NSView. I thought maybe the alpha value
of NSColor would allow me to do that, but it doesn't work, it simply
fades the NSColor towards black (blue with a .5 alpha is simply dark
blue). NSImage allows an alpha setting with its drawAtPoint fraction:
method but I can't seem to find a quick way to do such a thing with
NSRectFill or NSBezierPath. Maybe I'm overlooking the obvious? Can
someone point me in the right direction?

Thank you everyone~
Happy Holidays to you all~
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Transparent NSRectFill?
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: Re: Splash Screen Creation
  • Next by Date: Re: How Does NSTableView/NSOutlineView reload automatically when they become visible on Screen
  • Previous by thread: Re: Splash Screen Creation
  • Next by thread: Re: Transparent NSRectFill?
  • Index(es):
    • Date
    • Thread