50 #ifndef IFONTPROVIDER_H_
51 #define IFONTPROVIDER_H_
53 #include "mb/IMBDefs.h"
54 #include "mb/interface/IDiscreteMediaProvider.h"
64 static const short FP_AUTO_WORDWRAP = -10;
66 static const short FP_TA_LEFT = 0x01;
67 static const short FP_TA_CENTER = 0x02;
68 static const short FP_TA_RIGHT = 0x04;
72 virtual string getLoadSymbol()=0;
74 virtual void* getFontProviderContent()=0;
76 virtual void getStringExtents(
const char* text,
int* w,
int* h)=0;
77 virtual int getStringWidth(
const char* text,
int textLength=0)=0;
78 virtual int getHeight()=0;
80 virtual void playOver(
ISurface* surface)=0;
82 virtual void playOver(
85 int x,
int y,
short align)=0;
94 typedef ::br::pucrio::telemidia::ginga::core::mb::IFontProvider*
96 GingaScreenID screenId,
100 typedef void FontProviderDestroyer(
Definition: IDiscreteMediaProvider.h:62
Definition: ISurface.h:64
Definition: IFontProvider.h:62