Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
FontSpec Struct Reference

#include <fontengine.h>

Public Member Functions

 FontSpec (unsigned int font_size, FontMode mode, bool bold, bool italic)
 
u16 getHash () const
 

Public Attributes

unsigned int size
 
FontMode mode
 
bool bold
 
bool italic
 

Constructor & Destructor Documentation

◆ FontSpec()

FontSpec::FontSpec ( unsigned int font_size,
FontMode mode,
bool bold,
bool italic )
inline

Member Function Documentation

◆ getHash()

u16 FontSpec::getHash ( ) const
inline

References bold, italic, and mode.

Referenced by FontEngine::getFont().

+ Here is the caller graph for this function:

Member Data Documentation

◆ bold

◆ italic

bool FontSpec::italic

◆ mode

◆ size

unsigned int FontSpec::size

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