ScummVM API documentation
Grim::FontTTF Class Reference
Inheritance diagram for Grim::FontTTF:
Grim::Font Grim::PoolObject< FontTTF > Grim::PoolObjectBase

Public Member Functions

void loadTTF (const Common::String &filename, Common::SeekableReadStream *data, int size)
 
void loadTTFFromArchive (const Common::String &filename, int size)
 
int getPoolId () const override
 
int32 getPoolTag () const override
 
int32 getKernedHeight () const override
 
int32 getBaseOffsetY () const override
 
int32 getCharKernedWidth (uint32 c) const override
 
int32 getFontWidth () const override
 
int getKernedStringLength (const Common::String &text) const override
 
void render (Graphics::Surface &buf, const Common::String &currentLine, const Graphics::PixelFormat &pixelFormat, uint32 blackColor, uint32 color, uint32 colorKey) const override
 
bool is8Bit () const override
 
void saveState (SaveGame *state) const
 
void restoreState (SaveGame *state)
 
int32 getWCharKernedWidth (byte hi, byte lo) const
 
- Public Member Functions inherited from Grim::Font
const Common::StringgetFilename () const
 
int32 getWCharKernedWidth (byte hi, byte lo) const
 
bool isKoreanChar (const byte hi, const byte lo) const
 
- Public Member Functions inherited from Grim::PoolObject< FontTTF >
void setId (int id)
 
int getId () const override
 
int32 getTag () const override
 

Static Public Member Functions

static int32 getStaticTag ()
 
- Static Public Member Functions inherited from Grim::Font
static FontgetByFileName (const Common::String &fileName)
 
static FontgetFirstFont ()
 
static void save (const Font *font, SaveGame *state)
 
static Fontload (SaveGame *state)
 
- Static Public Member Functions inherited from Grim::PoolObject< FontTTF >
static PoolgetPool ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from Grim::PoolObject< FontTTF >
static void saveStaticState (SaveGame *state)
 
static void restoreStaticState (SaveGame *state)
 
- Protected Attributes inherited from Grim::Font
Common::String _filename
 

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