ISSUE-2182: Consider adding new interface for easier use of positional properties

new evt x/y

Consider adding new interface for easier use of positional properties

State:
RAISED
Product:
SVG 2
Raised by:
Doug Schepers
Opened on:
2008-11-17
Description:
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.).
Related Actions Items:
Related emails:
  1. Re: Making mouse events less painful to deal with in SVG (ISSUE-2182) (from schepers@w3.org on 2009-04-30)
  2. Re: Making mouse events less painful to deal with in SVG (from jwatt@jwatt.org on 2009-04-30)
  3. Re: Making mouse events less painful to deal with in SVG (from schepers@w3.org on 2009-04-29)
  4. Minutes Feb 12, 2009, telcon (from anthony.grasso@cisra.canon.com.au on 2009-02-13)
  5. Agenda Feb 12, 2009, telcon (from ed@opera.com on 2009-02-12)
  6. ISSUE-2182 (new evt x/y): Consider adding new interface for easier use of positional properties [SVG Core 2.0] (from sysbot+tracker@w3.org on 2008-11-17)

Related notes:

No additional notes.

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2182.html,v 1.1 2020/01/17 13:20:09 carcone Exp $