通过Aspose.CAD .NET SDK转换的svg中含有transform=“matrix(10, 0, 0, -10, 0, 0)”,我目前用的前端pixi.js框架,无法渲染此svg,转换时如何设置可以去掉这个
现有的svg
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xml="http://www.w3.org/XML/1998/namespace" width="5900" height="2440" id="body_-234272066_18588">
<path d="M0 0 L0 2440 L5900 2440 L5900 0 z" fill-rule="evenodd" stroke-width="0" fill-opacity="1" stroke-opacity="1" style="fill:black;stroke:white;" />
<g transform="matrix(10, 0, 0, -10, 0, 0)" style="stroke:white;">
<g stroke-width="100">
<path d="M0 -244 L0 -0" stroke-width="0.78" stroke-linecap="round" stroke-linejoin="round" style="fill:none;" />
</g>
</g>
</svg>
我想要的结果svg
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xml="http://www.w3.org/XML/1998/namespace" width="5900" height="2440" id="body_-234272066_18588">
<path d="M0 0 L0 2440 L5900 2440 L5900 0 z" fill-rule="evenodd" stroke-width="0" fill-opacity="1" stroke-opacity="1" style="fill:black;stroke:white;" />
<g stroke-width="100">
<path d="M0 -244 L0 -0" stroke-width="0.78" stroke-linecap="round" stroke-linejoin="round" style="fill:none;" />
</g>
</svg>