MCPcopy Create free account
hub / github.com/RenderKit/embree / ImTextCountUtf8BytesFromChar

Function ImTextCountUtf8BytesFromChar

tutorials/common/imgui/imgui.cpp:2092–2096  ·  view source on GitHub ↗

Not optimal but we very rarely use this function.

Source from the content-addressed store, hash-verified

2090
2091// Not optimal but we very rarely use this function.
2092int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end)
2093{
2094 unsigned int unused = 0;
2095 return ImTextCharFromUtf8(&unused, in_text, in_text_end);
2096}
2097
2098static inline int ImTextCountUtf8BytesFromChar(unsigned int c)
2099{

Callers 2

RenderTextEllipsisMethod · 0.85

Calls 1

ImTextCharFromUtf8Function · 0.85

Tested by

no test coverage detected