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