Re: CALayer scale transform
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