Qt 4.8
|
#include <qwindowsurface_vg_p.h>
Public Functions | |
void | beginPaint (const QRegion ®ion) |
This function is called before painting onto the surface begins, with the region in which the painting will occur. More... | |
void | endPaint (const QRegion ®ion) |
This function is called after painting onto the surface has ended, with the region in which the painting was performed. More... | |
WindowSurfaceFeatures | features () const |
void | flush (QWidget *widget, const QRegion ®ion, const QPoint &offset) |
Flushes the given region from the specified widget onto the screen. More... | |
QPaintDevice * | paintDevice () |
Implement this function to return the appropriate paint device. More... | |
QPaintEngine * | paintEngine () const |
QVGWindowSurface (QWidget *window) | |
QVGWindowSurface (QWidget *window, QVGEGLWindowSurfacePrivate *d) | |
bool | scroll (const QRegion &area, int dx, int dy) |
Q_WS_QPA. More... | |
void | setGeometry (const QRect &rect) |
Sets the currently allocated area to be the given rect. More... | |
~QVGWindowSurface () | |
Public Functions inherited from QWindowSurface | |
virtual QImage * | buffer (const QWidget *widget) |
Returns a QImage pointer which represents the actual buffer the widget is drawn into or 0 if this is unavailable. More... | |
QRect | geometry () const |
Returns the currently allocated area on the screen. More... | |
virtual QPixmap | grabWidget (const QWidget *widget, const QRect &rectangle=QRect()) const |
Returns a QPixmap generated from the part of the backing store corresponding to widget. More... | |
bool | hasFeature (WindowSurfaceFeature feature) const |
virtual QPoint | offset (const QWidget *widget) const |
Returns the offset of widget in the coordinates of this window surface. More... | |
QWindowSurface (QWidget *window, bool setDefaultSurface=true) | |
Constructs an empty surface for the given top-level window. More... | |
QRect | rect (const QWidget *widget) const |
Returns the rectangle for widget in the coordinates of this window surface. More... | |
void | setStaticContents (const QRegion ®ion) |
QRegion | staticContents () const |
QWidget * | window () const |
Returns a pointer to the top-level window associated with this surface. More... | |
virtual | ~QWindowSurface () |
Destroys this surface. More... | |
Public Functions inherited from QPaintDevice | |
int | colorCount () const |
int | depth () const |
virtual int | devType () const |
virtual HDC | getDC () const |
int | height () const |
int | heightMM () const |
int | logicalDpiX () const |
int | logicalDpiY () const |
QT_DEPRECATED int | numColors () const |
bool | paintingActive () const |
int | physicalDpiX () const |
int | physicalDpiY () const |
virtual void | releaseDC (HDC hdc) const |
int | width () const |
int | widthMM () const |
virtual | ~QPaintDevice () |
Protected Functions | |
int | metric (PaintDeviceMetric metric) const |
Protected Functions inherited from QWindowSurface | |
bool | hasStaticContents () const |
Protected Functions inherited from QPaintDevice | |
QPaintDevice () | |
Properties | |
QVGEGLWindowSurfacePrivate * | d_ptr |
Additional Inherited Members | |
Public Types inherited from QWindowSurface | |
enum | WindowSurfaceFeature { PartialUpdates = 0x00000001, PreservedContents = 0x00000002, StaticContents = 0x00000004, AllFeatures = 0xffffffff } |
Public Types inherited from QPaintDevice | |
enum | PaintDeviceMetric { PdmWidth = 1, PdmHeight, PdmWidthMM, PdmHeightMM, PdmNumColors, PdmDepth, PdmDpiX, PdmDpiY, PdmPhysicalDpiX, PdmPhysicalDpiY } |
Static Public Functions inherited from QPaintDevice | |
static QWSDisplay * | qwsDisplay () |
Protected Variables inherited from QPaintDevice | |
ushort | painters |
Related Functions inherited from QPaintDevice | |
const Q_GUI_EXPORT QX11Info * | qt_x11Info (const QPaintDevice *pd) |
Returns the QX11Info structure for the pd paint device. More... | |
Definition at line 64 of file qwindowsurface_vg_p.h.
QVGWindowSurface::QVGWindowSurface | ( | QWidget * | window | ) |
Definition at line 55 of file qwindowsurface_vg.cpp.
QVGWindowSurface::QVGWindowSurface | ( | QWidget * | window, |
QVGEGLWindowSurfacePrivate * | d | ||
) |
Definition at line 63 of file qwindowsurface_vg.cpp.
QVGWindowSurface::~QVGWindowSurface | ( | ) |
Definition at line 68 of file qwindowsurface_vg.cpp.
|
virtual |
This function is called before painting onto the surface begins, with the region in which the painting will occur.
Reimplemented from QWindowSurface.
Definition at line 115 of file qwindowsurface_vg.cpp.
|
virtual |
This function is called after painting onto the surface has ended, with the region in which the painting was performed.
Reimplemented from QWindowSurface.
Definition at line 129 of file qwindowsurface_vg.cpp.
|
virtual |
Reimplemented from QWindowSurface.
Definition at line 140 of file qwindowsurface_vg.cpp.
|
virtual |
Flushes the given region from the specified widget onto the screen.
Note that the offset parameter is currently unused.
Implements QWindowSurface.
Definition at line 78 of file qwindowsurface_vg.cpp.
|
protectedvirtual |
Reimplemented from QPaintDevice.
Definition at line 148 of file qwindowsurface_vg.cpp.
|
virtual |
Implement this function to return the appropriate paint device.
Implements QWindowSurface.
Definition at line 73 of file qwindowsurface_vg.cpp.
|
virtual |
Implements QPaintDevice.
Definition at line 135 of file qwindowsurface_vg.cpp.
|
virtual |
Q_WS_QPA.
Reimplemented from QWindowSurface.
Definition at line 108 of file qwindowsurface_vg.cpp.
|
virtual |
Sets the currently allocated area to be the given rect.
This function is called whenever area covered by the top-level window changes.
Reimplemented from QWindowSurface.
Definition at line 97 of file qwindowsurface_vg.cpp.
|
private |
Definition at line 93 of file qwindowsurface_vg_p.h.
Referenced by beginPaint(), features(), flush(), paintEngine(), QVGWindowSurface(), scroll(), and ~QVGWindowSurface().