22 #ifndef MM_UTILS_BITMAP_FONT_H 23 #define MM_UTILS_BITMAP_FONT_H 25 #include "common/array.h" 26 #include "common/rect.h" 27 #include "graphics/font.h" 28 #include "graphics/managed_surface.h" Definition: managed_surface.h:51
void drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override
virtual void drawChar(Surface *dst, uint32 chr, int x, int y, uint32 color) const =0
Definition: detection.h:27
int getFontHeight() const override
Definition: bitmap_font.h:53
BitmapFont()
Definition: bitmap_font.h:43
bool load(const Common::Path &filename)
Definition: bitmap_font.h:35
int getMaxCharWidth() const override
Definition: bitmap_font.h:58
int getCharWidth(uint32 chr) const override
Definition: bitmap_font.h:63