Comment 0 for bug 241565

Kjell Magne Fauske (kjellmf) wrote :

The parseTransform(transf,mat) function in in the extension directory, contains several bugs. It should be able to parse all valid SVG transforms, but fails parsing basic expressions like:

matrix = parseTransform('rotate(10)')
matrix = parseTransform('skewY(10)')
matrix = parseTransform('translate(10 10)')
matrix = parseTransform(' rotate(10)')
matrix = parseTransform('translate(700,210) rotate(-30)')

I have attached a bug that addresses all the above issues.