Re: convertPoint mouseLocationOutsideOfEventStream
Re: convertPoint mouseLocationOutsideOfEventStream
- Subject: Re: convertPoint mouseLocationOutsideOfEventStream
- From: Claus Atzenbeck <email@hidden>
- Date: Thu, 2 Aug 2007 10:15:23 +0200 (CEST)
On Mon, 30 Jul 2007, Claus Atzenbeck wrote:
> However, how can I convert it into my custom view's coordinate system?
> I thought it would be something like that (called from within my custom
> view):
>
> [self convertPoint:[[self window] mouseLocationOutsideOfEventStream]
> fromView:nil];
FYI: This has been solved in the meanwhile. The problem was not the
point conversion but that I changed the view's scale before checking the
cursor coordinates. Doing it the other way delivers the expected result.
Cheers,
Claus
_______________________________________________
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