C
QSafeBitmapResource Class
class SafeRenderer::QSafeBitmapResourceThe QSafeBitmapResource class provides the Qt resource file implementation of QSafeBitmap. More...
Header: | #include <QSafeBitmapResource> |
Since: | QtSafeRenderer 1.0 |
Inherits: | SafeRenderer::QSafeBitmap |
Public Functions
Reimplemented Public Functions
virtual const SafeRenderer::ARGB * | scanline(const SafeRenderer::qint32 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
[default]
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).
[override virtual]
const SafeRenderer::ARGB *QSafeBitmapResource::scanline(const SafeRenderer::qint32 pixelRow) const
A getter function for a bitmap row.
Returns the pointer to the start of the bitmap's pixelRow or nullptr if pixelRow is out of range.
Available under certain Qt licenses.
Find out more.