Module nvg

Module nvg 

Source
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§

Color
Colors in NanoVG are stored as unsigned ints in ABGR format.
Context
A NanoVG render context.
Font
A font handle.
Frame
Methods to draw on a frame. See Context::draw_frame.
Image
An image handle.
Paint
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.
Path
A path.
Style
The stroke and/or fill which will be applied to a path.

Enums§

Direction
Winding direction