font draw improvements

This commit is contained in:
MihailRis 2022-07-15 16:54:35 +03:00 • committed by GitHub
parent 889b2a62b5
commit fa4538c124
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 32 deletions

View file

@ -16,7 +16,7 @@ public:
int getGlyphWidth(char c);
bool isPrintableChar(int c);
void draw(Batch2D* batch, std::wstring text, int x, int y);
void drawWithShadow(Batch2D* batch, std::wstring text, int x, int y);
void drawWithOutline(Batch2D* batch, std::wstring text, int x, int y);
};
#endif /* GRAPHICS_FONT_H_ */