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

Public Member Functions

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

Static Public Attributes

static const short A_LEFT
 
static const short A_CENTER
 
static const short A_RIGHT
 
static const short A_TOP
 
static const short A_TOP_CENTER
 
static const short A_TOP_LEFT
 
static const short A_TOP_RIGHT
 
static const short A_BOTTOM
 
static const short A_BOTTOM_CENTER
 
static const short A_BOTTOM_LEFT
 
static const short A_BOTTOM_RIGHT
 
- 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
 

Protected Attributes

IDirectFBFont * font
 
string dfltFont
 
GingaScreenID myScreen
 
string plainText
 
int coordX
 
int coordY
 
short align
 

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