Open OleksandrKucherenko opened 6 years ago
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform
translate(x [y]) This transform definition specifies a translation by x and y. This is equivalent to matrix(1 0 0 1 x y). If y is not provided, it is assumed to be zero.
https://www.w3.org/TR/SVG/coords.html#__svg__SVGTransformList__consolidate
method that can convert all transformation into matrix
http://phrogz.net/SVG/transform_to_path.xhtml
looks like a solution: http://phrogz.net/SVG/transformations.js
Another solution: http://petercollingridge.appspot.com/svg-transforms
Produced:
Correct After:
what is wrong: