W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: Transformed Pointer Coordinates?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Feb 2013 21:12:17 -0500
Message-ID: <5119A501.6070404@mit.edu>
To: www-style@w3.org
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:26 UTC