Added GetHeight()

This was SVN commit r1236.
This commit is contained in:
Gee 2004-10-14 10:10:43 +00:00
parent 5b74afce82
commit cdf7334d34
2 changed files with 6 additions and 0 deletions

View File

@ -67,6 +67,11 @@ int CFont::GetLineSpacing()
return unifont_linespacing(h);
}
int CFont::GetHeight()
{
return unifont_height(h);
}
void CFont::CalculateStringSize(const CStrW& string, int& width, int& height)
{
unifont_stringsize(h, (const wchar_t*)string, width, height);

View File

@ -29,6 +29,7 @@ public:
void Bind();
int GetLineSpacing();
int GetHeight();
void CalculateStringSize(const CStrW& string, int& w, int& h);
private: