armas-icon 0.1.2

Generic SVG-based icon system for egui
Documentation

armas-icon

Crates.io Documentation License

SVG icon rendering system for egui.

Overview

Converts SVG paths into tessellated geometry at compile time for efficient runtime rendering. Used internally by other Armas crates but can be used standalone for custom icon needs.

Installation

[dependencies]
armas-icon = "0.1.0"
egui = "0.33"

How it works

Icons are parsed from SVG files at compile time using usvg and tessellated into triangle meshes with lyon. The resulting geometry is stored in IconData structs for runtime rendering.

License

Licensed under either of:

at your option.

Links