#include <Syndicate/Data/Font.h>
Inheritance diagram for Syndicate::Data::Font:
Public Member Functions | |
Font (void) | |
~Font (void) | |
template<typename TColors> | |
void | get (unsigned id, TColors *pixels, unsigned pitch, const TColors *colors=Colors< TColors >::_default) const |
virtual void | info (void) |
bool | load (char const *filename) |
unsigned | getLength (void) |
Static Public Attributes | |
static const unsigned | _nb_fonts = 128 |
Protected Attributes | |
unsigned | _data_length |
Private Attributes | |
Data * | _data |
Classes | |
struct | Data |
Syndicate::Data::Font::Font | ( | void | ) | [inline] |
Syndicate::Data::Font::~Font | ( | void | ) | [inline] |
void Syndicate::Data::Font::get | ( | unsigned | id, | |
TColors * | pixels, | |||
unsigned | pitch, | |||
const TColors * | colors = Colors< TColors >::_default | |||
) | const [inline] |
virtual void Syndicate::Data::File::info | ( | void | ) | [virtual, inherited] |
In debug mode it display the informations.
bool Syndicate::Data::File::load | ( | char const * | filename | ) | [inherited] |
This method load the content (unpacked) of the file at the adress pointed by _data.
[in] | filename | the name of the file. |
true | if success. | |
false | if fails. If previous file is loaded, the data keep unaffected. |
unsigned Syndicate::Data::File::getLength | ( | void | ) | [inline, inherited] |
const unsigned Syndicate::Data::Font::_nb_fonts = 128 [static] |
Data* Syndicate::Data::Font::_data [private] |
Reimplemented from Syndicate::Data::File.
unsigned Syndicate::Data::File::_data_length [protected, inherited] |