ScummVM API documentation
Scumm::CharsetRendererMac Class Reference
Inheritance diagram for Scumm::CharsetRendererMac:
Scumm::CharsetRendererCommon Scumm::CharsetRenderer

Public Member Functions

 CharsetRendererMac (ScummEngine *vm, const Common::Path &fontFile)
 
void setCurID (int32 id) override
 
int getStringWidth (int arg, const byte *text) override
 
int getFontHeight () const override
 
int getCharWidth (uint16 chr) const override
 
void printChar (int chr, bool ignoreCharsetMask) override
 
void setColor (byte color, bool) override
 
- Public Member Functions inherited from Scumm::CharsetRendererCommon
 CharsetRendererCommon (ScummEngine *vm)
 
- Public Member Functions inherited from Scumm::CharsetRenderer
 CharsetRenderer (ScummEngine *vm)
 
virtual void drawChar (int chr, Graphics::Surface &s, int x, int y)
 
void addLinebreaks (int a, byte *str, int pos, int maxwidth)
 
void translateColor ()
 
int getCurID ()
 
virtual int getCharHeight (uint16 chr) const
 
virtual byte getColor ()
 
void saveLoadWithSerializer (Common::Serializer &ser)
 

Protected Member Functions

int getDrawWidthIntern (uint16 chr) const
 
void printCharInternal (int chr, int color, bool shadow, int x, int y)
 
byte getTextColor ()
 
byte getTextShadowColor ()
 

Protected Attributes

const Graphics::Font_font
 
bool _useCorrectFontSpacing
 
bool _pad
 
int _lastTop
 
Graphics::Surface_glyphSurface
 
- Protected Attributes inherited from Scumm::CharsetRendererCommon
const byte * _fontPtr
 
int _bitsPerPixel
 
int _fontHeight
 
int _numChars
 
byte _shadowColor
 
ShadowType _shadowType
 
- Protected Attributes inherited from Scumm::CharsetRenderer
byte _color
 
ScummEngine_vm
 
int32 _curId
 

Additional Inherited Members

- Public Types inherited from Scumm::CharsetRendererCommon
enum  ShadowType { kNoShadowType, kNormalShadowType, kHorizontalShadowType, kOutlineShadowType }
 
- Public Attributes inherited from Scumm::CharsetRenderer
Common::Rect _str
 
int _top
 
int _left
 
int _startLeft
 
int _right
 
bool _center
 
bool _hasMask
 
VirtScreenNumber _textScreenID
 
bool _blitAlso
 
bool _firstChar
 
bool _disableOffsX
 

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