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)
 

Public Attributes

Graphicsgraphics = nullptr
 

Private Attributes

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

Constructor & Destructor Documentation

◆ Fonts()

nngn::Fonts::Fonts ( void )
default

◆ ~Fonts()

nngn::Fonts::~Fonts ( void )

Member Function Documentation

◆ add()

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

◆ fonts()

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

◆ init()

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

◆ load()

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:

◆ n()

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: