• 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 scale transform
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer scale transform


  • Subject: Re: CALayer scale transform
  • From: Brian Christensen <email@hidden>
  • Date: Wed, 11 Jun 2008 12:47:11 -0400

On Jun 11, 2008, at 12:37 , David Duncan wrote:

Effectively a CALayer represents a texture with the layer's contents on the video card. As the docs say, transforms only affect geometry. The texture does not include geometry, thus the current content is scaled rather than being re-rendered. At even moderate zoom factors scaling the content could cause issues with maximum texture sizes on the video card your running on.

I see. Thanks for the explanation. My solution will then be to simply maintain my own scaleFactor and apply that to my drawing calculations in place of a transformation (or in the case of a text layer, simply fontSize * scaleFactor).


/brian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >CALayer scale transform (From: Brian Christensen <email@hidden>)
 >Re: CALayer scale transform (From: David Duncan <email@hidden>)

  • Prev by Date: Interface Builder crashing
  • Next by Date: Re: NSData from NSArchiver and plist Utility
  • Previous by thread: Re: CALayer scale transform
  • Next by thread: Re: CALayer scale transform
  • Index(es):
    • Date
    • Thread