Class to draw text with OpenGL and MY PNG font renderer
Public Methods
-
Text2D()
- Constructors / Destructors
-
~Text2D()
-
inline void setName(const string &n)
-
inline string getName() const
-
inline void SetPosition(double x, double y)
-
inline void SetScale(double x, double y)
-
inline void SetLabel(const string &l)
-
void glPosScal()
-
inline string getLabel() const
- Position and scale in OpenGL environment
-
inline int getAnchorPoint() const
-
int LoadXML(char* file_name)
-
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
-
void Out(char* c) const
Private Fields
-
string textname
-
string Label
-
Vector2D Position
- string to draw
-
Vector2D Scale
-
int anchorpoint
Documentation
Class to draw text with OpenGL and MY PNG font renderer
Text2D()
- Constructors / Destructors
~Text2D()
inline void setName(const string &n)
inline string getName() const
inline void SetPosition(double x, double y)
inline void SetScale(double x, double y)
inline void SetLabel(const string &l)
void glPosScal()
inline string getLabel() const
- Position and scale in OpenGL environment
inline int getAnchorPoint() const
int LoadXML(char* file_name)
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
void Out(char* c) const
string textname
string Label
Vector2D Position
- string to draw
Vector2D Scale
int anchorpoint
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.