Home
last modified time | relevance | path

Searched refs:font_cfg (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_draw.cpp1544 ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg) in AddFont() argument
1547 IM_ASSERT(font_cfg->FontData != NULL && font_cfg->FontDataSize > 0); in AddFont()
1548 IM_ASSERT(font_cfg->SizePixels > 0.0f); in AddFont()
1551 if (!font_cfg->MergeMode) in AddFont()
1556 ConfigData.push_back(*font_cfg); in AddFont()
1564 memcpy(new_font_cfg.FontData, font_cfg->FontData, (size_t)new_font_cfg.FontDataSize); in AddFont()
1591 ImFontConfig font_cfg = font_cfg_template ? *font_cfg_template : ImFontConfig(); in AddFontDefault() local
1594 font_cfg.OversampleH = font_cfg.OversampleV = 1; in AddFontDefault()
1595 font_cfg.PixelSnapH = true; in AddFontDefault()
1597 if (font_cfg.SizePixels <= 0.0f) in AddFontDefault()
[all …]
Dimgui.h1989 IMGUI_API ImFont* AddFont(const ImFontConfig* font_cfg);
1990 IMGUI_API ImFont* AddFontDefault(const ImFontConfig* font_cfg = NULL);
1991 …romFileTTF(const char* filename, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImW…
1992 …(void* font_data, int font_size, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImW…
1993 …_data, int compressed_font_size, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImW…
1994 …ar* compressed_font_data_base85, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImW…