Home
last modified time | relevance | path

Searched refs:wrap_width (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_draw.cpp1176 …2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* c… in AddText() argument
1202 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText()
2542 …:CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const in CalcWordWrapPositionA()
2562 wrap_width /= scale; // We work with unscaled widths to avoid scaling every characters in CalcWordWrapPositionA()
2627 if (line_width + word_width >= wrap_width) in CalcWordWrapPositionA()
2630 if (word_width < wrap_width) in CalcWordWrapPositionA()
2641 ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin,… in CalcTextSizeA() argument
2652 const bool word_wrap_enabled = (wrap_width > 0.0f); in CalcTextSizeA()
2663 word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - line_width); in CalcTextSizeA()
2749 …ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_c… in RenderText() argument
[all …]
Dimgui.h631 …, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f);
1841 … ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const Im…
2116 …IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const cha…
2117 …CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const;
2119 …ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width = 0.0f, bool cpu…
Dimgui_internal.h1442 …d RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width);
Dimgui.cpp2311 void ImGui::RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width) in RenderTextWrapped() argument
2321 …DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width); in RenderTextWrapped()
3898 …extSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width) in CalcTextSize() argument
3912 …ImVec2 text_size = font->CalcTextSizeA(font_size, FLT_MAX, wrap_width, text, text_display_end, NUL… in CalcTextSize()
Dimgui_widgets.cpp220 …const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.… in TextUnformatted() local
221 const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); in TextUnformatted()
230 RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); in TextUnformatted()