SafeWindow Classclass SafeRenderer::SafeWindow
This class was introduced in QtSafeRenderer 1.2.
|SafeWindow(const SafeRenderer::QSafeSize &sizeArg, const SafeRenderer::QSafePoint &originArg = QSafePoint())|
The SafeWindow class implements the AbstractWindow interface for the supported platforms.
Member Function Documentation
SafeWindow::SafeWindow(const SafeRenderer::QSafeSize &sizeArg, const SafeRenderer::QSafePoint &originArg = QSafePoint())
Constructs a SafeWindow object with a sizeArg and originArg. sizeArg is the size of the target surface. originArg is the position of the target surface on the screen. By default the originArg is at 0, 0.
In case of a failure, one of the following exceptions will be thrown:
|The bitmap could not found bitmap by given ID.|
|The item could not be found.|
|The item's position is out of the layout's boundaries.|
|The bits per pixel value in the window is neither 16 nor 32, or the given framebuffer address is NULL, or the framebuffer is not 32-bit word aligned.|
Available under certain Qt licenses.
Find out more.