C

QSafeRendererException Class

class SafeRenderer::QSafeRendererException

An 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.

ConstantValueDescription
SafeRenderer::QSafeRendererException::UnsupportedSurfaceFormat0The bits per pixel value in the window is neither 16 or 32.
SafeRenderer::QSafeRendererException::BitmapOutOfScreen1The bitmap does not fit inside the screen area.
SafeRenderer::QSafeRendererException::InvalidBitmapPointer2The bitmap pointer is a null pointer.
SafeRenderer::QSafeRendererException::InvalidBitmapId3The bitmap ID is 0.

Available under certain Qt licenses.
Find out more.