MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / CalcWordWrapPosition

Method CalcWordWrapPosition

imgui_tiny_app/imgui/imgui_draw.cpp:5610–5613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5608}
5609
5610const char* ImFont::CalcWordWrapPosition(float size, const char* text, const char* text_end, float wrap_width)
5611{
5612 return ImFontCalcWordWrapPositionEx(this, size, text, text_end, wrap_width, ImDrawTextFlags_None);
5613}
5614
5615ImVec2 ImFontCalcTextSizeEx(ImFont* font, float size, float max_width, float wrap_width, const char* text_begin, const char* text_end_display, const char* text_end, const char** out_remaining, ImVec2* out_offset, ImDrawTextFlags flags)
5616{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected