siplasplas
Classes | Public Member Functions | Public Attributes | List of all members
ImFont Struct Reference

Classes

struct  Glyph
 

Public Member Functions

IMGUI_API void Clear ()
 
IMGUI_API void BuildLookupTable ()
 
IMGUI_API const GlyphFindGlyph (ImWchar c) const
 
IMGUI_API void SetFallbackChar (ImWchar c)
 
float GetCharAdvance (ImWchar c) const
 
bool IsLoaded () const
 
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 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 GrowIndex (int new_size)
 
IMGUI_API void AddRemapChar (ImWchar dst, ImWchar src, bool overwrite_dst=true)
 

Public Attributes

float FontSize
 
float Scale
 
ImVec2 DisplayOffset
 
ImVector< GlyphGlyphs
 
ImVector< float > IndexXAdvance
 
ImVector< short > IndexLookup
 
const GlyphFallbackGlyph
 
float FallbackXAdvance
 
ImWchar FallbackChar
 
short ConfigDataCount
 
ImFontConfigConfigData
 
ImFontAtlasContainerAtlas
 
float Ascent
 
float Descent
 

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