Expand description
NanoVG is small antialiased vector graphics rendering library with a lean
API modeled after the HTML5 Canvas API. It can be used to draw gauge
instruments in MSFS. See Gauge::create_nanovg
.
Structs§
- Colors in NanoVG are stored as unsigned ints in ABGR format.
- A NanoVG render context.
- A font handle.
- Methods to draw on a frame. See
Context::draw_frame
. - An image handle.
- NanoVG supports four types of paints: linear gradient, box gradient, radial gradient and image pattern. These can be used as paints for strokes and fills.
- A path.
- The stroke and/or fill which will be applied to a path.
Enums§
- Winding direction