Re: From a view rect to a screen rect
Re: From a view rect to a screen rect
- Subject: Re: From a view rect to a screen rect
- From: Andy Lee <email@hidden>
- Date: Fri, 01 Jul 2011 22:45:38 -0400
On Jul 1, 2011, at 4:52 PM, Lee Ann Rucker wrote:
> http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/6b989dcbb79e9ba/029eeb633c5287cc
>
> Quote:
> If you want to convert to/from the window's base coordinate system, use the
> original -convert[xx]:[to|from]View: and pass in a nil view.
>
> What those "base" calls do is a conversion to the "base" coordinate system
> which isn't the "window base" coordinate system. This will not get you the
> coordinates you want. Don't use them. (The "base" coordinate system has to
> do with resolution independence; go look it up.)
>
Good to know, thanks!
--Andy
_______________________________________________
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