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

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp2950 float cell_size = font->FontSize * 1; local in function:ImGui::ShowStyleEditor
2956 ImVec2 cell_p1(base_pos.x + (n % 16) * (cell_size + cell_spacing), base_pos.y + (n / 16) * (cell_size + cell_spacing));
2957 ImVec2 cell_p2(cell_p1.x + cell_size, cell_p1.y + cell_size);
2961 font->RenderChar(draw_list, cell_size, cell_p1, ImGui::GetColorU32(ImGuiCol_Text), (ImWchar)(base + n)); // We use ImFont::RenderChar as a shortcut because we don't have UTF-8 conversion functions available to generate a string.
2973 ImGui::Dummy(ImVec2((cell_size + cell_spacing) * 16, (cell_size + cell_spacing) * 16));

Completed in 8 milliseconds