TFontSpec Class Reference

class TFontSpec

Specifies the font specification in device independent terms.

Public Member Functions
TFontSpec()
TFontSpec(const TDesC &, TInt)
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
IMPORT_C TIntScriptTypeForMetrics()
IMPORT_C voidSetScriptTypeForMetrics(TLanguage)
IMPORT_C TBooloperator==(const TFontSpec &)
Public Attributes
TFontStyle iFontStyle
TInt iHeight
TTypeface iTypeface

Constructor & Destructor Documentation

TFontSpec()

IMPORT_CTFontSpec()

TFontSpec(const TDesC &, TInt)

IMPORT_CTFontSpec(const TDesC &aTypefaceName,
TIntaHeight
)

Parameters

const TDesC & aTypefaceName
TInt aHeight

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

ScriptTypeForMetrics()

IMPORT_C TIntScriptTypeForMetrics()const

SetScriptTypeForMetrics(TLanguage)

IMPORT_C voidSetScriptTypeForMetrics(TLanguageaLanguage)

Parameters

TLanguage aLanguage

operator==(const TFontSpec &)

IMPORT_C TBooloperator==(const TFontSpec &aFontSpec)const

Parameters

const TFontSpec & aFontSpec

Member Data Documentation

TFontStyle iFontStyle

TFontStyle iFontStyle

The font style of the typeface.

TInt iHeight

TInt iHeight

The height of the typeface (in twips).

TTypeface iTypeface

TTypeface iTypeface

The typeface.