Re: Transparent NSRectFill?
Re: Transparent NSRectFill?
- Subject: Re: Transparent NSRectFill?
- From: Matt Reagan <email@hidden>
- Date: Fri, 23 Dec 2005 13:37:43 -0800
*slaps forehead*
Thank you!
On 12/23/05, Ricky Sharp <email@hidden> wrote:
>
>
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