Interface for text fonts.
Definition: ITextFont.h:10
virtual void print(const std::string &text, const glm::mat4 &matrix)=0
Renders text. Asumes ortho projection 1:1 screen pixel.
virtual void reloadTexture()
Sets the extra space between characters.
Definition: ITextFont.h:20
virtual int getWidth(const std::string &text)=0
Returns the width of a text.