Transparent NSRectFill?
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