Member Function Documentation
QBackingStore::QBackingStore(QWindow * window)
Constructs an empty surface for the given top-level window.
QBackingStore::~QBackingStore()
Destroys this surface.
void QBackingStore::beginPaint(const QRegion & region)
This function is called before painting onto the surface begins, with the region in which the painting will occur.
See also endPaint() and paintDevice().
void QBackingStore::endPaint()
This function is called after painting onto the surface has ended.
See also beginPaint() and paintDevice().
void QBackingStore::flush(const QRegion & region, QWindow * win = 0, const QPoint & offset = QPoint())
Flushes the given region from the specified window onto the screen.
Note that the offset parameter is currently unused.
QPlatformBackingStore * QBackingStore::handle() const
bool QBackingStore::hasStaticContents() const
QPaintDevice * QBackingStore::paintDevice()
Implement this function to return the appropriate paint device.
void QBackingStore::resize(const QSize & size)
Sets the size of the windowsurface to be size.
See also size().
bool QBackingStore::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.
Returns true if the area was scrolled successfully; false otherwise.
void QBackingStore::setStaticContents(const QRegion & region)
See also staticContents().
QSize QBackingStore::size() const
Returns the current size of the windowsurface.
QRegion QBackingStore::staticContents() const
See also setStaticContents().
QWindow * QBackingStore::window() const
Returns a pointer to the top-level window associated with this surface.