[Kde-games-devel] Coordinate System in QGLWidget

Christoph Keller christoph-keller at web.de
Mon Apr 21 18:22:38 CEST 2003


I have created an OpenGl Widget using a class derived of QGLWidget. I 
can draw in this Widget, but the left bottom Corner has the Coordinates 
(-1/-1) and the upper right corner the coordiantes (1/1). But i Want to 
draw in Pixels, and access the widget in Pixels. I know how to do this 
with a Window created with the glut Toolkit, but found nothing about it 
in the Qt-Documentation and the OpenGl Documentation at sgi.com. I am 
Thankful for help.

Christoph Keller



More information about the kde-games-devel mailing list