Skip to content

Incorrect rendering of SVG arcs #63

Description

@sydeslyde

It's me again. 😁

I tried creating shapes with the rc.path() function using SVG-Paths.
But the arcs which are supposed to appear are not drawn correctly using the rough-canvas.
I tried fiddling with the comma-separators between values, relative a and absolute A instructions, none of them creates the right shape.
Drawing the shape directly to the danvas via a Path2D object works fine.

Interestingly enough, the fill for the shape is rendered correctly, just the outline is rendered wrong.
Also the four examples found on the website work perfectly in the same canvas.

I created a codepen to illustrate the issue -> codepen

Am I missing something again or is this an actual bug?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions