FIFE  2008.0
FIFE::SubImageFont Class Reference

#include <subimagefont.h>

Inheritance diagram for FIFE::SubImageFont:
Inheritance graph
Collaboration diagram for FIFE::SubImageFont:
Collaboration graph

Public Member Functions

 SubImageFont (const std::string &filename, const std::string &glyphs)
 
- Public Member Functions inherited from FIFE::ImageFontBase
 ImageFontBase ()
 
virtual ~ImageFontBase ()
 
virtual int32_t getWidth (const std::string &text) const
 
virtual int32_t getHeight () const
 
- Public Member Functions inherited from FIFE::FontBase
void setRowSpacing (int32_t spacing)
 
int32_t getRowSpacing () const
 
void setGlyphSpacing (int32_t spacing)
 
int32_t getGlyphSpacing () const
 
void setAntiAlias (bool antiAlias)
 
bool isAntiAlias ()
 
ImagegetAsImage (const std::string &text)
 
ImagegetAsImageMultiline (const std::string &text)
 
SDL_Color getColor () const
 
- Public Member Functions inherited from FIFE::IFont
virtual void setColor (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255)=0
 

Detailed Description

Imagefont that is able to read glyphs from single image sheet, see e.g. guichan imagefontcollection (google for it)

Definition at line 44 of file subimagefont.h.

Constructor & Destructor Documentation

FIFE::SubImageFont::SubImageFont ( const std::string &  filename,
const std::string &  glyphs 
)

Constructor.

Parameters
filenamethe filename of the Image Font.
glyphsthe glyphs for Guichan format.

Definition at line 48 of file subimagefont.cpp.


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