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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to