Skip to content

Documentation / imgui / imGuiCalcTextSize

Function: imGuiCalcTextSize() ​

imGuiCalcTextSize(text, out?): ImVec2

Defined in: libs/imgui/src/index.ts:128

Calculate text size

Parameters ​

text ​

string

text to calculated

out? ​

ImVec2

Returns ​

ImVec2

Remarks ​

The function ensures all glyphs in text been created

Released under the MIT License.