Создание изображения из текста и накладывание одного изображения на другое.

This commit is contained in:
Евгений Титаренко 2024-04-11 09:47:52 +03:00
parent 9af7778b77
commit 38655e9c1b
5 changed files with 69 additions and 27 deletions

5
psf.h
View file

@ -40,10 +40,13 @@ public:
class Font {
public:
std::map<char16_t, Glyph> _glyphs;
uint32_t glyphWidth;
uint32_t glyphHeight;
uint32_t glyphsCount;
Font();
Font(uint32_t glyphs);
explicit Font(uint32_t glyphs, uint32_t glyphWidth, uint32_t glyphHeight);
};
Font readPSF(const std::string &filename);