inkscape-applytransforms
inkscape-applytransforms copied to clipboard
`circle` elements don't get transformed
Here's the original SVG (with .txt
extension added so github accepts it...):
plate.svg.txt
The original SVG rendered as PNG:
SVG with "Apply Transform" run, rendered as PNG:
And finally, the transformed SVG: plate-transformed.svg.txt
It looks like the outline had the transformation applied, but the circles did not.
Thank you for the very good bug report, I'll give this a look.
@SebKuzminsky I'm pretty sure you should be good to go :+1:
The transformed <circle>
elements still have transform
attributes:
<circle
transform="matrix(1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000)"
id="circle9"
style="stroke-dasharray:none;stroke-width:0.13096206843;stroke-miterlimit:4;fill:none"
stroke-width="0.35 px"
stroke="#000000"
r="3.3782"
cy="-27.7016123259"
cx="47.9806" />
I'd expect the circle
elements to have the transform applied and not have a "residual" transform
attribute, just like what's done to the path
element.
Whoops, you are correct
I see, it actually adds transform matrices.. that ain't right
Testing with the provided original SVG and comparing with the output from this extension it looked like this is fixed now.
jup. please close this issue