Re: NSShadow on a raster image
Re: NSShadow on a raster image
- Subject: Re: NSShadow on a raster image
- From: Lorenzo <email@hidden>
- Date: Sat, 05 Apr 2008 19:38:19 +0200
You are right, it worked even with images.
Best Regards
--
Lorenzo
email: email@hidden
> From: Jean-Daniel Dupas <email@hidden>
> Date: Sat, 05 Apr 2008 15:06:22 +0200
> To: Lorenzo <email@hidden>
> Cc: email@hidden
> Subject: Re: NSShadow on a raster image
>
>
> 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