MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / CalcTextSizeA

Method CalcTextSizeA

include/imgui/imgui_draw.cpp:5735–5738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5733}
5734
5735ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end, const char** out_remaining)
5736{
5737 return ImFontCalcTextSizeEx(this, size, max_width, wrap_width, text_begin, text_end, text_end, out_remaining, NULL, ImDrawTextFlags_None);
5738}
5739
5740// Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound.
5741void ImFont::RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c, const ImVec4* cpu_fine_clip)

Callers 2

RenderTextEllipsisMethod · 0.80
CalcTextSizeMethod · 0.80

Calls 1

ImFontCalcTextSizeExFunction · 0.85

Tested by

no test coverage detected