ScummVM API documentation
Sci::GfxFontFromResource Class Reference

#include <scifont.h>

Inheritance diagram for Sci::GfxFontFromResource:
Sci::GfxFont

Public Member Functions

 GfxFontFromResource (ResourceManager *resMan, GfxScreen *screen, GuiResourceId resourceId)
 
GuiResourceId getResourceId () override
 
uint8 getHeight () override
 
uint8 getCharWidth (uint16 chr) override
 
void draw (uint16 chr, int16 top, int16 left, byte color, bool greyedOutput) override
 
- Public Member Functions inherited from Sci::GfxFont
virtual bool isDoubleByte (uint16 chr)
 
virtual void drawToBuffer (uint16 chr, int16 top, int16 left, byte color, bool greyedOutput, byte *buffer, int16 width, int16 height)
 

Detailed Description

Font class, handles loading of font resources and drawing characters to screen every font resource has its own instance of this class


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