• 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: CALayer contentScale initialization, where to do it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer contentScale initialization, where to do it?


  • Subject: Re: CALayer contentScale initialization, where to do it?
  • From: Markus Spoettl <email@hidden>
  • Date: Sun, 17 Jun 2012 07:57:34 +0200

On 6/16/12 11:59 PM, Kyle Sluder wrote:
That's the same document I was referring to. But it also contains this very
useful section, titled "Manage Core Animation Layer Contents And Scale":
https://developer.apple.com/library/mac/#documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/CapturingScreenContents/CapturingScreenContents.html#//apple_ref/doc/uid/TP40012302-CH10-SW27

 Specifically, it looks like you want to implement
-layer:shouldInheritContentsScale:fromWindow: on your layer delegates.

I know, see my first message. It's the initialization I'm talking about, this delegate helps when contentsScale changes.

Regards
Markus
--
__________________________________________
Markus Spoettl


_______________________________________________

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

  • Follow-Ups:
    • Re: CALayer contentScale initialization, where to do it?
      • From: David Duncan <email@hidden>
References: 
 >CALayer contentScale initialization, where to do it? (From: Markus Spoettl <email@hidden>)
 >Re: CALayer contentScale initialization, where to do it? (From: Kyle Sluder <email@hidden>)
 >Re: CALayer contentScale initialization, where to do it? (From: Markus Spoettl <email@hidden>)
 >Re: CALayer contentScale initialization, where to do it? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: CALayer contentScale initialization, where to do it?
  • Next by Date: Re: CALayer contentScale initialization, where to do it?
  • Previous by thread: Re: CALayer contentScale initialization, where to do it?
  • Next by thread: Re: CALayer contentScale initialization, where to do it?
  • Index(es):
    • Date
    • Thread