208 Row(
unsigned int rowTop,
unsigned int rowHeight) : width(0), top(rowTop), height(rowHeight) {}
218 typedef std::map<Uint32, Glyph> GlyphTable;
230 unsigned int nextRow;
231 std::vector<Row> rows;
250 Glyph loadGlyph(Uint32 codePoint,
unsigned int characterSize,
bool bold)
const;
262 IntRect findGlyphRect(Page& page,
unsigned int width,
unsigned int height)
const;
272 bool setCurrentSize(
unsigned int characterSize)
const;
277 typedef std::map<unsigned int, Page> PageTable;
286 mutable PageTable m_pages;
287 mutable std::vector<Uint8> m_pixelBuffer;
const Glyph & getGlyph(Uint32 codePoint, unsigned int characterSize, bool bold) const
Retrieve a glyph of the font.
int getKerning(Uint32 first, Uint32 second, unsigned int characterSize) const
Get the kerning offset of two glyphs.
Image living on the graphics card that can be used for drawing.