Add Font.getTextMetrics, rename TextLayout->TextEngine
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
#include <graphics/ImageBuffer.h>
|
||||
#include <text/GlyphSet.h>
|
||||
#include <utils/Resource.h>
|
||||
#include <hx/CFFI.h>
|
||||
#include <list>
|
||||
@@ -11,9 +12,6 @@
|
||||
namespace lime {
|
||||
|
||||
|
||||
class Image;
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
unsigned long codepoint;
|
||||
@@ -37,6 +35,7 @@ namespace lime {
|
||||
int GetAscender ();
|
||||
int GetDescender ();
|
||||
wchar_t *GetFamilyName ();
|
||||
value GetGlyphMetrics (GlyphSet *glyphSet);
|
||||
int GetHeight ();
|
||||
int GetNumGlyphs ();
|
||||
int GetUnderlinePosition ();
|
||||
|
||||
Reference in New Issue
Block a user