22 #ifndef GRAPHICS_FONTS_AMIGAFONT_H 23 #define GRAPHICS_FONTS_AMIGAFONT_H 25 #include "graphics/font.h" 28 class SeekableReadStream;
35 #include "common/pack-start.h" 41 struct AmigaDiskFont {
57 #include "common/pack-end.h" 71 uint16 getPixels(byte c)
const;
72 uint16 getOffset(byte c)
const;
74 uint32 mapChar(uint32 c)
const;
86 virtual int getFontHeight()
const;
87 virtual int getCharWidth(uint32 chr)
const;
88 virtual int getMaxCharWidth()
const;
89 virtual int getKerningOffset(uint32 left, uint32 right)
const;
90 virtual void drawChar(
Surface *dst, uint32 chr,
int x,
int y, uint32 color)
const;
92 int getLoChar() {
return _font->_loChar; }
93 int getHiChar() {
return _font->_hiChar; }
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: amigafont.h:33