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

Plotting svg #925

Open
wangjiawen2013 opened this issue Jan 7, 2025 · 1 comment
Open

Plotting svg #925

wangjiawen2013 opened this issue Jan 7, 2025 · 1 comment
Labels

Comments

@wangjiawen2013
Copy link

wangjiawen2013 commented Jan 7, 2025

Hi,
I am curious on this project and want to have some basic understanding about it.
How to plot a line/cirlce/square with lyon ? Could you give some examples ? Does it support cpu ?

@nical
Copy link
Owner

nical commented Jan 8, 2025

Hi, currently, lyon mostly provides a way to produce triangle geometry from vector paths. That's only a small piece of puzzle when rendering SVG documents. It sounds like you are looking for something higher level. I suggest looking into projects tiny-skia (CPU) and vello (GPU) if you are looking for more complete rendering stacks.

@nical nical added the question label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants