Jive reference manual
|
#include <jem/gl/TextProjector.h>
Public Types | |
typedef TextPainter | Super |
Public Member Functions | |
TextProjector (const Font &font=Font(), Alignment hAlign=LEFT_ALIGNED, Alignment vAlign=BOT_ALIGNED) | |
void | begin (GfxContext >x) |
void | begin (GfxContext >x, const Transform &proj) |
void | end () |
void | setCursor (GLdouble x, GLdouble y) |
void | setCursor (GLdouble x, GLdouble y, GLdouble z) |
bool | isVisible () const |
![]() | |
TextPainter (const Font &font=Font(), Alignment hAlign=LEFT_ALIGNED, Alignment vAlign=BOT_ALIGNED) | |
void | begin (GfxContext >x) |
void | end () |
GLsizei | write (char ch) |
GLsizei | writeLine (const char *str) |
GLsizei | writeLine (const String &str) |
GLsizei | writeLine (const char *str, idx_t len) |
Size2i | writeBlock (const String &text) |
void | writeBlock (const String &text, const Size2i &size) |
Size2i | getSizeOf (const String &text) const |
void | setCursor (GLint x, GLint y) |
void | setCursor (GLint x, GLint y, GLfloat z) |
Additional Inherited Members | |
![]() | |
Font | font |
GLint | xPos |
GLint | yPos |
GLfloat | zPos |
GLfloat | angle |
Alignment | hAlignment |
Alignment | vAlignment |
|
explicit |
void jem::gl::TextProjector::begin | ( | GfxContext & | gtx | ) |
void jem::gl::TextProjector::begin | ( | GfxContext & | gtx, |
const Transform & | proj | ||
) |
void jem::gl::TextProjector::end | ( | ) |
void jem::gl::TextProjector::setCursor | ( | GLdouble | x, |
GLdouble | y | ||
) |
void jem::gl::TextProjector::setCursor | ( | GLdouble | x, |
GLdouble | y, | ||
GLdouble | z | ||
) |
bool jem::gl::TextProjector::isVisible | ( | ) | const |