7 #ifndef CAFU_MATSYS_FONT_HPP_INCLUDED
8 #define CAFU_MATSYS_FONT_HPP_INCLUDED
13 namespace MatSys {
class RenderMaterialT; }
24 FontT(
const std::string& MaterialName);
36 void Print(
int PosX,
int PosY,
float FrameWidth,
float FrameHeight,
unsigned long Color,
const std::string& PrintString);
40 void AccPrint(
int PosX,
int PosY,
unsigned long Color,
const std::string& PrintString);
void Print(int PosX, int PosY, float FrameWidth, float FrameHeight, unsigned long Color, const std::string &PrintString)
Prints PrintString at (PosX, PosY) in color Color.
Definition: Font.cpp:47
This class represents a surface render material.
Definition: RenderMaterial.hpp:25
A class for MatSys-based font rendering.
Definition: Font.hpp:19
~FontT()
The destructor.
Definition: Font.cpp:21
FontT & operator=(const FontT &Other)
The assignment operator.
Definition: Font.cpp:36
FontT(const std::string &MaterialName)
The constructor.
Definition: Font.cpp:15
void AccPrintBegin(float FrameWidth, float FrameHeight)
Accumulative printing functions. Faster if you have to call Print() a lot.
Definition: Font.cpp:55