QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QGLFramebufferObject.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QGLFRAMEBUFFEROBJECT_H
2 #define QTSCRIPTSHELL_QGLFRAMEBUFFEROBJECT_H
3 
4 #include <qglframebufferobject.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QGLFramebufferObject : public QGLFramebufferObject
9 {
10 public:
11  QtScriptShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format);
12  QtScriptShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format);
14 
15  int devType() const;
16  int metric(QPaintDevice::PaintDeviceMetric metric) const;
17  QPaintEngine* paintEngine() const;
18 
19  QScriptValue __qtscript_self;
20 };
21 
22 #endif // QTSCRIPTSHELL_QGLFRAMEBUFFEROBJECT_H