![]() |
rag
graphic 2d engine
|
Interface for text fonts. More...
#include <ITextFont.h>
Public Member Functions | |
virtual int | getWidth (const std::string &text)=0 |
Returns the width of a text. | |
virtual void | print (const std::string &text, const glm::mat4 &matrix)=0 |
Renders text. Asumes ortho projection 1:1 screen pixel. | |
virtual void | setLetterSpacing (float value) |
virtual void | reloadTexture () |
Sets the extra space between characters. | |
Interface for text fonts.