Documentation

nvg::TextBounds

Function

vec2 nvg::TextBounds(const string&in str)

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

string str

Returns vec2