• 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
Re: Core Animation geometry, layer hosting, and resolution independence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation geometry, layer hosting, and resolution independence


  • Subject: Re: Core Animation geometry, layer hosting, and resolution independence
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 12 Mar 2008 14:05:50 -0700


On Mar 12, 2008, at 13:13, Jens Alfke wrote:

On 12 Mar '08, at 12:13 PM, Nathan Vander Wilt wrote:

I want to be able to convert a mouse
coordinate into a point suitable for -hitTest:'ing on
my root layer. I can convert from the mouse
coordinates to the view's coordinates, but then I am
not sure how to proceed.

There doesn't seem to be any API for converting between the coordinates of a view and its root layer. You could probably do it by getting the root layer's transform property, and then running the point in view coordinates through that.

Is this what the new NSView convertPointTo/FromBase: are for? (Described in Leopard developer release notes.)
_______________________________________________


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: Core Animation geometry, layer hosting, and resolution independence
      • From: Nathan Vander Wilt <email@hidden>
References: 
 >Core Animation geometry, layer hosting, and resolution independence (From: Nathan Vander Wilt <email@hidden>)
 >Re: Core Animation geometry, layer hosting, and resolution independence (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSTimer and seg faults
  • Next by Date: Re: NSTimer and seg faults
  • Previous by thread: Re: Core Animation geometry, layer hosting, and resolution independence
  • Next by thread: Re: Core Animation geometry, layer hosting, and resolution independence
  • Index(es):
    • Date
    • Thread