linebender / linebender/tiny-skia
Join multiple paths
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 99
- Avg merge
- 2h 52m
- Merged PRs (30d)
- 1
Description
I am looking to join multiple closed paths together so that they can be drawn together. It seems that `tiny-skia` does not provide a simple way to do this, and one must therefore resort to manually iterating over path segments and using `PathBuilder`.
Is this indeed the case? If so, perhaps something like `Path::join` or `PathBuilder::push_path` could be added? If not, what am I missing?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing Path and PathBuilder APIs and how they handle path segments. Determine whether multiple closed paths can already be combined without manual iteration; done means either documenting the existing approach or agreeing on and implementing a tested path-joining API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100