RazrFalcon / resvg

An SVG rendering library.
Mozilla Public License 2.0
2.72k stars 219 forks source link

non-scaling-stroke / wireframe #801

Open Dimon-II opened 1 month ago

Dimon-II commented 1 month 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 1 month 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.