• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: View swap using "push" animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View swap using "push" animation


  • Subject: Re: View swap using "push" animation
  • From: David Duncan <email@hidden>
  • Date: Wed, 11 Nov 2009 10:31:16 -0800

On Nov 11, 2009, at 10:14 AM, PCWiz wrote:

> Thanks for your replies :-) Here you can see the distortion.
>
> Before setWantsLayer - http://img21.imageshack.us/img21/43/screenshot20091110at412.png
>
> After - http://img682.imageshack.us/img682/2558/screenshot20091110at424.png


Your text doesn't render a background color, which means that it has to draw over transparency. When this occurs, font smoothing (subpixel antialiasing) is turned off, because it requires knowledge of the background color to do properly.

You can resolve this by having your text view draw a background for the text to render over. Exactly how you do it would depend on how your test is rendering.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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

References: 
 >Re: View swap using "push" animation (From: Matt Neuburg <email@hidden>)
 >Re: View swap using "push" animation (From: Martin Hewitson <email@hidden>)
 >Re: View swap using "push" animation (From: PCWiz <email@hidden>)

  • Prev by Date: Re: Unit test crash inside NSTableView
  • Next by Date: Re: boundingRectWithSize:Option: and height constraint
  • Previous by thread: Re: View swap using "push" animation
  • Next by thread: How can a plug-in bundle get access to its own resources?
  • Index(es):
    • Date
    • Thread