a collection of crates that allow you to export a static, noninteractive svg from the output of egui.
egui | egui-svg |
---|---|
![]() |
![]() |
- when adding new features, most are trivial to implement using native svg features, some require converting elements into paths and a small portion arent possible at all.
- your svg renderer, for example your browser, must support custom fonts.
- text support is very primitive
- rounding cannot be different per corner
- textures arent supported
- images arent supported
- textured meshes arent supported
- clipping is not supported
- some elements are half a pixel off
- the default fonts i included are pretty big (~400kb) and its currently not possible to switch them out dynamically
- run the simple example
- paste the resulting egui.svg into the included html file's body
- open the html file in your browser