#include <imgui.h>
Classes | |
| struct | Glyph |
Public Member Functions | |
| IMGUI_API void | AddRemapChar (ImWchar dst, ImWchar src, bool overwrite_dst=true) |
| IMGUI_API void | BuildLookupTable () |
| IMGUI_API ImVec2 | CalcTextSizeA (float size, float max_width, float wrap_width, const char *text_begin, const char *text_end=NULL, const char **remaining=NULL) const |
| IMGUI_API const char * | CalcWordWrapPositionA (float scale, const char *text, const char *text_end, float wrap_width) const |
| IMGUI_API void | Clear () |
| IMGUI_API const Glyph * | FindGlyph (ImWchar c) const |
| float | GetCharAdvance (ImWchar c) const |
| IMGUI_API void | GrowIndex (int new_size) |
| IMGUI_API | ImFont () |
| bool | IsLoaded () const |
| IMGUI_API void | RenderChar (ImDrawList *draw_list, float size, ImVec2 pos, ImU32 col, unsigned short c) const |
| IMGUI_API void | 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=0.0f, bool cpu_fine_clip=false) const |
| IMGUI_API void | SetFallbackChar (ImWchar c) |
| IMGUI_API | ~ImFont () |
Public Attributes | |
| float | Ascent |
| ImFontConfig * | ConfigData |
| short | ConfigDataCount |
| ImFontAtlas * | ContainerAtlas |
| float | Descent |
| ImVec2 | DisplayOffset |
| ImWchar | FallbackChar |
| const Glyph * | FallbackGlyph |
| float | FallbackXAdvance |
| float | FontSize |
| ImVector< Glyph > | Glyphs |
| ImVector< short > | IndexLookup |
| ImVector< float > | IndexXAdvance |
| float | Scale |
| ImFont::ImFont | ( | ) |
Definition at line 1657 of file imgui_draw.cpp.
| ImFont::~ImFont | ( | ) |
Definition at line 1664 of file imgui_draw.cpp.
Definition at line 1752 of file imgui_draw.cpp.
| void ImFont::BuildLookupTable | ( | ) |
Definition at line 1692 of file imgui_draw.cpp.
| ImVec2 ImFont::CalcTextSizeA | ( | float | size, |
| float | max_width, | ||
| float | wrap_width, | ||
| const char * | text_begin, | ||
| const char * | text_end = NULL, |
||
| const char ** | remaining = NULL |
||
| ) | const |
Definition at line 1875 of file imgui_draw.cpp.
| const char * ImFont::CalcWordWrapPositionA | ( | float | scale, |
| const char * | text, | ||
| const char * | text_end, | ||
| float | wrap_width | ||
| ) | const |
Definition at line 1778 of file imgui_draw.cpp.
| void ImFont::Clear | ( | ) |
Definition at line 1677 of file imgui_draw.cpp.
| const ImFont::Glyph * ImFont::FindGlyph | ( | ImWchar | c | ) | const |
Definition at line 1767 of file imgui_draw.cpp.
| void ImFont::GrowIndex | ( | int | new_size | ) |
Definition at line 1737 of file imgui_draw.cpp.
| void ImFont::RenderChar | ( | ImDrawList * | draw_list, |
| float | size, | ||
| ImVec2 | pos, | ||
| ImU32 | col, | ||
| unsigned short | c | ||
| ) | const |
Definition at line 1969 of file imgui_draw.cpp.
| 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 = 0.0f, |
||
| bool | cpu_fine_clip = false |
||
| ) | const |
Definition at line 1985 of file imgui_draw.cpp.
Definition at line 1731 of file imgui_draw.cpp.
| ImFontConfig* ImFont::ConfigData |
| ImFontAtlas* ImFont::ContainerAtlas |