linebender / linebender/resvg

non-scaling-stroke / wireframe

Open
#801 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.1k
Forks
348
Avg merge
1d 14h
Merged PRs (30d)
3

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, entry points, or tests. Start by reviewing how resvg handles SVG strokes and paths from the defs section, then compare the requested fixed-width behavior with vector-effect="non-scaling-stroke" and stroke="wireframe". Done would require an agreed implementation and tests demonstrating contours that remain fixed-width when scaled.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.