Re: UIImage and shadows, WAS: Re: Please if some one knows
Re: UIImage and shadows, WAS: Re: Please if some one knows
- Subject: Re: UIImage and shadows, WAS: Re: Please if some one knows
- From: Graham Cox <email@hidden>
- Date: Tue, 22 Dec 2009 14:45:38 +1100
On 22/12/2009, at 1:49 PM, Development wrote:
> however what I am getting now is a larger image, offset in the view and still cutting off the shadow. So I honestly do not know how I am suppose to draw this shadow. I would really be grateful for some additional direction.
Try thinking instead of flailing about throwing code at it.
You need a bigger image to accommodate the shadow. But the image you want to composite on top is the same size as it always was. So you need to keep its original size around so you can draw it at that size but into the larger image context. If you draw it at the new size you are back at square one, but larger.
--Graham
_______________________________________________
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