[Webkit-unassigned] [Bug 16062] SVGMatrix multiply method is wrong way round.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 20 04:51:11 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16062





------- Comment #5 from drj at pobox.com  2007-11-20 04:51 PDT -------
(In reply to comment #3)
> 
> Interesting to note, the matrix layout shown:
> http://www.w3.org/TR/SVG/coords.html#TransformMatrixDefined
> is different from the one used by CG:
> http://developer.apple.com/documentation/GraphicsImaging/Reference/CGAffineTransform/Reference/reference.html#//apple_ref/c/func/CGAffineTransformMake
> 

Oh-oh.  SVG is using the column vector convention where a matrix M operates on
a column vector V by the multiplication MV.  Note V is a 3 row by 1 column
vector so MV is too.  Looks like CG is using the row-vector convention so a
matrix M operates on a vector V by VM; this time V is a 1 row by 3 column
vector so VM is too.  Oh, that couldn't possibly be confusing could it?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list