|
Public Member Functions |
| | PG_FontEngine () |
| | ~PG_FontEngine () |
Static Public Member Functions |
| static bool | RenderText (SDL_Surface *Surface, const PG_Rect &ClipRect, int BaseLineX, int BaseLineY, const PG_String &Text, PG_Font *ParamIn) |
| | render text onto a surface
|
| static bool | RenderText (SDL_Surface *Surface, const PG_Rect *ClipRect, int BaseLineX, int BaseLineY, const PG_String &Text, PG_Font *ParamIn) |
| static bool | GetTextSize (const PG_String &Text, PG_Font *ParamIn, Uint16 *Width=NULL, Uint16 *Height=NULL, int *BaselineY=NULL, int *FontLineSkip=NULL, Uint16 *FontHeight=NULL, int *Ascent=NULL, int *Descent=NULL) |
Static Protected Member Functions |
| static bool | BlitFTBitmap (SDL_Surface *Surface, FT_Bitmap *Bitmap, int PosX, int PosY, PG_Font *Param, const PG_Rect *ClipRect) |
| static void | FontEngineError (FT_Error error) |
Classes |
| class | FONT_ITEM |