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

Re: clientX/clientY

From: Antoine Quint <ml@graougraou.com>
Date: Tue, 8 Jul 2003 09:08:10 -0700
Message-Id: <5E75151E-B15E-11D7-864F-000393D124C4@graougraou.com>
Cc: <www-svg@w3.org>
To: "Sigurd Lerstad" <sigler@bredband.no>

On Tuesday, July 8, 2003, at 12:50 AM, Sigurd Lerstad wrote:

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

Nope, as I understand from the DOM Events spec [1]

screenX/screenY - mouse coordinates on the screen space: (0,0) is 
located at the top-left of your screen
clientX/clientY - mouse coordinates on the client space: (0,0) is 
located at the top-left of your client (viewer) window.

Antoine Quint <antoine.quint@fuchsia-design.com>
SVG Consultant & Research Scientist, Fuchsia Design
W3C SVG Working Group Invited Expert
Received on Tuesday, 8 July 2003 12:08:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:56 UTC