Lines Matching refs:FontData
1359 FontData = NULL; in ImFontConfig()
1459 if (ConfigData[i].FontData && ConfigData[i].FontDataOwnedByAtlas) in ClearInputData()
1461 ImGui::MemFree(ConfigData[i].FontData); in ClearInputData()
1462 ConfigData[i].FontData = NULL; in ClearInputData()
1547 IM_ASSERT(font_cfg->FontData != NULL && font_cfg->FontDataSize > 0); in AddFont()
1562 new_font_cfg.FontData = ImGui::MemAlloc(new_font_cfg.FontDataSize); in AddFont()
1564 memcpy(new_font_cfg.FontData, font_cfg->FontData, (size_t)new_font_cfg.FontDataSize); in AddFont()
1635 IM_ASSERT(font_cfg.FontData == NULL); in AddFontFromMemoryTTF()
1636 font_cfg.FontData = ttf_data; in AddFontFromMemoryTTF()
1651 IM_ASSERT(font_cfg.FontData == NULL); in AddFontFromMemoryCompressedTTF()
1823 … const int font_offset = stbtt_GetFontOffsetForIndex((unsigned char*)cfg.FontData, cfg.FontNo); in ImFontAtlasBuildWithStbTruetype()
1825 if (!stbtt_InitFont(&src_tmp.FontInfo, (unsigned char*)cfg.FontData, font_offset)) in ImFontAtlasBuildWithStbTruetype()