W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2010

[whatwg] Canvas transform() method and matrix multiplication order

From: David Flanagan <david@davidflanagan.com>
Date: Mon, 19 Jul 2010 13:25:03 -0700
Message-ID: <4C44B49F.5060804@davidflanagan.com>
While I'm harping on the transform() method, I'd like to point out that 
the current spec text "must multiply the current transformation matrix 
with the matrix described by..." is ambiguous because matrix 
multiplication is not commutative.  Perhaps an explicit formula that 
showed the order would be clearer.

Furthermore, if the descriptions for translate(), scale() and rotate() 
were to altered to describe them in terms of transform() that would 
tighten things up.
	
	David
Received on Monday, 19 July 2010 13:25:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:25 UTC