added BitmapFont.cpp/.h and VGA8.F16

This commit is contained in:
2023-06-28 18:40:06 +08:00
parent 6877f75a1b
commit 1902252126
5 changed files with 256 additions and 153 deletions

12
BitmapFont.h Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
#include<hgl/type/DataType.h>
using namespace hgl;
bool LoadBitmapFont();
void ClearBitmapFont();
const uint GetCharWidth();
const uint GetCharHeight();
const uint8 *GetBitmapChar(const char ch);