Documentation

nvg

Namespace

NanoVG bindings.

Represents a texture for the NanoVG API.

A paint style that can be used as a fill or a stroke.

Load a texture for the NanoVG API from a memory buffer.

Returns nvg::Texture@

Draws text using the current font settings.

Returns float

Draws text using the current font settings.

Returns float

Draws text inside of a word wrapping box using the current font settings.

Draws text inside of a word wrapping box using the current font settings.

Measures the size of the given text using the current font settings.

Returns vec2

Measures the size of the given text inside of a word wrapping box using the current font settings.

Returns vec2

Flags to use when loading NanoVG textures.