Public Member Functions | |
| ChineseTwoByteFontLoK (int pitch, const uint16 *lookupTable, uint32 lookupTableSize) | |
Public Member Functions inherited from Kyra::ChineseFont | |
| ChineseFont (int pitch, int renderWidth, int renderHeight, int spacingWidth, int spacingHeight, int extraSpacingWidth, int extraSpacingHeight) | |
| virtual Type | getType () const override |
| bool | load (Common::SeekableReadStream &data) override |
| void | setStyles (int styles) override |
| int | getHeight () const override |
| int | getWidth () const override |
| int | getCharWidth (uint16 c) const override |
| int | getCharHeight (uint16 c) const override |
| void | setColorMap (const uint8 *src) override |
| void | drawChar (uint16 c, byte *dst, int pitch, int) const override |
Public Member Functions inherited from Kyra::Font | |
| virtual bool | load (Common::SeekableReadStream &file)=0 |
| virtual bool | usesOverlay () const |
| virtual Type | getType () const =0 |
| virtual int | getHeight () const =0 |
| virtual int | getWidth () const =0 |
| virtual int | getCharWidth (uint16 c) const =0 |
| virtual int | getCharHeight (uint16 c) const |
| virtual void | setColorMap (const uint8 *src)=0 |
| virtual void | setHiColorMap (const uint32 *src) |
| virtual void | setStyles (int styles) |
| virtual void | drawChar (uint16 c, byte *dst, int pitch, int bpp) const =0 |
| virtual void | drawChar (uint16 c, byte *dst, int pitch, int xOffs, int yOffs) const |
Additional Inherited Members | |
Public Types inherited from Kyra::Font | |
| enum | Type { kASCII = 0 , kJIS_X0201 , kSJIS , kBIG5 , kJohab } |
| enum | FontStyle { kStyleNone = 0 , kStyleLeftShadow = 1 << 0 , kStyleBorder = 1 << 1 , kStyleFat = 1 << 2 , kStyleNarrow1 = 1 << 3 , kStyleNarrow2 = 1 << 4 , kStyleFullWidth = 1 << 5 , kStyleForceOneByte = 1 << 6 } |
Protected Member Functions inherited from Kyra::ChineseFont | |
| uint32 | getGlyphDataSize () const |
Protected Attributes inherited from Kyra::ChineseFont | |
| uint16 | _textColor [2] |
| bool | _pixelColorShading |
| const uint8 * | _colorMap |
| bool | _border |