Gorgon Game Engine
FontFamily Class Reference

Classes

struct  HashType
 

Public Types

enum  Style : unsigned int {
  Normal, Italic, Bold, Large,
  Custom, End
}
 

Public Member Functions

 FontFamily (const std::unordered_map< Style, GlyphRenderer *, HashType > fonts)
 
void AddFont (Style style, GlyphRenderer *renderer)
 
GlyphRendererGetGlyphRenderer (Style style)
 
bool HasFont (Style style) const
 
void RemoveFont (Style style)
 

Member Enumeration Documentation

◆ Style

enum Style : unsigned int
strong
Enumerator
Normal 
Italic 
Bold 
Large 
Custom 
End 

Constructor & Destructor Documentation

◆ FontFamily()

FontFamily ( const std::unordered_map< Style, GlyphRenderer *, HashType fonts)

Member Function Documentation

◆ AddFont()

void AddFont ( Style  style,
GlyphRenderer renderer 
)

◆ GetGlyphRenderer()

◆ HasFont()

bool HasFont ( Style  style) const

◆ RemoveFont()

void RemoveFont ( Style  style)

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