RazrFalcon / tiny-skia

A tiny Skia subset ported to Rust
BSD 3-Clause "New" or "Revised" License
1.05k stars 67 forks source link

Irregular stroke width for rounded corners #41

Closed snakedye closed 2 years ago

snakedye commented 2 years ago

I'm observing this when I stroke a path. I used a cubic curve to draw that corner.

Source image

RazrFalcon commented 2 years ago

Can you provide a minimal code example?

snakedye commented 2 years ago

I noticed the error was just that the border was drawn outside the buffer which made it appear clipped.

I should do minimal examples more often 😅

RazrFalcon commented 2 years ago

Nice! 😄