Создание изображения из текста и накладывание одного изображения на другое.
This commit is contained in:
parent
9af7778b77
commit
38655e9c1b
5 changed files with 69 additions and 27 deletions
5
psf.h
5
psf.h
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue