Public Member Functions | |
FontGenerator () | |
~FontGenerator () | |
void | Init () |
void | DrawText (const char *text, int x=0, int y=0, bool vertical=false) |
Public Attributes | |
bool | isInitialized |
unsigned int | m_texName |
unsigned int | m_texW |
unsigned int | m_texH |
Definition at line 110 of file wxglviewer.h.
LuxGLViewer::FontGenerator::FontGenerator | ( | ) |
Definition at line 829 of file wxglviewer.cpp.
References isInitialized.
LuxGLViewer::FontGenerator::~FontGenerator | ( | ) |
Definition at line 849 of file wxglviewer.cpp.
void LuxGLViewer::FontGenerator::DrawText | ( | const char * | text, | |
int | x = 0 , |
|||
int | y = 0 , |
|||
bool | vertical = false | |||
) |
Definition at line 852 of file wxglviewer.cpp.
References cimg_library::CImg< T >::draw_text(), cimg_library::CImg< T >::height, isInitialized, m_texH, m_texName, m_texW, cimg_library::CImg< T >::ptr(), and cimg_library::CImg< T >::width.
Referenced by lux::LuxGLViewer::DrawRulers().
void LuxGLViewer::FontGenerator::Init | ( | ) |
Definition at line 833 of file wxglviewer.cpp.
References isInitialized, m_texH, m_texName, and m_texW.
Referenced by lux::LuxGLViewer::OnPaint().
Definition at line 116 of file wxglviewer.h.
Referenced by DrawText(), FontGenerator(), and Init().
Definition at line 117 of file wxglviewer.h.
Referenced by DrawText(), and Init().
Definition at line 117 of file wxglviewer.h.
Referenced by DrawText(), and Init().
Definition at line 117 of file wxglviewer.h.
Referenced by DrawText(), and Init().