Skip to content

Stroke tessellator seems to produce wrong results for some rounded path types #891

@patowen

Description

@patowen

In the main branch (commit 2407b7f), running the following in the "cli" directory produces incorrect results:

cargo run show "M 69 -155 L 71 -158 74 -158" --stroke -w 100 --line-cap Round --line-join Round

Since the path has a bounding box of 5x3 and a stroke width of 100, it should end up producing a blob, which it does. However, the blob also has a spike protruding out of it, which I believe is a bug.
image

I don't have much familiarity with how the tessellator works, so I don't have a lead on what the root cause is or how feasible this would be to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions