meerk40t / svgelements

SVG Parsing for Elements, Paths, and other SVG Objects.
MIT License
127 stars 28 forks source link

Non-scaling Stroke is not scaled within Element but is scaled in viewport. #199

Closed tatarize closed 1 year ago

tatarize commented 1 year ago

stroke-width2

This stroke is not scaled. But the viewport is scaled the two strokes are equal. However, svgelements doesn't scale the non-scaling-stroke at all which cause it to create a fine line rather than a correctly stroked line because it should scale with the viewport scaling but should not scale with the vector-element scaling.