25 #include "common/scummsys.h" 26 #include "common/hashmap.h" 27 #include "common/func.h" 28 #include "graphics/font.h" 30 #include "dgds/dgds.h" 38 class SeekableReadStream;
43 class ResourceManager;
48 DgdsFont(byte w, byte h, byte start, byte count,
const byte *glyphs);
52 virtual int getCharWidth(uint32 chr)
const override = 0;
62 void drawDgdsChar(
Graphics::Surface* dst,
int pos,
int x,
int y,
int w, uint32 color)
const;
63 bool hasChar(byte chr)
const;
64 virtual int charOffset(byte chr)
const = 0;
70 PFont(byte w, byte h, byte start, byte count, byte *data);
72 int getCharWidth(uint32 chr)
const override;
73 void drawChar(
Graphics::Surface *dst, uint32 chr,
int x,
int y, uint32 color)
const override;
77 const uint16 *_offsets;
81 int charOffset(byte chr)
const override;
87 FFont(byte w, byte h, byte start, byte count, byte *data);
90 void drawChar(
Graphics::Surface *dst, uint32 chr,
int x,
int y, uint32 color)
const override;
96 int charOffset(byte chr)
const override;
116 const DgdsFont *getFont(FontType)
const;
123 struct FontTypeHash {
126 uint operator()(FontType val)
const {
137 #endif // DGDS_FONT_H
int getCharWidth(uint32 chr) const override
Definition: font.h:89
virtual int getMaxCharWidth() const override
Definition: font.h:51
Definition: algorithm.h:29
Definition: formatinfo.h:28
virtual int getFontHeight() const override
Definition: font.h:50
Definition: hash-str.h:74
Definition: decompress.h:67
Definition: resource.h:49