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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 20 03:54:50 PST 2007


------- Comment #3 from eric at webkit.org  2007-11-20 03:54 PDT -------
Ok, trying this code with AffineTransform:

        AffineTransform L(0,1,1,0,0,0);
        AffineTransform R(0,0,0,0,1,0);
        AffineTransform LR = L*R;
        AffineTransform RL = R*L;
        printf("LR: %f,%f,%f,%f,%f,%f\n", LR.a(), LR.b(), LR.c(), LR.d(),
LR.e(), LR.f());
        printf("RL: %f,%f,%f,%f,%f,%f\n", RL.a(), RL.b(), RL.c(), RL.d(),
RL.e(), RL.f());


LR: 0.000000,0.000000,0.000000,0.000000,1.000000,0.000000
RL: 0.000000,0.000000,0.000000,0.000000,0.000000,1.000000

Which is reversed from what is expected, according to 

Interesting to note, the matrix layout shown:
is different from the one used by CG:

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