CCoeFontProvider Class Reference

class CCoeFontProvider : public CBase

A helper object designed to make obtaining a font easier, taking into account zoom factors.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CCoeFontProvider(const TDesC &)

CCoeFontProvider(const TDesC &aTypefaceName)[private]

Parameters

const TDesC & aTypefaceName

~CCoeFontProvider()

~CCoeFontProvider()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Font(const TCoeFont &, const TZoomFactor &)

IMPORT_C const CFont &Font(const TCoeFont &aFont,
const TZoomFactor &aZoomFactor
)const

Parameters

const TCoeFont & aFont
const TZoomFactor & aZoomFactor

NewL()

IMPORT_C CCoeFontProvider *NewL()[static]

NewL(const TDesC &)

IMPORT_C CCoeFontProvider *NewL(const TDesC &aTypefaceName)[static]

Parameters

const TDesC & aTypefaceName

RefetchPixelMappingL()

voidRefetchPixelMappingL()

ReleaseAllFonts()

voidReleaseAllFonts()[private]

SetTypeface(const TTypeface)

IMPORT_C voidSetTypeface(const TTypefaceaTypeface)

Parameters

const TTypeface aTypeface

Typeface()

IMPORT_C TTypefaceTypeface()const

UseSystemTypeface()

IMPORT_C voidUseSystemTypeface()

Member Data Documentation

RArray< TFont > iFonts

RArray< TFont >iFonts[private]

RArray< TInt > iLogicalToPixelSizes

RArray< TInt >iLogicalToPixelSizes[private]

TTypeface iTypeface

TTypeface iTypeface[private]