prime/include/Kyoto/Text/CFont.hpp
Phillip Stephens 39d22b8758 Match and link CFont
Former-commit-id: 914ca994a0cb7cbe6f5e9c23af0d56f7b42161bf
2022-12-22 17:18:13 -08:00

18 lines
294 B
C++

#ifndef _CFONT
#define _CFONT
#include "Kyoto/Graphics/CColor.hpp"
class CFont {
public:
CFont(float scale);
~CFont();
int CharWidth(char) const;
void DrawString(const char* str, long x, long y, const CColor& col) const;
private:
int mFontSize;
float mScale;
};
#endif // _CFONT