W3C home > Mailing lists > Public > www-svg@w3.org > July 2003

clientX/clientY

From: Sigurd Lerstad <sigler@bredband.no>
Date: Tue, 8 Jul 2003 09:50:04 +0200
Message-ID: <000501c34525$8b0ac070$6f1273d5@mmstudio>
To: <www-svg@w3.org>

Hello,

I'm wondering about the mouseevent.clientX/clientY

The description from the events spec

**********************
clientX of type long, readonly
The horizontal coordinate at which the event occurred relative to the DOM
implementation's client area.

clientY of type long, readonly
The vertical coordinate at which the event occurred relative to the DOM
implementation's client area.
**********************

Is this the same as screenX/screenY with just currentTranslate taken into
account? Is currentScale also taken into account?

If yes to any of the above, shouldn't those be double/float instead of long?

thanks,

--
Sigurd Lerstad
Received on Tuesday, 8 July 2003 03:49:49 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:25 GMT