Re: NSShadow on a raster image
Re: NSShadow on a raster image
- Subject: Re: NSShadow on a raster image
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 5 Apr 2008 15:06:22 +0200
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 (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