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 FontBufferException { MaxNumOfFontsExceed }

Public Functions

const SafeRenderer::QSafeFont *loadFont(const SafeRenderer::qchar *const fileName, const SafeRenderer::quint32 crc)

Detailed Description

Member Type Documentation

enum QSafeFontCache::FontBufferException

ConstantValue
SafeRenderer::QSafeFontCache::MaxNumOfFontsExceed0

Member Function Documentation

const SafeRenderer::QSafeFont *QSafeFontCache::loadFont(const SafeRenderer::qchar *const fileName, const SafeRenderer::quint32 crc)

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

Available under certain Qt licenses.
Find out more.