PDA

View Full Version : QGLWidget and draw string



giorgik
25th April 2013, 15:58
Hi all, there is a method of QGLWidget type draw_string( i, 0, 0, str ) that allows me to draw in (i, 0, 0) the string str ? An example of C + + code that will allow me to do what ?

Santosh Reddy
25th April 2013, 17:54
void QGLWidget::renderText ( double x, double y, double z, const QString & str, const QFont & font = QFont(), int listBase = 2000 )

giorgik
25th April 2013, 19:30
Tanks you, Santosh Reddy, very much