ScummVM API documentation
ImFont Struct Reference

Public Member Functions

bool IsGlyphInFont (ImWchar c)
 
bool IsLoaded () const
 
const char * GetDebugName () const
 
ImFontBakedGetFontBaked (float font_size, float density=-1.0f)
 
ImVec2 CalcTextSizeA (float size, float max_width, float wrap_width, const char *text_begin, const char *text_end=NULL, const char **remaining=NULL)
 
const char * CalcWordWrapPosition (float size, const char *text, const char *text_end, float wrap_width)
 
void RenderChar (ImDrawList *draw_list, float size, const ImVec2 &pos, ImU32 col, ImWchar c, const ImVec4 *cpu_fine_clip=NULL)
 
void RenderText (ImDrawList *draw_list, float size, const 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 char * CalcWordWrapPositionA (float scale, const char *text, const char *text_end, float wrap_width)
 
void ClearOutputData ()
 
void AddRemapChar (ImWchar from_codepoint, ImWchar to_codepoint)
 
bool IsGlyphRangeUnused (unsigned int c_begin, unsigned int c_last)
 

Public Attributes

ImFontBakedLastBaked
 
ImFontAtlasContainerAtlas
 
ImFontFlags Flags
 
float CurrentRasterizerDensity
 
ImGuiID FontId
 
float LegacySize
 
ImVector< ImFontConfig * > Sources
 
ImWchar EllipsisChar
 
ImWchar FallbackChar
 
ImU8 Used8kPagesMap [(0xFFFF+1)/8192/8]
 
bool EllipsisAutoBake
 
ImGuiStorage RemapPairs
 
float Scale
 

The documentation for this struct was generated from the following file: