Updated love.font, and added Glyph object in love.graphics.

This commit is contained in:
rude
2009-07-30 21:43:00 +02:00
parent 26625c46cb
commit 477d5a05b8
32 changed files with 862 additions and 248 deletions
+5 -2
View File
@@ -49,6 +49,9 @@ namespace font
FontMetrics metrics;
public:
virtual ~Rasterizer();
/**
* Gets the max height of the glyphs.
**/
@@ -78,10 +81,10 @@ namespace font
* Gets a specific glyph.
* @param glyph The (UNICODE) glyph to get data for
**/
virtual GlyphData * getGlyphData(const wchar_t glyph) const = 0;
virtual GlyphData * getGlyphData(unsigned short glyph) const = 0;
}; // FontData
}; // Rasterizer
} // font
} // love