linebender / linebender/tiny-skia
How to draw rectangle with round corner?
Open
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 99
- Avg merge
- 2h 52m
- Merged PRs (30d)
- 1
Description
In `@gfx/canvas` there is a method called `arcTo`, which can help me drawing rounded triangle:
```ts
ctx.arcTo(350, 0, 350, 128, 50);
```
But seems that there is no similar method in this crate, how should I draw a rounded triangle with specific radius?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the crate's path-drawing entry points and compare the requested behavior with @gfx/canvas's arcTo example. Done means documenting or enabling a way to draw a rounded triangle with a specified radius, with behavior that matches the issue's request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100