#include <korfont.h>
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 FontKorean * | createFont (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 |
Korean Wansung compatible font.
|
virtual |
Loads the ROM data from "KOREAN#.FNT".
Implements Graphics::FontKorean.