22 #ifndef FIFE_FONTS_FONTBASE_H
23 #define FIFE_FONTS_FONTBASE_H
29 #include "util/base/fife_stdint.h"
38 #include "textrenderpool.h"
60 virtual int32_t getStringIndexAt(
const std::string &text, int32_t x)
const;
64 std::string splitTextToWidth (
const std::string& text, int32_t render_width);
68 virtual SDL_Surface* renderString(
const std::string& text) = 0;
74 int32_t mGlyphSpacing;
77 std::string mFilename;
int32_t getGlyphSpacing() const
Image * getAsImageMultiline(const std::string &text)
void setAntiAlias(bool antiAlias)
void setRowSpacing(int32_t spacing)
int32_t getRowSpacing() const
Image * getAsImage(const std::string &text)
void setGlyphSpacing(int32_t spacing)
SDL_Color getColor() const