Text will scale just fine by changing the view's bounds (or the transform)
if you are NOT using a layer-backed view.  I had to abandon this approach on
the iPad because everything is layer-backed and it just scales pixels.


On 6/10/10 4:04 AM, "cocoa-dev-requ...@lists.apple.com"
<cocoa-dev-requ...@lists.apple.com> wrote:

> On 9 Jun 2010, at 21:11, Eric E. Dolecki wrote:
> 
>> I have a view that contains text in it. I am scaling it up and down... When
>> at 100% the text is nice and crisp. When scaled, it's blurry (the default
>> state for the view).
>> 
>> How can I fix that? Would I need to set the text again at a specific size
>> each time the animation is complete?
>> 
>> CGAffineTransform transformBig = CGAffineTransformMakeScale(1.8f, 1.8f);
> 
> Can I just clarify---this question is about Core Animation, right?  Or, put
> another way, what are you doing with your affine transform?
> 
> There's no reason that merely using an affine transform should result in
> pixel-based scaling.
> 
> Kind regards,
> 
> Alastair.



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to