Match and link CFont

Former-commit-id: 914ca994a0
This commit is contained in:
2022-12-22 17:18:13 -08:00
parent ccc0eb32d2
commit 39d22b8758
3 changed files with 15 additions and 2 deletions

View File

@@ -1,13 +1,16 @@
#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:
float mFontSize;
int mFontSize;
float mScale;
};