![]() |
Power System Platform
2018w15a
|
Class to draw text on OpenGL using wxWidgets. More...
#include <OpenGLText.h>
Public Member Functions | |
| OpenGLText (wxString text) | |
| virtual void | Draw (wxPoint2DDouble position, double angle=0.0) const |
| virtual OpenGLText * | GetCopy () |
| virtual void | SetText (wxString text) |
| virtual wxString | GetText () const |
| virtual int | GetWidth () const |
| virtual int | GetHeight () const |
| virtual void | SetFontSize (int fontSize) |
| virtual void | SetFontWeight (wxFontWeight fontWeight) |
| virtual void | SetFontStyle (wxFontStyle fontStyle) |
| virtual void | SetFontFamily (wxFontFamily fontFamily) |
| virtual bool | IsTextureOK () |
Protected Member Functions | |
| void | Init () |
| int | RoundToPowerOfTwo (int value, int min=32) |
| void | TextToBitmap () |
| void | LoadTextTexture () |
Class to draw text on OpenGL using wxWidgets.
1.8.13