Add Glyph.advance()
This commit is contained in:
1 parent
80da83058d
commit
07618f8a79
1 file changed
+5
@@ -59,6 +59,11 @@ class Font
|
||||
return m_dft_glyph.top;
|
||||
}
|
||||
|
||||
@property int advance()
|
||||
{
|
||||
return m_dft_glyph.advance;
|
||||
}
|
||||
|
||||
@property const(ubyte)[] bitmap()
|
||||
{
|
||||
int n_bytes = width * height;
|
||||
|
||||
Reference in new issue
Block a user