ScummVM API documentation
AGS3::TTFFontRenderer Class Reference
Inheritance diagram for AGS3::TTFFontRenderer:
AGS3::IAGSFontRendererInternal AGS3::IAGSFontRenderer2 AGS3::IAGSFontRenderer

Public Member Functions

bool LoadFromDisk (int fontNumber, int fontSize) override
 
void FreeMemory (int fontNumber) override
 
bool SupportsExtendedCharacters (int) override
 
int GetTextWidth (const char *text, int fontNumber) override
 
int GetTextHeight (const char *text, int fontNumber) override
 
void RenderText (const char *text, int fontNumber, BITMAP *destination, int x, int y, int colour) override
 
void AdjustYCoordinateForFont (int *ycoord, int fontNumber) override
 
void EnsureTextValidForFont (char *text, int fontNumber) override
 
int GetVersion () override
 
const char * GetRendererName () override
 
const char * GetFontName (int fontNumber) override
 
int GetFontHeight (int fontNumber) override
 
int GetLineSpacing (int fontNumber) override
 
bool IsBitmapFont () override
 
bool LoadFromDiskEx (int fontNumber, int fontSize, AGS::Shared::String *src_filename, const FontRenderParams *params, FontMetrics *metrics) override
 
void GetFontMetrics (int fontNumber, FontMetrics *metrics) override
 
void AdjustFontForAntiAlias (int fontNumber, bool aa_mode) override
 

Static Public Member Functions

static bool MeasureFontOfPointSize (const AGS::Shared::String &filename, int size_pt, FontMetrics *metrics)
 
static bool MeasureFontOfPixelHeight (const AGS::Shared::String &filename, int pixel_height, FontMetrics *metrics)
 

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