W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2008

ISSUE-2182 (new evt x/y): Consider adding new interface for easier use of positional properties [SVG Core 2.0]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 17 Nov 2008 09:27:27 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20081117092727.A5A6EC6DB5@barney.w3.org>


ISSUE-2182 (new evt x/y): Consider adding new interface for easier use of positional properties [SVG Core 2.0]

http://www.w3.org/Graphics/SVG/WG/track/issues/2182

Raised by: Doug Schepers
On product: SVG Core 2.0

One of the most common hard problems that SVG authors face is getting the absolute coordinate position of an event, adjusting for transformations, nested SVGs, and viewBox factors.

I suggest a new interface on 'event', getPosition(), which would have as properties the adjusted x and y, the CTM, and the other factors that went into the calculation. 

This would make creating related content much easier (things like drag&drop code, map coords, etc.).
Received on Monday, 17 November 2008 09:27:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 November 2008 09:27:39 GMT