Re: Transformed Pointer Coordinates?

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");

Rob
-- 
Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]

Received on Thursday, 14 February 2013 03:41:04 UTC