42 #ifndef QWINDOWSURFACE_TESTLITE_H 43 #define QWINDOWSURFACE_TESTLITE_H 45 #include <QtGui/private/qwindowsurface_p.h> #define QT_END_NAMESPACE
This macro expands to.
void resizeShmImage(int width, int height)
QPointer< QWidget > widget
void endPaint(const QRegion ®ion)
This function is called after painting onto the surface has ended, with the region in which the paint...
QXlibWindowSurface(QWidget *window)
virtual QPoint offset(const QWidget *widget) const
Returns the offset of widget in the coordinates of this window surface.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void beginPaint(const QRegion ®ion)
This function is called before painting onto the surface begins, with the region in which the paintin...
The QImage class provides a hardware-independent image representation that allows direct access to th...
The QRegion class specifies a clip region for a painter.
QXlibShmImageInfo * image_info
void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset)
Flushes the given region from the specified widget onto the screen.
The QWindowSurface class provides the drawing area for top-level windows.
QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.
The QPoint class defines a point in the plane using integer precision.
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 QSize class defines the size of a two-dimensional object using integer point precision.
QWidget * window() const
Returns a pointer to the top-level window associated with this surface.
static int area(const QSize &s)