Pioneer
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
PiGui::PiFont Class Reference

#include <PiGui.h>

Classes

struct  CustomGlyphData
 

Public Types

using UsedRange = std::pair< uint16_t, uint16_t >
 

Public Member Functions

 PiFont (PiFontDefinition &fontDef, int pixelSize)
 
const std::string & name () const
 
std::vector< PiFace > & faces () const
 
const std::vector< UsedRange > & used_ranges () const
 
int pixelsize () const
 
const PiFontDefinitiondefinition () const
 
std::vector< CustomGlyphData > & custom_glyphs ()
 
void describe (bool withFaces=false) const
 
bool addGlyph (unsigned short glyph)
 

Member Typedef Documentation

◆ UsedRange

using PiGui::PiFont::UsedRange = std::pair<uint16_t, uint16_t>

Constructor & Destructor Documentation

◆ PiFont()

PiGui::PiFont::PiFont ( PiFontDefinition fontDef,
int  pixelSize 
)
inline

Member Function Documentation

◆ addGlyph()

bool PiFont::addGlyph ( unsigned short  glyph)

◆ custom_glyphs()

std::vector< CustomGlyphData > & PiGui::PiFont::custom_glyphs ( )
inline

◆ definition()

const PiFontDefinition & PiGui::PiFont::definition ( ) const
inline

◆ describe()

void PiFont::describe ( bool  withFaces = false) const

◆ faces()

std::vector< PiFace > & PiGui::PiFont::faces ( ) const
inline

◆ name()

const std::string & PiGui::PiFont::name ( ) const
inline

◆ pixelsize()

int PiGui::PiFont::pixelsize ( ) const
inline

◆ used_ranges()

const std::vector< UsedRange > & PiGui::PiFont::used_ranges ( ) const
inline

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