Change Font.getChar* to Font.getGlyph* (makes more sense) and remove unused Glyph/GlyphIndex classes

This commit is contained in:
Joshua Granick
2015-03-12 22:19:49 -07:00
parent 7aaaa16ada
commit 168473e5c2
6 changed files with 66 additions and 152 deletions

View File

@@ -8,6 +8,10 @@
#include <utils/Resource.h>
#include <hx/CFFI.h>
#ifdef HX_WINDOWS
#undef GetGlyphIndices
#endif
namespace lime {
@@ -45,10 +49,10 @@ namespace lime {
value Decompose (int em);
int GetAscender ();
int GetCharIndex (char* character);
value GetCharIndices (char* characters);
int GetDescender ();
wchar_t *GetFamilyName ();
int GetGlyphIndex (char* character);
value GetGlyphIndices (char* characters);
value GetGlyphMetrics (int index);
int GetHeight ();
int GetNumGlyphs ();