FROM : Lorenzo
DATE : Sat Apr 05 19:38:19 2008
You are right, it worked even with images.
Best Regards
--
Lorenzo
email: <email_removed>
> From: Jean-Daniel Dupas <<email_removed>>
> Date: Sat, 05 Apr 2008 15:06:22 +0200
> To: Lorenzo <<email_removed>>
> Cc: <email_removed>
> 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:...];
>
>
>
DATE : Sat Apr 05 19:38:19 2008
You are right, it worked even with images.
Best Regards
--
Lorenzo
email: <email_removed>
> From: Jean-Daniel Dupas <<email_removed>>
> Date: Sat, 05 Apr 2008 15:06:22 +0200
> To: Lorenzo <<email_removed>>
> Cc: <email_removed>
> 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:...];
>
>
>
| Related mails | Author | Date |
|---|---|---|
| Lorenzo | Apr 5, 13:42 | |
| Jean-Daniel Dupas | Apr 5, 15:06 | |
| Lorenzo | Apr 5, 19:38 |






Cocoa mail archive

