ScummVM API documentation
Grim::Font Class Referenceabstract
Inheritance diagram for Grim::Font:
Grim::BitmapFont Grim::FontTTF

Public Member Functions

virtual int32 getKernedHeight () const =0
 
virtual int32 getFontWidth () const =0
 
virtual int getKernedStringLength (const Common::String &text) const =0
 
virtual int32 getBaseOffsetY () const =0
 
virtual void render (Graphics::Surface &buf, const Common::String &currentLine, const Graphics::PixelFormat &pixelFormat, uint32 blackColor, uint32 color, uint32 colorKey) const =0
 
virtual int32 getCharKernedWidth (uint32 c) const =0
 
virtual int getPoolId () const =0
 
virtual int32 getPoolTag () const =0
 
virtual bool is8Bit () const =0
 
const Common::StringgetFilename () const
 
int32 getWCharKernedWidth (byte hi, byte lo) const
 
bool isKoreanChar (const byte hi, const byte lo) const
 

Static Public Member Functions

static FontgetByFileName (const Common::String &fileName)
 
static FontgetFirstFont ()
 
static void save (const Font *font, SaveGame *state)
 
static Fontload (SaveGame *state)
 

Protected Attributes

Common::String _filename
 

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