Re: iOS: String Drawing
Re: iOS: String Drawing
- Subject: Re: iOS: String Drawing
- From: Kyle Sluder <email@hidden>
- Date: Tue, 12 Jul 2011 11:05:58 -0700
On Tue, Jul 12, 2011 at 9:26 AM, Development
<email@hidden> wrote:
> Well because the label can be rotated, I had to stick it inside of another view (Otherwise when I moved or scaled it, the whole thing went nuts). So in that view's code where the actual shadow was set it resizes it's rectangle as well as the label's.
> However, on the bright side using CALayer for the shadow fixes everything, and now the text, italic, bold, regular, shadowed or not looks great.
> Using the same technique I also fixed an issue I'd had in Image shadows so those look great too.
Do yourself a favor and watch the video of Session 121 - Understanding
UIKit Rendering, from WWDC2011. They talk about different ways to
apply shadows, and the implications for each.
--Kyle Sluder
_______________________________________________
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