22 #ifndef GRAPHICS_WINFONT_H 23 #define GRAPHICS_WINFONT_H 25 #include "common/str.h" 26 #include "graphics/font.h" 29 class SeekableReadStream;
69 int getCharWidth(uint32 chr)
const;
70 void drawChar(
Surface *dst, uint32 chr,
int x,
int y, uint32 color)
const;
80 char indexToCharacter(uint16 index)
const;
81 uint16 characterToIndex(uint32 character)
const;
99 kFontStyleUnderline = 4,
104 GlyphEntry() { bitmap = 0; charWidth = 0; offset = 0; }
105 ~GlyphEntry() {
delete[] bitmap; }
int getFontHeight() const
Definition: winfont.h:65
int getFontAscent() const
Definition: winfont.h:66
Definition: algorithm.h:29
Definition: formatinfo.h:28
int getMaxCharWidth() const
Definition: winfont.h:67