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:
- ACTION-2456 on Doug Schepers to Write a proposal for inuitive x/y method - due 2009-02-19, open
- Related emails:
- Re: Making mouse events less painful to deal with in SVG (ISSUE-2182) (from schepers@w3.org on 2009-04-30)
- Re: Making mouse events less painful to deal with in SVG (from jwatt@jwatt.org on 2009-04-30)
- Re: Making mouse events less painful to deal with in SVG (from schepers@w3.org on 2009-04-29)
- Minutes Feb 12, 2009, telcon (from anthony.grasso@cisra.canon.com.au on 2009-02-13)
- Agenda Feb 12, 2009, telcon (from ed@opera.com on 2009-02-12)
- 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