Getting a CoreAnimation layer frame, accounting for zPosition?
Getting a CoreAnimation layer frame, accounting for zPosition?
- Subject: Getting a CoreAnimation layer frame, accounting for zPosition?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 20 Jul 2009 12:30:17 -0600
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?
I already tried -bounds, and -visibleRect, and -convertRect:toLayer:
with the toLayer being the view's body layer, and they all ignored the
zPosition and returned the frames they would use if their zPosition
was 0.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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