Le 5 avr. 08 à 13:42, Lorenzo a écrit :

As I understand, NSShadow works on vectorial paths only.
If so, how can I apply a shadow to a raster image with alpha? The image has an irregular border with a half-a-transparence. On Photoshop of course this
can be done.



Best Regards
--
Lorenzo

What make you think that shadows apply only to path ? I'm often using shadow with image.

[myShadow set];
[myImage drawAtPoint:...];



_______________________________________________

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