Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwindowsdirect2dbackingstore.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWINDOWSDIRECT2DBACKINGSTORE_H
6
#
define
QWINDOWSDIRECT2DBACKINGSTORE_H
7
8
#
include
<
QtGui
/
qpa
/
qplatformbackingstore
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QWindowsDirect2DWindow;
13
14
class
QWindowsDirect2DBackingStore
:
public
QPlatformBackingStore
15
{
16
Q_DISABLE_COPY_MOVE
(
QWindowsDirect2DBackingStore
)
17
18
public
:
19
QWindowsDirect2DBackingStore
(
QWindow
*
window
);
20
~
QWindowsDirect2DBackingStore
();
21
22
void
beginPaint
(
const
QRegion &)
override
;
23
void
endPaint
()
override
;
24
25
QPaintDevice
*
paintDevice
()
override
;
26
void
flush
(QWindow *targetWindow,
const
QRegion ®ion,
const
QPoint &offset)
override
;
27
void
resize
(
const
QSize &size,
const
QRegion &staticContents)
override
;
28
29
QImage
toImage
()
const
override
;
30
};
31
32
QT_END_NAMESPACE
33
34
#
endif
// QWINDOWSDIRECT2DBACKINGSTORE_H
QPoint
\inmodule QtCore\reentrant
Definition
qpoint.h:30
QWindowsDirect2DBackingStore
Backing store for windows.
Definition
qwindowsdirect2dbackingstore.h:15
QWindowsDirect2DBackingStore::resize
void resize(const QSize &size, const QRegion &staticContents) override
Definition
qwindowsdirect2dbackingstore.cpp:86
QWindowsDirect2DBackingStore::beginPaint
void beginPaint(const QRegion &) override
This function is called before painting onto the surface begins, with the region in which the paintin...
Definition
qwindowsdirect2dbackingstore.cpp:52
QWindowsDirect2DBackingStore::endPaint
void endPaint() override
This function is called after painting onto the surface has ended.
Definition
qwindowsdirect2dbackingstore.cpp:66
QWindowsDirect2DBackingStore::flush
void flush(QWindow *targetWindow, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
Definition
qwindowsdirect2dbackingstore.cpp:76
QWindowsDirect2DBackingStore::paintDevice
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
Definition
qwindowsdirect2dbackingstore.cpp:71
QWindowsDirect2DBackingStore::~QWindowsDirect2DBackingStore
~QWindowsDirect2DBackingStore()
Definition
qwindowsdirect2dbackingstore.cpp:48
QWindowsDirect2DBackingStore::toImage
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
Definition
qwindowsdirect2dbackingstore.cpp:99
QWindowsDirect2DBitmap
Definition
qwindowsdirect2dbitmap.h:25
QWindowsDirect2DPlatformPixmap
Definition
qwindowsdirect2dplatformpixmap.h:18
QWindowsDirect2DWindow
Definition
qwindowsdirect2dwindow.h:19
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
platformPixmap
static QWindowsDirect2DPlatformPixmap * platformPixmap(QPixmap *p)
Definition
qwindowsdirect2dbackingstore.cpp:28
nativeWindow
static QWindowsDirect2DWindow * nativeWindow(QWindow *window)
Definition
qwindowsdirect2dbackingstore.cpp:38
bitmap
static QWindowsDirect2DBitmap * bitmap(QPixmap *p)
Definition
qwindowsdirect2dbackingstore.cpp:33
qtbase
src
plugins
platforms
direct2d
qwindowsdirect2dbackingstore.h
Generated on
for Qt by
1.18.0