I am having trouble understanding how Core Animation
geometry interacts with NSView geometry in a
layer-hosting situation.
I have an NSView that hosts a root layer, and it has
two sublayers that I need the user to be able to drag
each around. I want to be able to convert a mouse
coordinate into a
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
On 12 Mar '08, at 2:49 PM, Nathan Vander Wilt wrote:
I don't understand what this base coordinate system
is (not the window's, otherwise the conversions would
likely be offset by the view's position therein,
right?). But whatever it is, it seems to be shared by
the CALayer.
The Cocoa
On Mar 12, 2008, at 14:49, Nathan Vander Wilt wrote:
I don't understand what this base coordinate system
is (not the window's, otherwise the conversions would
likely be offset by the view's position therein,
right?). But whatever it is, it seems to be shared by
the CALayer. I'd appreciate a
--- Jens Alfke [EMAIL PROTECTED] escribió:
On 12 Mar '08, at 2:49 PM, Nathan Vander Wilt wrote:
I don't understand what this base coordinate
system
is (not the window's, otherwise the conversions
would
likely be offset by the view's position therein,
right?). But whatever it is,