MDirectGdiDriverCacheSize Class Reference

class MDirectGdiDriverCacheSize

Interface intended for implementation by CDirectGdiDriverInternal to allow clients control over the maximum sizes used by an image cache and a glyph cache.

Member Functions Documentation

MaxGlyphCacheSize()

TInt MaxGlyphCacheSize()const [pure virtual]

Gets the maximum size of the driver's glyph cache.

MaxImageCacheSize()

TInt MaxImageCacheSize()const [pure virtual]

Gets the maximum size of the driver's image cache.

SetMaxGlyphCacheSize(TInt)

TInt SetMaxGlyphCacheSize(TIntaSize)[pure virtual]

Sets the maximum size of the glyph cache used by the driver implementation.

Parameters

TInt aSizeThe maximum size in bytes that the glyph cache should use.

SetMaxImageCacheSize(TInt)

TInt SetMaxImageCacheSize(TIntaSize)[pure virtual]

Sets the maximum size of the image cache used by the driver implementation.

Parameters

TInt aSizeThe maximum size in bytes that the image cache should use.