lyon icon indicating copy to clipboard operation
lyon copied to clipboard

Plotting svg

Open wangjiawen2013 opened this issue 11 months ago • 1 comments

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 ?

wangjiawen2013 avatar Jan 07 '25 09:01 wangjiawen2013

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 avatar Jan 08 '25 08:01 nical