Continue adding opengl font support.
This commit is contained in:
parent
649079a5c7
commit
eef93efc29
37 changed files with 530 additions and 157 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "IFontEngine.h"
|
||||
|
||||
#include "Image.h"
|
||||
#include "FontGlyph.h"
|
||||
|
||||
class BasicFontEngine : public IFontEngine
|
||||
{
|
||||
|
@ -10,5 +11,5 @@ class BasicFontEngine : public IFontEngine
|
|||
|
||||
virtual void loadFontFace(const std::filesystem::path& fontFile, int penSize = 16){};
|
||||
|
||||
virtual std::unique_ptr<Image<unsigned char> > loadGlyph(unsigned charCode){return nullptr;};
|
||||
virtual std::unique_ptr<FontGlyph> loadGlyph(unsigned charCode){return nullptr;};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue