43 #include <private/qpixmap_raster_p.h> 44 #include <private/qpaintbuffer_p.h> 45 #include <private/qwindowsurface_raster_p.h> QTraceWindowSurface(QWidget *widget)
The QPainter class performs low-level painting on widgets and other paint devices.
QRect geometry() const
Returns the currently allocated area on the screen.
QWindowSurface * createWindowSurface(QWidget *widget) const
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
bool open(OpenMode flags)
Opens the file using OpenMode mode, returning true if successful; otherwise false.
void beginPaint(const QRegion &rgn)
This function is called before painting onto the surface begins, with the region in which the paintin...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
void endPaint(const QRegion &rgn)
This function is called after painting onto the surface has ended, with the region in which the paint...
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDataStream & writeBytes(const char *, uint len)
Writes the length specifier len and the buffer s to the stream and returns a reference to the stream...
The QRegion class specifies a clip region for a painter.
The QWindowSurface class provides the drawing area for top-level windows.
void draw(QPainter *painter, int frame=0) const
The QFile class provides an interface for reading from and writing to files.
virtual void endPaint(const QRegion &)
This function is called after painting onto the surface has ended, with the region in which the paint...
void beginPaint(const QRegion &rgn)
This function is called before painting onto the surface begins, with the region in which the paintin...
QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.
The QPoint class defines a point in the plane using integer precision.
QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.
The QRect class defines a rectangle in the plane using integer precision.
QPixmapData * createPixmapData(QPixmapData::PixelType type) const
The QDataStream class provides serialization of binary data to a QIODevice.
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...
void setFloatingPointPrecision(FloatingPointPrecision precision)
Sets the floating point precision of the data stream to precision.
QWidget * window() const
Returns a pointer to the top-level window associated with this surface.
void setBoundingRect(const QRectF &rect)
static int area(const QSize &s)