• 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
Rendering issues with Core Animation and setWantsLayer:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rendering issues with Core Animation and setWantsLayer:


  • Subject: Rendering issues with Core Animation and setWantsLayer:
  • From: Ben Einstein <email@hidden>
  • Date: Tue, 20 May 2008 13:07:44 -0400

Hi,

This is my first time taping into CA and I've been having some issues with rendering. There we're some minor issues with a few custom views and drawing, but I've figured out ways to get around them; things that are fine when setWantsLayer is NO but show up when YES. I've now caught the anti-aliasing bug that have been reported in a few posts. I guess I can't see how "it would be really hard to address" is an acceptable answer, although as a developer, I can fully understand it. All text in the view(s) go from being beautiful without CA backing to jagged and some letters appearing to be "bolded".

So, I thought of a conceptual work around for this: I'm doing some fairly simple transitions in the contentView of a window. Maybe I could get rid of the aliasing problem by turning on setWantsLayer only right before the transition and turn it off after it's done. After a few different tests, I can't get CA to work unless I call setWantsLayer in awakeFromNib or from IB. Is this a suitable workaround? Is there some method to flush the view and setup CA that I need to call?

I'm just surprised the anti-aliasing issue hasn't had more discussion. I've seen a few posts on forums and such but no real solutions or suggestions. Is there an answer I'm not finding?

Thanks,
Ben Einstein
_______________________________________________

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


  • Prev by Date: NSTableView and CoreAnimation
  • Next by Date: Re: Localization and plural rules revisited
  • Previous by thread: Re: NSTableView and CoreAnimation
  • Next by thread: [NSMutableParagraphStyle setTighteningFactorForTruncation:] clarification
  • Index(es):
    • Date
    • Thread