• 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
Getting a CoreAnimation layer frame, accounting for zPosition?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Getting a CoreAnimation layer frame, accounting for zPosition?
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Open Recent menu - how to populate it?
  • Next by Date: Re: NSDateFormatter issue (bug maybe)?
  • Previous by thread: Re: Open Recent menu - how to populate it?
  • Next by thread: Re: Getting a CoreAnimation layer frame, accounting for zPosition?
  • Index(es):
    • Date
    • Thread