QSafeBitmap Class

class SafeRenderer::QSafeBitmap

The QSafeBitmap class holds the bitmap file. More...

Header: #include <QSafeBitmap>
Since: QtSafeRenderer 1.1
Inherited By:

SafeRenderer::QSafeBitmapBuffer and SafeRenderer::QSafeBitmapResource

This class was introduced in QtSafeRenderer 1.1.

Public Functions

SafeRenderer::quint32 hash() const
SafeRenderer::quint32 height() const
virtual const SafeRenderer::ARGB *scanline(const SafeRenderer::quint32 pixelRow) const = 0
void setHash(const SafeRenderer::quint32 hashArg)
void setHeight(const SafeRenderer::quint32 heightArg)
void setWidth(const SafeRenderer::quint32 widthArg)
SafeRenderer::quint32 width() const

Detailed Description

Member Function Documentation


Constructor for the QSafeBitmap class.

SafeRenderer::quint32 QSafeBitmap::hash() const

Returns the hash value of the bitmap file name.

See also setHash().

SafeRenderer::quint32 QSafeBitmap::height() const

Returns the height of the bitmap.

See also setHeight().

[pure virtual] const SafeRenderer::ARGB *QSafeBitmap::scanline(const SafeRenderer::quint32 pixelRow) const

Pure virtual definition for accessing the bitmap row at pixelRow.

void QSafeBitmap::setHash(const SafeRenderer::quint32 hashArg)

Sets the hash value to hashArg.

See also hash().

void QSafeBitmap::setHeight(const SafeRenderer::quint32 heightArg)

Sets the height value to heightArg.

See also height().

void QSafeBitmap::setWidth(const SafeRenderer::quint32 widthArg)

Sets the width value to widthArg.

See also width().

SafeRenderer::quint32 QSafeBitmap::width() const

Returns the width of the bitmap.

See also setWidth().

Available under certain Qt licenses.
Find out more.