mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
font draw improvements
This commit is contained in:
parent
889b2a62b5
commit
fa4538c124
3 changed files with 64 additions and 32 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue