C

QSafeBitmapResource Class

class SafeRenderer::QSafeBitmapResource

The QSafeBitmapResource class provides the Qt resource file implementation of QSafeBitmap. More...

Header: #include <QSafeBitmapResource>
Since: QtSafeRenderer 1.0
Inherits: SafeRenderer::QSafeBitmap

This class was introduced in QtSafeRenderer 1.0.

Public Functions

Reimplemented Public Functions

virtual const SafeRenderer::ARGB *scanline(const SafeRenderer::quint32 pixelRow) const override

Detailed Description

It is possible to link the data structures generated by Qt's resource compiler into the Qt Safe Renderer binary. The generated data can be accessed using the QSafeBitmapResource class.

Note: Only uncompressed resource binaries are supported. That is, you must call the resource compiler with -no-compress option if you use the resource compiler via the command line. For more information, see Resource Compiler (rcc).

Member Function Documentation

QSafeBitmapResource::QSafeBitmapResource()

Constructs a QSafeBitmapResource object.

Note: Only uncompressed resource binaries are supported. That is, you must call the resource compiler with -no-compress option if you use the resource compiler via the command line. For more information, see Resource Compiler (rcc).

[virtual] QSafeBitmapResource::~QSafeBitmapResource()

Destroys a QSafeBitmapResource object.

[override virtual] const SafeRenderer::ARGB *QSafeBitmapResource::scanline(const SafeRenderer::quint32 pixelRow) const

Reimplements: QSafeBitmap::scanline(const SafeRenderer::quint32 pixelRow) const.

A getter function for a bitmap row.

Returns the pointer to the start of the bitmap's pixelRow or NULL if pixelRow is out of range.

Available under certain Qt licenses.
Find out more.