summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglpaintdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopenglpaintdevice.h')
-rw-r--r--src/gui/opengl/qopenglpaintdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h
index 7d4b901fe7..c1c3dfe9f8 100644
--- a/src/gui/opengl/qopenglpaintdevice.h
+++ b/src/gui/opengl/qopenglpaintdevice.h
@@ -71,6 +71,7 @@ class Q_GUI_EXPORT QOpenGLPaintDevice : public QPaintDevice
{
Q_DECLARE_PRIVATE(QOpenGLPaintDevice)
public:
+ QOpenGLPaintDevice();
explicit QOpenGLPaintDevice(const QSize &size);
QOpenGLPaintDevice(int width, int height);
virtual ~QOpenGLPaintDevice();
@@ -80,6 +81,7 @@ public:
QOpenGLContext *context() const;
QSize size() const;
+ void setSize(const QSize &size);
qreal dotsPerMeterX() const;
qreal dotsPerMeterY() const;