Re: Transformed Pointer Coordinates?

Why not returning null instead of the point object? I don't think that an exception would be to disruptive.

Dirk

On Feb 12, 2013, at 9:47 PM, "Rik Cabanier" <cabanier@gmail.com<mailto:cabanier@gmail.com>> wrote:

definitely non '0' since that signals that you're hitting the (0,0) coordinate.
NaN seems ugly but I can't think of a better way unless DomPoint is extended to signal this edge case.

Rik

On Wed, Feb 13, 2013 at 3:55 PM, Robert O'Callahan <robert@ocallahan.org<mailto:robert@ocallahan.org>> wrote:
That's my edge case #6. We could return either 0 or NaN.


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 Wednesday, 13 February 2013 14:21:44 UTC