- From: Ted Dinklocker via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Jul 2016 22:32:49 +0000
- To: public-pointer-events@w3.org
I agree with changing them to float for consistency reasons. On the other hand, we are fairly sure that the underlying system does not provide fractional values for `screenX/Y`. What's happening is that `screenX` directly takes the value passed to us from the system, specifically the `ptPixelLocation` in the [POINTER_INFO](https://msdn.microsoft.com/en-us/library/windows/desktop/hh454907(v=vs.85).aspx). For `clientX/Y` we do `ScreenToClient()` conversion of the `screen`, then convert to layout coordinates, then convert back to document coordinates. It seems like this process allows subpixel transforms. -- GitHub Notification of comment by teddink Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/107#issuecomment-232811900 using your GitHub account
Received on Thursday, 14 July 2016 22:32:56 UTC