Home
last modified time | relevance | path

Searched refs:CalcTextSize (Results 1 - 11 of 11) sorted by relevance

/third_party/mesa3d/src/intel/tools/
H A Daubinator_viewer_urb.h28 const ImVec2 label_size = ImGui::CalcTextSize("VS entry: ", NULL, true); in DrawAllocation()
H A Daubinator_viewer.cpp1029 align = MAX2(align, ImGui::CalcTextSize(texts[i]).x); in display_aubfile_window()
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp194 text_size.x = ImMax(text_size.x, CalcTextSize(line, line_end).x); in TextEx()
214 text_size.x = ImMax(text_size.x, CalcTextSize(line, line_end).x); in TextEx()
230 text_size.x = ImMax(text_size.x, CalcTextSize(line, line_end).x); in TextEx()
245 const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); in TextEx()
362 const ImVec2 value_size = CalcTextSize(value_text_begin, value_text_end, false); in LabelTextV()
363 const ImVec2 label_size = CalcTextSize(label, NULL, true); in LabelTextV()
398 const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); in BulletTextV()
679 const ImVec2 label_size = CalcTextSize(label, NULL, true); in ButtonEx()
1079 const ImVec2 label_size = CalcTextSize(label, NULL, true); in Checkbox()
1185 const ImVec2 label_size = CalcTextSize(labe in RadioButton()
[all...]
H A Dimgui_tables.cpp2405 ImVec2 text_size = CalcTextSize(buf, NULL); in TableMergeDrawChannels()
2802 row_height = ImMax(row_height, CalcTextSize(TableGetColumnName(column_n)).y);
2873 ImVec2 label_size = CalcTextSize(label, label_end, true);
2892 w_sort_text = g.Style.ItemInnerSpacing.x + CalcTextSize(sort_order_suf).x;
H A Dimgui.cpp2754 const ImVec2 text_size = text_size_if_known ? *text_size_if_known : CalcTextSize(text, text_display_end, false, 0.0f); in RenderTextClippedEx()
2802 const ImVec2 text_size = text_size_if_known ? *text_size_if_known : CalcTextSize(text, text_end_full, false, 0.0f); in RenderTextEllipsis()
4562 // CalcTextSize("") should return ImVec2(0.0f, g.FontSize)
4563 ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width) in CalcTextSize() function in ImGui
5710 const ImVec2 text_size = CalcTextSize(name, NULL, true) + ImVec2(marker_size_x, 0.0f); in RenderWindowTitleBarContents()
8924 draw_list->AddRectFilled(cand.Max - ImVec2(4, 4), cand.Max + CalcTextSize(buf) + ImVec2(4, 4), IM_COL32(40,0,0,150)); in NavScoreItem()
12186 const float id_width = CalcTextSize("0xDDDDDDDD").x; in ShowStackToolWindow()
H A Dimgui.h877 IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f);
2738 // Members: Hot ~20/24 bytes (for CalcTextSize)
2739 ImVector<float> IndexAdvanceX; // 12-16 // out // // Sparse. Glyphs->AdvanceX in a directly indexable way (cache-friendly for CalcTextSize functions which only this this info, and are often bottleneck in large UI).
2743 // Members: Hot ~28/40 bytes (for CalcTextSize + render loop)
H A Dimgui_demo.cpp3590 const float TEXT_BASE_WIDTH = ImGui::CalcTextSize("A").x;
6059 const float min_widget_width = ImGui::CalcTextSize("N: MMM\nR: MMM").x;
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp189 const ImVec2 line_size = CalcTextSize(line, line_end, false); in TextUnformatted()
221 const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); in TextUnformatted()
320 const ImVec2 label_size = CalcTextSize(label, NULL, true); in LabelTextV()
355 const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); in BulletTextV()
553 const ImVec2 label_size = CalcTextSize(label, NULL, true); in ButtonEx()
915 const ImVec2 label_size = CalcTextSize(label, NULL, true); in Checkbox()
974 const ImVec2 label_size = CalcTextSize(label, NULL, true); in RadioButton()
1055 ImVec2 overlay_size = CalcTextSize(overlay, NULL); in ProgressBar()
1297 const ImVec2 label_size = CalcTextSize(label, NULL, true); in BeginCombo()
1875 const ImVec2 label_size = CalcTextSize(labe
[all...]
H A Dimgui_memory_editor.h175 s.GlyphWidth = ImGui::CalcTextSize("F").x + 1; // We assume the font is mono-space in CalcSizes()
H A Dimgui.h631 IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f);
2084 // Members: Hot ~20/24 bytes (for CalcTextSize)
2085 ImVector<float> IndexAdvanceX; // 12-16 // out // // Sparse. Glyphs->AdvanceX in a directly indexable way (cache-friendly for CalcTextSize functions which only this this info, and are often bottleneck in large UI).
2089 // Members: Hot ~36/48 bytes (for CalcTextSize + render loop)
H A Dimgui.cpp2333 const ImVec2 text_size = text_size_if_known ? *text_size_if_known : CalcTextSize(text, text_display_end, false, 0.0f); in RenderTextClippedEx()
3897 // CalcTextSize("") should return ImVec2(0.0f, GImGui->FontSize)
3898 ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width) in CalcTextSize() function in ImGui
5395 float marker_size_x = (flags & ImGuiWindowFlags_UnsavedDocument) ? CalcTextSize(UNSAVED_DOCUMENT_MARKER, NULL, false).x : 0.0f; in Begin()
5396 ImVec2 text_size = CalcTextSize(name, NULL, true) + ImVec2(marker_size_x, 0.0f); in Begin()
7228 draw_list->AddRectFilled(cand.Max-ImVec2(4,4), cand.Max+ImGui::CalcTextSize(buf)+ImVec2(4,4), IM_COL32(40,0,0,150)); in NavScoreItem()

Completed in 91 milliseconds