Basic Font integration.
This commit is contained in:
parent
ce11c52ae5
commit
72123bc333
36 changed files with 325 additions and 198 deletions
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "IFontEngine.h"
|
||||
|
||||
#include "Image.h"
|
||||
|
||||
class BasicFontEngine : public IFontEngine
|
||||
{
|
||||
virtual void initialize(){};
|
||||
|
||||
virtual void loadFontFace(const std::filesystem::path& fontFile, int penSize = 16){};
|
||||
|
||||
virtual std::unique_ptr<Image<unsigned char> > loadGlyph(unsigned charCode){return nullptr;};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue