TCoeFont Class Reference

class TCoeFont

A class to simplify font usage

Constructor & Destructor Documentation

TCoeFont(TLogicalSize, TInt, TInt)

IMPORT_C TCoeFont ( TLogicalSize aSize,
TInt aStyle,
TInt aFlags = ENoFlags
)

constructor

Parameters

TLogicalSize aSize
TInt aStyle
TInt aFlags = ENoFlags

TCoeFont(TInt, TInt, TInt)

IMPORT_C TCoeFont ( TInt aHeightInPixels,
TInt aStyle,
TInt aFlags = ENoFlags
)

constructor

Parameters

TInt aHeightInPixels
TInt aStyle
TInt aFlags = ENoFlags

TCoeFont(const TCoeFont &)

IMPORT_C TCoeFont ( const TCoeFont & aFont )

Copy constructor

Parameters

const TCoeFont & aFont

TCoeFont()

IMPORT_C TCoeFont ( )

Member Functions Documentation

AnnotationFont(TInt)

IMPORT_C TCoeFont AnnotationFont ( TInt aFlags = ENoFlags ) [static]

Return a default "annotation" font

Parameters

TInt aFlags = ENoFlags

Compare(const TCoeFont &, const TCoeFont &)

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

Compare two TCoeFont objects

Parameters

const TCoeFont & aFirst
const TCoeFont & aSecond

HeightInPixels()

IMPORT_C TInt HeightInPixels ( ) const

Return this font's height in pixels

IsNonZooming()

IMPORT_C TBool IsNonZooming ( ) const

Says whether this font can be zoomed or not

LegendFont(TInt)

IMPORT_C TCoeFont LegendFont ( TInt aFlags = ENoFlags ) [static]

Return a default "legend" font

Parameters

TInt aFlags = ENoFlags

LogicalSize()

IMPORT_C TLogicalSize LogicalSize ( ) const

Return this font's logical size

NormalFont(TInt)

IMPORT_C TCoeFont NormalFont ( TInt aFlags = ENoFlags ) [static]

Return a default "normal" font

Parameters

TInt aFlags = ENoFlags

Style()

IMPORT_C TFontStyle Style ( ) const

Return this font's style

TitleFont(TInt)

IMPORT_C TCoeFont TitleFont ( TInt aFlags = ENoFlags ) [static]

Return a default "title" font

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]