Re: Transformed Pointer Coordinates?

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:28:57 UTC