Searched refs:FontSize (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_widgets.cpp357 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize);
358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_size.y))); // Empty text doesn't add padding
364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f));
365 RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, text_end, false);
650 RenderArrow(bb.Min + ImVec2(ImMax(0.0f, (size.x - g.FontSize) * 0.5f), ImMax(0.0f, (size.y - g.FontSize) * 0.5f)), dir);
696 ImRect bb(pos, pos + ImVec2(g.FontSize, g.FontSize) + g.Style.FramePadding * 2.0f);
703 window->DrawList->AddCircleFilled(bb.GetCenter() + ImVec2(0.0f, -0.5f), g.FontSize * 0.
[all...]
H A Dimgui_draw.cpp347 FontSize = 0.0f;
1190 font_size = _Data->FontSize;
2058 font->FontSize = font_config->SizePixels;
2395 FontSize = 0.0f;
2416 FontSize = 0.0f;
2647 const float scale = size / FontSize;
2741 float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f;
2762 const float scale = size / FontSize;
2763 const float line_height = FontSize * scale;
3061 const float font_scale = draw_list->_Data->FontSize / fon
[all...]
H A Dimgui.cpp1097 IndentSpacing = 21.0f; // Horizontal spacing when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
2305 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_display_end);
2321 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width);
2403 const float h = g.FontSize * 1.00f;
2437 window->DrawList->AddCircleFilled(pos, g.FontSize*0.20f, GetColorU32(ImGuiCol_Text), 8);
2609 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3897 // CalcTextSize("") should return ImVec2(0.0f, GImGui->FontSize)
3909 const float font_size = g.FontSize;
4707 const float grip_draw_size = (float)(int)ImMax(g.FontSize * 1.3
[all...]
H A Dimgui_internal.h671 float FontSize; // Current/default font size (optional, for simplified AddText overload) member in struct:ImDrawListSharedData
768 float FontSize; // (Shortcut) == FontBaseSize * g.CurrentWindow->FontWindowScale == window->FontSize(). Text height for current window. member in struct:ImGuiContext
769 float FontBaseSize; // (Shortcut) == IO.FontGlobalScale * Font->Scale * Font->FontSize. Base text height.
938 FontSize = FontBaseSize = 0.0f;
1220 // We don't use g.FontSize because the window may be != g.CurrentWidow.
H A Dimgui.h348 IMGUI_API float GetTextLineHeight(); // ~ FontSize
349 IMGUI_API float GetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)
350 IMGUI_API float GetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2
351 IMGUI_API float GetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)
486 IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode
1252 float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
2087 float FontSize; // 4 // in // // Height of characters/line, set during loading (don't change after loading) member in struct:ImFont
2101 float Ascent, Descent; // 4+4 // out // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize]
H A Dimgui_demo.cpp2923 bool font_details_opened = ImGui::TreeNode(font, "Font %d: \"%s\"\n%.2f px, %d glyphs, %d file(s)", i, font->ConfigData ? font->ConfigData[0].Name : "", font->FontSize, font->Glyphs.Size, font->ConfigDataCount);
2950 float cell_size = font->FontSize * 1;
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_widgets.cpp357 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize);
358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_size.y))); // Empty text doesn't add padding
364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f));
365 RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, text_end, false);
650 RenderArrow(bb.Min + ImVec2(ImMax(0.0f, (size.x - g.FontSize) * 0.5f), ImMax(0.0f, (size.y - g.FontSize) * 0.5f)), dir);
696 ImRect bb(pos, pos + ImVec2(g.FontSize, g.FontSize) + g.Style.FramePadding * 2.0f);
703 window->DrawList->AddCircleFilled(bb.GetCenter() + ImVec2(0.0f, -0.5f), g.FontSize * 0.
[all...]
H A Dimgui_draw.cpp347 FontSize = 0.0f;
1190 font_size = _Data->FontSize;
2058 font->FontSize = font_config->SizePixels;
2395 FontSize = 0.0f;
2416 FontSize = 0.0f;
2647 const float scale = size / FontSize;
2741 float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f;
2762 const float scale = size / FontSize;
2763 const float line_height = FontSize * scale;
3061 const float font_scale = draw_list->_Data->FontSize / fon
[all...]
H A Dimgui.cpp1097 IndentSpacing = 21.0f; // Horizontal spacing when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
2305 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_display_end);
2321 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width);
2403 const float h = g.FontSize * 1.00f;
2437 window->DrawList->AddCircleFilled(pos, g.FontSize*0.20f, GetColorU32(ImGuiCol_Text), 8);
2609 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3897 // CalcTextSize("") should return ImVec2(0.0f, GImGui->FontSize)
3909 const float font_size = g.FontSize;
4707 const float grip_draw_size = (float)(int)ImMax(g.FontSize * 1.3
[all...]
H A Dimgui_internal.h671 float FontSize; // Current/default font size (optional, for simplified AddText overload) member in struct:ImDrawListSharedData
768 float FontSize; // (Shortcut) == FontBaseSize * g.CurrentWindow->FontWindowScale == window->FontSize(). Text height for current window. member in struct:ImGuiContext
769 float FontBaseSize; // (Shortcut) == IO.FontGlobalScale * Font->Scale * Font->FontSize. Base text height.
938 FontSize = FontBaseSize = 0.0f;
1220 // We don't use g.FontSize because the window may be != g.CurrentWidow.
H A Dimgui.h348 IMGUI_API float GetTextLineHeight(); // ~ FontSize
349 IMGUI_API float GetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)
350 IMGUI_API float GetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2
351 IMGUI_API float GetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)
486 IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode
1252 float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
2087 float FontSize; // 4 // in // // Height of characters/line, set during loading (don't change after loading) member in struct:ImFont
2101 float Ascent, Descent; // 4+4 // out // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize]
/xsrc/external/mit/xterm/dist/
H A Dfontutils.c957 #define FontSize(fs) (((fs)->ascent + (fs)->descent) \ macro
1921 screen->menu_font_sizes[fontnum] = FontSize(new_fonts[fNorm].fs);
4978 screen->menu_font_sizes[fontnum] = FontSize(fnt.fs);

Completed in 134 milliseconds