Rendering bug when stroking rect on window boundary
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.3k
- Forks
- 300
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
It only happens with certain origins and widths. To reproduce, swap this function at the bottom of the `simple` example:
```rust
pub fn add_shapes_to_scene(scene: &mut Scene) {
let rect = vello::kurbo::Rect::from_origin_size((113.5, 0.5), (103.0, 61.0));
scene.stroke(&Stroke::new(1.0), Affine::IDENTITY, Color::from_rgb8(255, 0, 0), None, &rect);
}
```
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
Replace the function at the bottom of the `simple` example with the reproduction shown, then run the example and inspect the stroked rectangle at the window boundary. Trace the rendering path for origins and widths that reproduce the artifact; done means the rectangle renders correctly for the supplied case and other affected boundary positions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100