Add Font.get_glyph()
This commit is contained in:
parent
07618f8a79
commit
4a0727b535
@ -98,4 +98,9 @@ class Font
|
|||||||
{
|
{
|
||||||
return m_dft_font.baseline_offset;
|
return m_dft_font.baseline_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Glyph get_glyph(uint char_code, int outline_size)
|
||||||
|
{
|
||||||
|
return new Glyph(this, char_code, outline_size);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user