Join the femtovg Discord channel
Work in progress!
Antialiased 2D vector drawing library written in Rust. Ported from https://github.com/memononen/nanovg
Most of the implementation is the same as the original C code with some bug fixes, some features added and several parts have been made more Rust-y. Rendering is done via one OpenGl (ES) 3.0+ backend.
Run with
cargo run --example demo
Run with
cargo run --example breakout
Run with
cargo run --example svg
Run with
cargo run --example text
Licensed under either of * Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) * MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Fonts used in examples: - Roboto licensed under Apache license - Entypo licensed under CC BY-SA 4.0. - Amiri licensed under SIL Open Font License, Version 1.1