Re: NSImage with alpha
Re: NSImage with alpha
- Subject: Re: NSImage with alpha
- From: Randall Meadows <email@hidden>
- Date: Mon, 22 Sep 2008 15:31:12 -0600
On Sep 22, 2008, at 3:20 PM, James Walker wrote:
Is there any easy way to make an NSImage that like another NSImage,
but with an overall translucency? It would be useful for drag images.
What about creating a new image of the appropriate size, locking focus
on that, and then use one of the -draw... functions that take a
"fraction" argument (for the resulting opacity)?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden