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