infinity-rs 0.2.4

Safe, idiomatic Rust bindings for the MSFS 2024 WASM SDK.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod color;
mod context;
mod enums;
mod paint;
mod path;
mod render;
mod shape;
mod text;
mod transform;

pub use color::Color;
pub use context::NvgContext;
pub use enums::*;
pub use paint::{FillStyle, Gradient, ImagePattern};
pub use path::PathBuilder;
pub use shape::Shape;
pub use text::{GlyphPosition, TextBounds, TextMetrics, TextRow};
pub use transform::{Transform, deg_to_rad, rad_to_deg};