ScummVM API documentation
Graphics::FontKoreanSVM Class Reference

#include <korfont.h>

Inheritance diagram for Graphics::FontKoreanSVM:
Graphics::FontKoreanBase Graphics::FontKorean

Public Member Functions

bool loadData (const char *fontFile)
 
- Public Member Functions inherited from Graphics::FontKoreanBase
virtual void setDrawingMode (DrawingMode mode)
 
virtual void toggleFlippedMode (bool enable)
 
virtual uint getFontHeight () const
 
virtual uint getMaxFontWidth () const
 
virtual uint getCharWidth (uint16 ch) const
 
virtual void drawChar (void *dst, uint16 ch, int pitch, int bpp, uint32 c1, uint32 c2, int maxW, int maxH) const
 
- Public Member Functions inherited from Graphics::FontKorean
virtual void setDrawingMode (DrawingMode mode)
 
virtual void setCharSpacing (int spacing)
 
virtual void setLineSpacing (int spacing)
 
void drawChar (Graphics::Surface &dst, uint16 ch, int x, int y, uint32 c1, uint32 c2) const
 

Additional Inherited Members

- Public Types inherited from Graphics::FontKorean
enum  DrawingMode { kDefaultMode, kOutlineMode, kShadowMode }
 
- Static Public Member Functions inherited from Graphics::FontKorean
static FontKoreancreateFont (const char *fontFile)
 
- Protected Types inherited from Graphics::FontKoreanBase
enum  DrawingFeature {
  kFeatDefault = 1 << 0, kFeatOutline = 1 << 1, kFeatShadow = 1 << 2, kFeatFMTownsShadow = 1 << 3,
  kFeatFlipped = 1 << 4
}
 
- Protected Member Functions inherited from Graphics::FontKoreanBase
bool isASCII (uint16 ch) const
 
- Protected Attributes inherited from Graphics::FontKoreanBase
DrawingMode _drawMode
 
bool _flippedMode
 
int _fontWidth
 
int _fontHeight
 
uint8 _bitPosNewLineMask
 

Detailed Description

Our custom Korean FNT.

Member Function Documentation

◆ loadData()

bool Graphics::FontKoreanSVM::loadData ( const char *  fontFile)
virtual

Load the font data from "KOREAN.FNT".

Implements Graphics::FontKorean.


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