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
qwindowsdirect2dpaintdevice.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QWINDOWSDIRECT2DPAINTDEVICE_H
5#define QWINDOWSDIRECT2DPAINTDEVICE_H
6
7#include <QtCore/qscopedpointer.h>
8#include <QtGui/qpaintdevice.h>
10
12
14
17{
18 Q_DECLARE_PRIVATE(QWindowsDirect2DPaintDevice)
19
20public:
24
25 QPaintEngine *paintEngine() const override;
26 int devType() const override;
27
28protected:
29 int metric(PaintDeviceMetric metric) const override;
30
31private:
32 QScopedPointer<QWindowsDirect2DPaintDevicePrivate> d_ptr;
33};
34
36
37#endif // QWINDOWSDIRECT2DPAINTDEVICE_H
\inmodule QtGui
QPaintEngine * paintEngine() const override
int metric(PaintDeviceMetric metric) const override
QWindowsDirect2DPaintDevice(QWindowsDirect2DBitmap *bitmap, QInternal::PaintDeviceFlags flags, QWindowsDirect2DPaintEngine::Flags paintFlags=QWindowsDirect2DPaintEngine::NoFlag)
Combined button and popup list for selecting options.
GLbitfield flags
GLsizei GLfixed GLfixed GLfixed GLfixed const GLubyte * bitmap