--- 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 w
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 g
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 Drawi
On 12 Mar '08, at 3:06 PM, Nathan Vander Wilt wrote:
When one draws a rectangle in a CALayer delegate, and
the -drawLayer:: concatenates (and/or sets?) its own
transform before drawing, when the layer has a
transform, and the root parent layer has both a
transform and a sublayer transform, and
> > CALayers don't have this bounds/frame distinction
>
> They do, actually. The bounds is the internal view
> of the coordinate
> system, and the frame is the external view.
At first this sounded incorrect, because it's
emphasized that frame is just a function of other
propertiesbut I was
--- Quincey Morris <[EMAIL PROTECTED]>
escribió:
> 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
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 su
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 a
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