Getting the mouse location in a CAlayer's coordinates

2008-04-08 Thread douglas a. welton
Hi All, Would someone provide me a pointer for how to get the mouse location in the coordinate system of a transformed layer that is underneath the mouse. I thought I could do something like this: Mouse_Location = [Target_Layer convertPoint: NSPointToCGPoint( [NSEvent mouseLocation] )

Re: Getting the mouse location in a CAlayer's coordinates

2008-04-08 Thread Nathan Vander Wilt
On Apr 8, 2008, at 9:15 AM, douglas a. welton wrote: Hi All, Would someone provide me a pointer for how to get the mouse location in the coordinate system of a transformed layer that is underneath the mouse. I thought I could do something like this: Mouse_Location = [Target_Layer