COpenFontSessionCache Class Reference

class COpenFontSessionCache

A glyph cache for a particular session. Because session caches are not shared they can shrink as well as grow.

Constructor & Destructor Documentation

COpenFontSessionCache(TInt)

COpenFontSessionCache(TIntaSessionHandle)[private]

Parameters

TInt aSessionHandle

~COpenFontSessionCache()

~COpenFontSessionCache()[private]

Member Functions Documentation

Delete(RHeap *)

voidDelete(RHeap *aHeap)

Parameters

RHeap * aHeap

Glyph(const COpenFont *, TInt, TInt &)

const COpenFontGlyph *Glyph(const COpenFont *aFont,
TIntaCode,
TInt &aIndex
)

Parameters

const COpenFont * aFont
TInt aCode
TInt & aIndex

Insert(RHeap *, COpenFontSessionCacheEntry *, TInt)

voidInsert(RHeap *aHeap,
COpenFontSessionCacheEntry *aEntry,
TIntaIndex
)

Parameters

RHeap * aHeap
COpenFontSessionCacheEntry * aEntry
TInt aIndex

NewL(RHeap *, TInt, TInt)

COpenFontSessionCache *NewL(RHeap *aHeap,
TIntaSessionHandle,
TIntaEntries
)[static]

Parameters

RHeap * aHeap
TInt aSessionHandle
TInt aEntries

SessionHandle()

TInt SessionHandle()[inline]

Member Data Documentation

ROffsetArray< COpenFontSessionCacheEntry > iEntryArray

ROffsetArray< COpenFontSessionCacheEntry >iEntryArray

TInt iLastAccess

TInt iLastAccess

TInt iSessionHandle

TInt iSessionHandle