W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2013

Re: Transformed Pointer Coordinates?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 13 Feb 2013 20:28:09 -0800
Message-ID: <CAAWBYDD1TC0iPiRjR_w6YSCA-nAm1YnjLN2LRnMQnu9BvFpqMQ@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: Hans Muller <hmuller@adobe.com>, Jacob Rossi <Jacob.Rossi@microsoft.com>, Simon Fraser <smfr@me.com>, Doug Schepers <schepers@w3.org>, "public-pointer-events@w3.org" <public-pointer-events@w3.org>, "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>
On Wed, Feb 13, 2013 at 7:40 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> We could add an optional enum parameter to specify which CSS box(es) to use
> --- e.g. "border", "padding", "content", defaulting to "border". This would
> be ignored on non-element sources and destinations. Converting event
> coordinates to canvas coordinates would then be as simple as
>   var pt = convertPointFromNode(document, {x:event.clientX,
> y:event.clientY}, "content");

+1

~TJ
Received on Thursday, 14 February 2013 04:29:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:17:04 GMT