Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot render svg correctly #46

Open
carefree0910 opened this issue Dec 7, 2021 · 1 comment
Open

Cannot render svg correctly #46

carefree0910 opened this issue Dec 7, 2021 · 1 comment

Comments

@carefree0910
Copy link

carefree0910 commented Dec 7, 2021

Update: I dig into it a little bit and found that the GraphicsData parsed by SVGScene will contain several points which is NaN, which is likely the reason that makes the filling wrong

Target:
clampy

Rendered:
image

The background color and the rotation angle can be safely ignored, the main issue lands on the incorrectness of filling the red color

Source SVG:
clampy.svg.zip

@penggelies07
Copy link

I also encountered the same problem, which is correct in the image rendering, but app.stage.children[0].children[0].root.children[0].children[0].children[0].children[0].geometry.points is wrong.
From 882 to 889 are all NaN, which will affect my calculations.
point.svg.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants