Added GetHeight()
This was SVN commit r1236.
This commit is contained in:
parent
5b74afce82
commit
cdf7334d34
@ -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);
|
||||
|
@ -29,6 +29,7 @@ public:
|
||||
|
||||
void Bind();
|
||||
int GetLineSpacing();
|
||||
int GetHeight();
|
||||
void CalculateStringSize(const CStrW& string, int& w, int& h);
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user