linebender / resvg

An SVG rendering library.
Apache License 2.0
2.84k stars 229 forks source link

non-scaling-stroke / wireframe #801

Open Dimon-II opened 3 months ago

Dimon-II commented 3 months ago

If the render is used in a graphics editor, there is often a need to display contours. A similar situation occurs when using paths from the defs section - when a stroke is needed, but preferably a fixed width regardless of the scale. There seems to be no single standard, but there are different implementations - stroke="wireframe" or vector-effect="non-scaling-stroke" Is it possible to get such a feature?

RazrFalcon commented 3 months ago

stroke="wireframe" is not part of the standard, so no. vector-effect is planned. Related issue #737

But I have no plans on working on resvg, so unless someone would send a patch it will not be added.