MCPcopy Create free account
hub / github.com/OpenSpace/OpenSpace / ImTextCharFromUtf8

Function ImTextCharFromUtf8

modules/imgui/ext/imgui/imgui.cpp:1580–1630  ·  view source on GitHub ↗

Convert UTF-8 to 32-bit character, process single character input. A nearly-branchless UTF-8 decoder, based on work of Christopher Wellons (https://github.com/skeeto/branchless-utf8). We handle UTF-8 decoding error by skipping forward.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

ImTextStrFromUtf8Function · 0.85
ImTextCountCharsFromUtf8Function · 0.85
AddTextMethod · 0.85
CalcWordWrapPositionAMethod · 0.85
CalcTextSizeAMethod · 0.85
RenderTextMethod · 0.85
InputTextExMethod · 0.85

Calls 1

ImMinFunction · 0.85

Tested by

no test coverage detected