TCoeFont Class Reference

#include <mw/coefont.h>

class TCoeFont

Detailed Description

A class to simplify font usage

Member Enumeration Documentation

Enum TFlags

EnumeratorValueDescription
ENoFlags0x00
ENonZooming0x01

Enum TLogicalSize

Enum TStyle

EnumeratorValueDescription
EPlain0x00
EItalic0x01
EBold0x02
ESuper0x04
ESub0x08

Constructor & Destructor Documentation

TCoeFont ( TLogicalSize, TInt, TInt )

IMPORT_CTCoeFont(TLogicalSizeaSize,
TIntaStyle,
TIntaFlags = ENoFlags
)

constructor

TCoeFont ( TInt, TInt, TInt )

IMPORT_CTCoeFont(TIntaHeightInPixels,
TIntaStyle,
TIntaFlags = ENoFlags
)

constructor

TCoeFont ( const TCoeFont & )

IMPORT_CTCoeFont(const TCoeFont &aFont)

Copy constructor

TCoeFont ( )

IMPORT_CTCoeFont()

Member Function Documentation

AnnotationFont ( TInt )

IMPORT_C TCoeFontAnnotationFont(TIntaFlags = ENoFlags)[static]

Return a default "annotation" font

Compare ( const TCoeFont &, const TCoeFont & )

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

Compare two TCoeFont objects

HeightInPixels ( )

IMPORT_C TIntHeightInPixels()const

Return this font's height in pixels

IsNonZooming ( )

IMPORT_C TBoolIsNonZooming()const

Says whether this font can be zoomed or not

LegendFont ( TInt )

IMPORT_C TCoeFontLegendFont(TIntaFlags = ENoFlags)[static]

Return a default "legend" font

LogicalSize ( )

IMPORT_C TLogicalSizeLogicalSize()const

Return this font's logical size

NormalFont ( TInt )

IMPORT_C TCoeFontNormalFont(TIntaFlags = ENoFlags)[static]

Return a default "normal" font

Style ( )

IMPORT_C TFontStyleStyle()const

Return this font's style

TitleFont ( TInt )

IMPORT_C TCoeFontTitleFont(TIntaFlags = ENoFlags)[static]

Return a default "title" font