VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Public Attributes
ImFont Struct Reference

Classes

struct  Glyph

Public Member Functions

IMGUI_API ImFont ()
IMGUI_API ~ImFont ()
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 charCalcWordWrapPositionA (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< unsigned short > IndexLookup
const GlyphFallbackGlyph
float FallbackXAdvance
ImWchar FallbackChar
short ConfigDataCount
ImFontConfigConfigData
ImFontAtlasContainerAtlas
float Ascent
float Descent
int MetricsTotalSurface

Constructor & Destructor Documentation

IMGUI_API ImFont::ImFont ( )
IMGUI_API ImFont::~ImFont ( )

Member Function Documentation

IMGUI_API void ImFont::Clear ( )
IMGUI_API void ImFont::BuildLookupTable ( )
IMGUI_API const Glyph* ImFont::FindGlyph ( ImWchar  c) const
IMGUI_API void ImFont::SetFallbackChar ( ImWchar  c)
float ImFont::GetCharAdvance ( ImWchar  c) const
inline

References int().

bool ImFont::IsLoaded ( void  ) const
inline
IMGUI_API 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
IMGUI_API const char* ImFont::CalcWordWrapPositionA ( float  scale,
const char text,
const char text_end,
float  wrap_width 
) const
IMGUI_API void ImFont::RenderChar ( ImDrawList draw_list,
float  size,
ImVec2  pos,
ImU32  col,
unsigned short  c 
) const
IMGUI_API 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
IMGUI_API void ImFont::GrowIndex ( int  new_size)
IMGUI_API void ImFont::AddRemapChar ( ImWchar  dst,
ImWchar  src,
bool  overwrite_dst = true 
)

Member Data Documentation

float ImFont::FontSize
float ImFont::Scale
ImVec2 ImFont::DisplayOffset
ImVector<Glyph> ImFont::Glyphs
ImVector<float> ImFont::IndexXAdvance
ImVector<unsigned short> ImFont::IndexLookup
const Glyph* ImFont::FallbackGlyph
float ImFont::FallbackXAdvance
ImWchar ImFont::FallbackChar
short ImFont::ConfigDataCount
ImFontConfig* ImFont::ConfigData
ImFontAtlas* ImFont::ContainerAtlas
float ImFont::Ascent
float ImFont::Descent
int ImFont::MetricsTotalSurface

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)