nngn
Loading...
Searching...
No Matches
nngn::Fonts Class Reference

#include <font.h>

Collaboration diagram for nngn::Fonts:

Public Member Functions

 Fonts (void)=default
 
 ~Fonts (void)
 
bool init (void)
 
size_t n () const
 
const Fontfonts (void) const
 
uint32_t add (const Font &f)
 
uint32_t load (unsigned int size, const char *filename)
 
 Fonts (void)=default
 
 ~Fonts (void)
 
bool init (void)
 
size_t n () const
 
const Fontfonts (void) const
 
uint32_t add (const Font &f)
 
uint32_t load (unsigned int size, const char *filename)
 

Public Attributes

Graphicsgraphics = nullptr
 

Private Attributes

void * ft = {}
 
std::vector< Fontv = {{}}
 

Constructor & Destructor Documentation

◆ Fonts() [1/2]

nngn::Fonts::Fonts ( void  )
default

◆ ~Fonts() [1/2]

nngn::Fonts::~Fonts ( void  )

◆ Fonts() [2/2]

nngn::Fonts::Fonts ( void  )
default

◆ ~Fonts() [2/2]

nngn::Fonts::~Fonts ( void  )

Member Function Documentation

◆ add() [1/2]

uint32_t nngn::Fonts::add ( const Font f)
Here is the caller graph for this function:

◆ add() [2/2]

uint32_t nngn::Fonts::add ( const Font f)

◆ fonts() [1/2]

const Font * nngn::Fonts::fonts ( void  ) const
inline
Here is the caller graph for this function:

◆ fonts() [2/2]

const Font * nngn::Fonts::fonts ( void  ) const
inline

◆ init() [1/2]

bool nngn::Fonts::init ( void  )
Here is the caller graph for this function:

◆ init() [2/2]

bool nngn::Fonts::init ( void  )

◆ load() [1/2]

uint32_t nngn::Fonts::load ( unsigned int  size,
const char *  filename 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ load() [2/2]

uint32_t nngn::Fonts::load ( unsigned int  size,
const char *  filename 
)

◆ n() [1/2]

size_t nngn::Fonts::n ( ) const
inline

◆ n() [2/2]

size_t nngn::Fonts::n ( ) const
inline

Member Data Documentation

◆ ft

void * nngn::Fonts::ft = {}
private

◆ graphics

Graphics * nngn::Fonts::graphics = nullptr

◆ v

std::vector< Font > nngn::Fonts::v = {{}}
private

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