Very simple 8x8 monospace font, typically for 7-bit ASCII characters between 0x20 and 0x7f.
More...
#include <sg_Monospace.hpp>
|
typedef std::vector< bool > | Bitmap |
| Bitmap of a single character, showing which pixels to turn on/off. More...
|
|
typedef std::map< char, Bitmap > | Fontmap |
| Map of every character in this font. More...
|
|
Very simple 8x8 monospace font, typically for 7-bit ASCII characters between 0x20 and 0x7f.
- See also
- SG::Font::EType
-
SG::Font::get()
Bitmap of a single character, showing which pixels to turn on/off.
Map of every character in this font.
SG::Font::Monospace::Monospace |
( |
void |
| ) |
|
SG::Font::Monospace::~Monospace |
( |
void |
| ) |
|
|
virtual |
virtual Bitmap SG::Font::Monospace::get |
( |
char |
c | ) |
const |
|
inlinevirtual |
Get a bitmap to use for the given ASCII character.
References get_fontmap().
virtual Fontmap SG::Font::Monospace::get_fontmap |
( |
void |
| ) |
const |
|
pure virtual |
virtual size_t SG::Font::Monospace::get_height |
( |
void |
| ) |
const |
|
inlinevirtual |
virtual std::string SG::Font::Monospace::get_name |
( |
void |
| ) |
const |
|
pure virtual |
virtual size_t SG::Font::Monospace::get_width |
( |
void |
| ) |
const |
|
inlinevirtual |
Get the width of each character.
The documentation for this class was generated from the following files: