C

QSafeBitmapFile Class

(SafeRenderer::QSafeBitmapFile)

The QSafeBitmapFile class holds the bitmap data. More...

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

Public Functions

QSafeBitmapFile()
virtual ~QSafeBitmapFile()
virtual const ARGB *scanline(const quint32 pixelRow) const
void setData(const quchar * const dataArg, const quint32 size)

Detailed Description

The QSafeBitmapFile class holds the bitmap data.

The QSafeBitmapFile holds the data of a bitmap file. Memory for the bitmap data is statically reserved. The maximum size of the bitmap file can be changed in qsafeconstraints.h. The variable is SafeRenderer::Constraints::MAX_IMAGE_PIXELS.

Member Function Documentation

QSafeBitmapFile::QSafeBitmapFile()

Constructs a QSafeBitmapFile object.

[virtual] QSafeBitmapFile::~QSafeBitmapFile()

Destroys the instance of QSafeBitmapFile. The destructor is virtual.

[virtual] const ARGB *QSafeBitmapFile::scanline(const quint32 pixelRow) const

Getter for a bitmap row.

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

void QSafeBitmapFile::setData(const quchar * const dataArg, const quint32 size)

Copies the amount bytes given in size from the dataArg pointer to the dataArray variable.

Available under certain Qt licenses.
Find out more.