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

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_draw.cpp1366 PixelSnapH = false;
1595 font_cfg.PixelSnapH = true;
2025 char_off_x += cfg.PixelSnapH ? (float)(int)((char_advance_x_mod - char_advance_x_org) * 0.5f) : (char_advance_x_mod - char_advance_x_org) * 0.5f;
2499 if (ConfigData->PixelSnapH)
H A Dimgui.h1921 bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. member in struct:ImFontConfig
H A Dimgui_demo.cpp2939 ImGui::BulletText("Input %d: \'%s\', Oversample: (%d,%d), PixelSnapH: %d", config_i, cfg->Name, cfg->OversampleH, cfg->OversampleV, cfg->PixelSnapH);
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_draw.cpp1366 PixelSnapH = false;
1595 font_cfg.PixelSnapH = true;
2025 char_off_x += cfg.PixelSnapH ? (float)(int)((char_advance_x_mod - char_advance_x_org) * 0.5f) : (char_advance_x_mod - char_advance_x_org) * 0.5f;
2499 if (ConfigData->PixelSnapH)
H A Dimgui.h1921 bool PixelSnapH; // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. member in struct:ImFontConfig

Completed in 35 milliseconds