Qore Programming Language

  • Increase font size
  • Default font size
  • Decrease font size

opengl: 2dpainting example

E-mail Print PDF

This is the QT opengl example "2dpainting" ported from C++ to Qore.  Note that all QT opengl examples require 3 QT modules (qt-core, qt-gui, and qt-opengl) as well as the Qore opengl module to run.

The 2D Painting example shows how QPainter and QGLWidget can be used together to display accelerated 2D graphics on supported hardware.

2dpainting.q

Screenshot:

2dpainting example

Last Updated on Sunday, 05 October 2008 10:07