Re: Transparent NSRectFill?
Re: Transparent NSRectFill?
- Subject: Re: Transparent NSRectFill?
- From: Ricky Sharp <email@hidden>
- Date: Fri, 23 Dec 2005 15:06:04 -0600
On Dec 23, 2005, at 2:13 PM, Matt Reagan wrote:
I'm actually just making successive drawing calls (in this case, a
series of simple colored rectangles) to an opaque NSView in a
standard, opaque window. But I need these rectangles, as they're drawn
one by one, to be semi-transparent and overlap one another. This is
easy with NSImage's drawAtPoint method because you can set the
fraction to less than 1 (and use the sourceOver mode), but I'm having
trouble finding a simple way to do this with a NSBezierPath or
RectFill.
NSRectFillUsingOperation
___________________________________________________________
Ricky A. Sharp
mailto:email@hidden
Instant Interactive(tm)
http://www.instantinteractive.com
_______________________________________________
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