C

QSafeFontLoader Class

class SafeRenderer::QSafeFontLoader

QSafeFontLoader class loads a specified font. More...

Header: #include <QSafeFontLoader>
Since: QtSafeRenderer 1.1
Inherits: SafeRenderer::QSafeFont

This class was introduced in QtSafeRenderer 1.1.

Public Functions

SafeRenderer::quint32 getFontFileId() const
virtual void loadFile(const SafeRenderer::qchar *const filenameArg, const SafeRenderer::quint32 crcArg) = 0
void setFontFileId(const SafeRenderer::quint32 &idArg)

Detailed Description

The QSafeFontLoader class loads a specified font.

Member Function Documentation

SafeRenderer::quint32 QSafeFontLoader::getFontFileId() const

Returns the id of the font file. The id is a hash of the file name.

This function was introduced in QtSafeRenderer 1.1.

[pure virtual] void QSafeFontLoader::loadFile(const SafeRenderer::qchar *const filenameArg, const SafeRenderer::quint32 crcArg)

Pure virtual definition for loading bitmap filenameArg with crcArg.

void QSafeFontLoader::setFontFileId(const SafeRenderer::quint32 &idArg)

Sets the idArg of the font file. The idArg is a hash of the file name.

This function was introduced in QtSafeRenderer 1.1.

Available under certain Qt licenses.
Find out more.