C

QSafeFontCache Class

class SafeRenderer::QSafeFontCache

QSafeFontCache class caches a font. More...

Header: #include <QSafeFontCache>
Since: QtSafeRenderer 1.1

This class was introduced in QtSafeRenderer 1.1.

Public Types

enum FontCacheException { MaxNumOfFontsExceed }

Public Functions

const SafeRenderer::QSafeFont *loadFont(const SafeRenderer::qchar *const filenameArg, const SafeRenderer::quint32 crcArg)

Detailed Description

The QSafeFontCache class caches a font.

Member Type Documentation

enum QSafeFontCache::FontCacheException

ConstantValue
SafeRenderer::QSafeFontCache::MaxNumOfFontsExceed0

Member Function Documentation

const SafeRenderer::QSafeFont *QSafeFontCache::loadFont(const SafeRenderer::qchar *const filenameArg, const SafeRenderer::quint32 crcArg)

Loads and returns a font from filenameArg. The checksum of the file content must match with crcArg.

Available under certain Qt licenses.
Find out more.