42 #ifndef QWINDOWSURFACE_X11GL_P_H 43 #define QWINDOWSURFACE_X11GL_P_H 56 #include <private/qwindowsurface_p.h> 83 #endif // QWINDOWSURFACE_X11GL_P_H
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
QX11GLWindowSurface(QWidget *window)
QRect rect(const QWidget *widget) const
Returns the rectangle for widget in the coordinates of this window surface.
void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset)
Flushes the given region from the specified widget onto the screen.
virtual QPoint offset(const QWidget *widget) const
Returns the offset of widget in the coordinates of this window surface.
virtual ~QX11GLWindowSurface()
void setGeometry(const QRect &rect)
Sets the currently allocated area to be the given rect.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRegion class specifies a clip region for a painter.
bool scroll(const QRegion &area, int dx, int dy)
Scrolls the given area dx pixels to the right and dy downward; both dx and dy may be negative...
The QWindowSurface class provides the drawing area for top-level windows.
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.
The QPixmap class is an off-screen image representation that can be used as a paint device...
QPixmap grabWidget(const QWidget *widget, const QRect &rectangle=QRect()) const
Returns a QPixmap generated from the part of the backing store corresponding to widget.
QWidget * window() const
Returns a pointer to the top-level window associated with this surface.
static int area(const QSize &s)