stuff-from-scratch/src/fonts/BasicFontEngine.h
2022-11-15 15:50:36 +00:00

15 lines
342 B
C++

#pragma once
#include "IFontEngine.h"
#include "Image.h"
#include "FontGlyph.h"
class BasicFontEngine : public IFontEngine
{
virtual void initialize(){};
virtual void loadFontFace(const std::filesystem::path& fontFile, int penSize = 16){};
virtual std::unique_ptr<FontGlyph> loadGlyph(unsigned charCode){return nullptr;};
};