TCoeFont Class Reference

class TCoeFont

A class to simplify font usage

Public Member Functions
TCoeFont(TLogicalSize, TInt, TInt)
TCoeFont(TInt, TInt, TInt)
TCoeFont(const TCoeFont &)
TCoeFont()
IMPORT_C TCoeFontAnnotationFont(TInt)
TInt Compare(const TCoeFont &, const TCoeFont &)
IMPORT_C TIntHeightInPixels()
IMPORT_C TBoolIsNonZooming()
IMPORT_C TCoeFontLegendFont(TInt)
IMPORT_C TLogicalSizeLogicalSize()
IMPORT_C TCoeFontNormalFont(TInt)
IMPORT_C TFontStyleStyle()
IMPORT_C TCoeFontTitleFont(TInt)
Public Member Enumerations
enumTFlags { ENoFlags = 0x00, ENonZooming = 0x01 }
enumTLogicalSize {
EExtraSmall = 0, ESmall, EMedium, ELarge, EExtraLarge, EUndefinedSize = -1
}
enumTStyle { EPlain = 0x00, EItalic = 0x01, EBold = 0x02, ESuper = 0x04, ESub = 0x08 }
Private Attributes
TInt8 iFlags
TInt8 iHeightInPixels
TLogicalSize iLogicalSize
TInt iSpare
TInt8 iStyle
TTypeface iTypeface

Constructor & Destructor Documentation

TCoeFont(TLogicalSize, TInt, TInt)

IMPORT_CTCoeFont(TLogicalSizeaSize,
TIntaStyle,
TIntaFlags = ENoFlags
)

Parameters

TLogicalSize aSize
TInt aStyle
TInt aFlags = ENoFlags

TCoeFont(TInt, TInt, TInt)

IMPORT_CTCoeFont(TIntaHeightInPixels,
TIntaStyle,
TIntaFlags = ENoFlags
)

Parameters

TInt aHeightInPixels
TInt aStyle
TInt aFlags = ENoFlags

TCoeFont(const TCoeFont &)

IMPORT_CTCoeFont(const TCoeFont &aFont)

Parameters

const TCoeFont & aFont

TCoeFont()

IMPORT_CTCoeFont()

Member Functions Documentation

AnnotationFont(TInt)

IMPORT_C TCoeFontAnnotationFont(TIntaFlags = ENoFlags)[static]

Parameters

TInt aFlags = ENoFlags

Compare(const TCoeFont &, const TCoeFont &)

TInt Compare(const TCoeFont &aFirst,
const TCoeFont &aSecond
)[static]

Parameters

const TCoeFont & aFirst
const TCoeFont & aSecond

HeightInPixels()

IMPORT_C TIntHeightInPixels()const

IsNonZooming()

IMPORT_C TBoolIsNonZooming()const

LegendFont(TInt)

IMPORT_C TCoeFontLegendFont(TIntaFlags = ENoFlags)[static]

Parameters

TInt aFlags = ENoFlags

LogicalSize()

IMPORT_C TLogicalSizeLogicalSize()const

NormalFont(TInt)

IMPORT_C TCoeFontNormalFont(TIntaFlags = ENoFlags)[static]

Parameters

TInt aFlags = ENoFlags

Style()

IMPORT_C TFontStyleStyle()const

TitleFont(TInt)

IMPORT_C TCoeFontTitleFont(TIntaFlags = ENoFlags)[static]

Parameters

TInt aFlags = ENoFlags

Member Enumerations Documentation

Enum TFlags

Enumerators

ENoFlags = 0x00
ENonZooming = 0x01

Enum TLogicalSize

Enumerators

EExtraSmall = 0
ESmall
EMedium
ELarge
EExtraLarge
EUndefinedSize = -1

Enum TStyle

Enumerators

EPlain = 0x00
EItalic = 0x01
EBold = 0x02
ESuper = 0x04
ESub = 0x08

Member Data Documentation

TInt8 iFlags

TInt8 iFlags[private]

TInt8 iHeightInPixels

TInt8 iHeightInPixels[private]

TLogicalSize iLogicalSize

TLogicalSize iLogicalSize[private]

TInt iSpare

TInt iSpare[private]

TInt8 iStyle

TInt8 iStyle[private]

TTypeface iTypeface

TTypeface iTypeface[private]