[Webkit-unassigned] [Bug 10599] JSMouseEvent needs to expose floating-point-precise mouse coordinates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 29 20:01:37 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=10599


oliver at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver at apple.com




------- Comment #1 from oliver at apple.com  2007-12-29 20:01 PDT -------
How would that work?  the MouseEvent merely provides the cursor position, If
the OS does not provide floating point positions for a mouse -- if the
coordinates were fractional that would imply that the cursor could have a
position between pixels, which would be useless as (by definition) the user
would not be able to distinguish the actual position.

Drawing programs should be maintaining a current view scale, and the inverse
should be applied to any mouse actions performed on the current drawing surface
(eg. <canvas>) to find the position of a mouse event in the scaled surface.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list