ScummVM API documentation
AGS3::IAGSFontRenderer2 Class Referenceabstract
Inheritance diagram for AGS3::IAGSFontRenderer2:
AGS3::IAGSFontRenderer AGS3::IAGSFontRendererInternal AGS3::Plugins::AGSSpriteFont::SpriteFontRenderer AGS3::Plugins::AGSSpriteFont::VariableWidthSpriteFontRenderer AGS3::TTFFontRenderer AGS3::WFNFontRenderer AGS3::Plugins::AGSSpriteFont::SpriteFontRendererClifftop AGS3::Plugins::AGSSpriteFont::VariableWidthSpriteFontRendererClifftop

Public Member Functions

virtual int GetVersion ()=0
 
virtual const char * GetRendererName ()=0
 
virtual const char * GetFontName (int fontNumber)=0
 
virtual int GetFontHeight (int fontNumber)=0
 
virtual int GetLineSpacing (int fontNumber)=0
 
- Public Member Functions inherited from AGS3::IAGSFontRenderer
virtual bool LoadFromDisk (int fontNumber, int fontSize)=0
 
virtual void FreeMemory (int fontNumber)=0
 
virtual bool SupportsExtendedCharacters (int fontNumber)=0
 
virtual int GetTextWidth (const char *text, int fontNumber)=0
 
virtual int GetTextHeight (const char *text, int fontNumber)=0
 
virtual void RenderText (const char *text, int fontNumber, BITMAP *destination, int x, int y, int colour)=0
 
virtual void AdjustYCoordinateForFont (int *ycoord, int fontNumber)=0
 
virtual void EnsureTextValidForFont (char *text, int fontNumber)=0
 

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