W3C home > Mailing lists > Public > www-svg@w3.org > April 2009

Re: Making mouse events less painful to deal with in SVG (ISSUE-2182)

From: Doug Schepers <schepers@w3.org>
Date: Thu, 30 Apr 2009 04:25:12 -0400
Message-ID: <49F96068.3050407@w3.org>
To: Jonathan Watt <jwatt@jwatt.org>
CC: www-svg <www-svg@w3.org>
Hi, Jonathan-

Jonathan Watt wrote (on 4/30/09 2:39 AM):
> Besides that, I think transform
> information is better obtained from elements, not the event. From the event you
> know the event target, and from that you can get the transform to the coordinate
> system of interest to you using getTransformToElement, all the way up to the
> coordinate system established by the document element. That's not quite up to
> the client area, but I think that last missing piece could be added in by
> defining that to be what getTransformToElement returns to if you pass in null.
> Thoughts?

I think you've convinced me.  A simpler interface is more pragmatic 
here, and if needed, there are other ways of getting that information.

-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Thursday, 30 April 2009 08:25:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:17 UTC