Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qopenglpaintdevice_p.h
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QOPENGL_PAINTDEVICE_P_H
5#define QOPENGL_PAINTDEVICE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of the Qt OpenGL classes. This header file may change from
13// version to version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <qopenglpaintdevice.h>
19#include <private/qglobal_p.h>
20
22
23class QOpenGLContext;
24class QPaintEngine;
25
26class Q_OPENGL_EXPORT QOpenGLPaintDevicePrivate
27{
28public:
31
32 static QOpenGLPaintDevicePrivate *get(QOpenGLPaintDevice *dev) { return dev->d_func(); }
33
34 virtual void beginPaint() { }
35 virtual void endPaint() { }
36
37public:
40
44
45 bool flipped;
46
48};
49
51
52#endif // QOPENGL_PAINTDEVICE_P_H
\inmodule QtGui
static QOpenGLPaintDevicePrivate * get(QOpenGLPaintDevice *dev)
The QOpenGLPaintDevice class enables painting to an OpenGL context using QPainter.
\inmodule QtGui
\inmodule QtCore
Definition qsize.h:25
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
double qreal
Definition qtypes.h:187