15#include <QtGui/qpainter.h>
16#include <QtGui/qwindow.h>
17#include <QtCore/qdebug.h>
61 for (
const QRect &
r : region)
77 if (targetWindow !=
window()) {
The QColor class provides colors based on RGB, HSV or CMYK values.
The QPainter class performs low-level painting on widgets and other paint devices.
void setCompositionMode(CompositionMode mode)
Sets the composition mode to the given mode.
void fillRect(const QRectF &, const QBrush &)
Fills the given rectangle with the brush specified.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
bool isNull() const
Returns true if this is a null pixmap; otherwise returns false.
QPlatformPixmap * handle() const
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
QWindowsDirect2DBackingStore(QWindow *window)
void resize(const QSize &size, const QRegion &staticContents) override
void beginPaint(const QRegion &) override
This function is called before painting onto the surface begins, with the region in which the paintin...
void endPaint() override
This function is called after painting onto the surface has ended.
void flush(QWindow *targetWindow, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
~QWindowsDirect2DBackingStore()
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
Combined button and popup list for selecting options.
static jboolean copy(JNIEnv *, jobject)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLuint GLintptr offset
GLsizei GLfixed GLfixed GLfixed GLfixed const GLubyte * bitmap
static QWindowsDirect2DPlatformPixmap * platformPixmap(QPixmap *p)
static QWindowsDirect2DWindow * nativeWindow(QWindow *window)