18#ifndef INCLUDED_FONTMETRICS
19#define INCLUDED_FONTMETRICS
Helper class for measuring sizes of text.
Definition: FontMetrics.h:30
int GetLineSpacing() const
Definition: FontMetrics.cpp:32
int GetCharacterWidth(wchar_t c) const
Definition: FontMetrics.cpp:48
void CalculateStringSize(const wchar_t *string, int &w, int &h) const
Definition: FontMetrics.cpp:55
CFontMetrics(CStrIntern font)
Definition: FontMetrics.cpp:27
std::shared_ptr< CFont > m_Font
Definition: FontMetrics.h:40
int GetHeight() const
Definition: FontMetrics.cpp:41
Storage for a bitmap font.
Definition: Font.h:27
Interned 8-bit strings.
Definition: CStrIntern.h:38