Re: Getting a CoreAnimation layer frame, accounting for zPosition?
Re: Getting a CoreAnimation layer frame, accounting for zPosition?
- Subject: Re: Getting a CoreAnimation layer frame, accounting for zPosition?
- From: David Duncan <email@hidden>
- Date: Mon, 20 Jul 2009 13:25:14 -0700
On Jul 20, 2009, at 11:30 AM, Nick Zitzmann wrote:
This might be a stupid question, but I've searched around and found
no answers. I have a CoreAnimation layer with a zPosition > 0. If
its 3D transform is CATransform3DIdentity, how do I get its exact
frame as it appears on the screen?
zPosition != 0 does not necessarily mean that there is any difference
in the layer's frame. Unless there is a transform somewhere that
creates perspective, the zPosition has no effect on the layer's frame
(because the z component falls out of all the applicable equations).
What are you trying to implement?
--
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