Lines Matching defs:ImFont

17 // [SECTION] ImFont
1176 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect)
1544 ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg)
1552 Fonts.push_back(IM_NEW(ImFont));
1589 ImFont* ImFontAtlas::AddFontDefault(const ImFontConfig* font_cfg_template)
1604 ImFont* font = AddFontFromMemoryCompressedBase85TTF(ttf_compressed_base85, font_cfg.SizePixels, &font_cfg, glyph_ranges);
1609 ImFont* ImFontAtlas::AddFontFromFileTTF(const char* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges)
1631 ImFont* ImFontAtlas::AddFontFromMemoryTTF(void* ttf_data, int ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges)
1644 ImFont* ImFontAtlas::AddFontFromMemoryCompressedTTF(const void* compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges)
1656 ImFont* ImFontAtlas::AddFontFromMemoryCompressedBase85TTF(const char* compressed_ttf_data_base85, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges)
1661 ImFont* font = AddFontFromMemoryCompressedTTF(compressed_ttf, compressed_ttf_size, size_pixels, font_cfg, glyph_ranges);
1679 int ImFontAtlas::AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset)
1748 // Temporary data for one source font (multiple source fonts can be merged into one destination ImFont)
1764 // Temporary data for one destination ImFont* (multiple source fonts can be merged into one destination ImFont)
1996 // 9. Setup ImFont and glyphs for runtime
2004 ImFont* dst_font = cfg.DstFont; // We can have multiple input fonts writing into a same destination font (when using MergeMode=true)
2053 void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent)
2390 // [SECTION] ImFont
2393 ImFont::ImFont()
2409 ImFont::~ImFont()
2414 void ImFont::ClearOutputData()
2428 void ImFont::BuildLookupTable()
2467 void ImFont::SetFallbackChar(ImWchar c)
2473 void ImFont::GrowIndex(int new_size)
2484 void ImFont::AddGlyph(ImWchar codepoint, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x)
2507 void ImFont::AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst)
2522 const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const
2532 const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const
2542 const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const
2641 ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end, const char** remaining) const
2735 void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const
2749 void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) const
3060 ImFont* font = draw_list->_Data->Font;