C
QSafeRendererException Class
class SafeRenderer::QSafeRendererExceptionAn instance of QSafeRendererException is thrown in case of an exception. More...
Header: | #include <QSafeRendererException> |
Since: | QtSafeRenderer 2.1 |
Inherits: | SafeRenderer::QSafeException |
Public Types
enum | RendererException { UnsupportedSurfaceFormat, BitmapOutOfScreen, InvalidBitmapPointer, InvalidBitmapId } |
Detailed Description
Instance of this class is thrown when an exception occurs related to saferenderer.
Member Type Documentation
enum QSafeRendererException::RendererException
This enum describes the id of a thrown saferenderer exception.
Constant | Value | Description |
---|---|---|
SafeRenderer::QSafeRendererException::UnsupportedSurfaceFormat | 0 | The bits per pixel value in the window is neither 16 or 32. |
SafeRenderer::QSafeRendererException::BitmapOutOfScreen | 1 | The bitmap does not fit inside the screen area. |
SafeRenderer::QSafeRendererException::InvalidBitmapPointer | 2 | The bitmap pointer is a null pointer. |
SafeRenderer::QSafeRendererException::InvalidBitmapId | 3 | The bitmap ID is 0. |
Available under certain Qt licenses.
Find out more.