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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to