25#include "common/scummsys.h"
26#include "common/hashmap.h"
27#include "common/func.h"
28#include "graphics/font.h"
38class SeekableReadStream;
48 DgdsFont(
byte w,
byte h,
byte start,
byte count,
const byte *glyphs);
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);
77 const uint16 *_offsets;
81 int charOffset(
byte chr)
const override;
87 FFont(
byte w,
byte h,
byte start,
byte count,
byte *data);
96 int charOffset(
byte chr)
const override;
116 const DgdsFont *getFont(FontType)
const;
123 struct FontTypeHash {
126 uint operator()(FontType val)
const {
Definition: decompress.h:67
virtual int getCharWidth(uint32 chr) const override=0
virtual int getFontHeight() const override
Definition: font.h:50
virtual int getMaxCharWidth() const override
Definition: font.h:51
int getCharWidth(uint32 chr) const override
Definition: font.h:89
void drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override
void drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override
int getCharWidth(uint32 chr) const override
Definition: resource.h:48
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: hash-str.h:74