Re: Transformed Pointer Coordinates?

On 2/11/13 8:54 PM, Dirk Schulze wrote:
> The point in the case of the SVG WG is a dictionary:

Is there any explanation for why a dictionary was chosen?

One benefit of using an interface over a dictionary is that you can pass 
points by reference if desired, not just by value.  Another is that 
passing them to WebIDL methods is likely faster (though on the flip side 
working with them from JS might be slower, so the performance angle 
really depends on how these objects will be used.

-Boris

Received on Tuesday, 12 February 2013 02:12:50 UTC