The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
QGLContext ( const QGLFormat & format, QPaintDevice * device ) (obsolete) |
void | generateFontDisplayLists ( const QFont & font, int listBase ) (obsolete) |
Constructs an OpenGL context for the given paint device, which can be a widget or a pixmap. The format specifies several display options for the context.
If the underlying OpenGL/Window system cannot satisfy all the features requested in format, the nearest subset of features will be used. After creation, the format() method will return the actual format obtained.
Note that after a QGLContext object has been constructed, create() must be called explicitly to create the actual OpenGL context. The context will be invalid if it was not possible to obtain a GL context at all.
Generates a set of 256 display lists for the 256 first characters in the font font. The first list will start at index listBase.
See also QGLWidget::renderText().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.