linebender / linebender/tiny-skia

Join multiple paths

Open
#66 5 comments 0 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.