Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Attributes | List of all members
br::pucrio::telemidia::ginga::core::mb::SDLFontProvider Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::mb::SDLFontProvider:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::mb::SDLFontProvider:
Collaboration graph
[legend]

Public Member Functions

 SDLFontProvider (GingaScreenID screenId, const char *fontUri, int heightInPixel)
 
string getLoadSymbol ()
 
void * getFontProviderContent ()
 
void getStringExtents (const char *text, int *w, int *h)
 
int getStringWidth (const char *text, int textLength=0)
 
int getHeight ()
 
void playOver (ISurface *surface, const char *text, int x, int y, short align)
 

Static Public Attributes

static const short A_LEFT
 
static const short A_CENTER
 
static const short A_RIGHT
 
static const short A_TOP = 3
 
static const short A_TOP_CENTER = 4
 
static const short A_TOP_LEFT = 5
 
static const short A_TOP_RIGHT = 6
 
static const short A_BOTTOM = 7
 
static const short A_BOTTOM_CENTER = 8
 
static const short A_BOTTOM_LEFT = 9
 
static const short A_BOTTOM_RIGHT = 10
 
- Static Public Attributes inherited from br::pucrio::telemidia::ginga::core::mb::IFontProvider
static const short FP_AUTO_WORDWRAP = -10
 
static const short FP_TA_LEFT = 0x01
 
static const short FP_TA_CENTER = 0x02
 
static const short FP_TA_RIGHT = 0x04
 

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