Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: coefont.h
Link against: cone.lib

Class TCoeFont

class TCoeFont;

Description

A class to simplify font usage

Members

Defined in TCoeFont:
AnnotationFont(), EBold, EExtraLarge, EExtraSmall, EItalic, ELarge, EMedium, ENoFlags, ENonZooming, EPlain, ESmall, ESub, ESuper, EUndefinedSize, HeightInPixels(), IsNonZooming(), LegendFont(), LogicalSize(), NormalFont(), Style(), TCoeFont(), TCoeFont(), TCoeFont(), TCoeFont(), TFlags, TLogicalSize, TStyle, TitleFont()


Construction and destruction


TCoeFont()

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

Description

constructor

Parameters

TLogicalSize aSize

TInt aStyle

TInt aFlags


TCoeFont()

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

Description

constructor

Parameters

TInt aHeightInPixels

TInt aStyle

TInt aFlags


TCoeFont()

IMPORT_C TCoeFont(const TCoeFont &aFont);

Description

Copy constructor

Parameters

const TCoeFont &aFont


TCoeFont()

IMPORT_C TCoeFont();

Description

[Top]


Member functions


NormalFont()

static IMPORT_C TCoeFont NormalFont(TInt aFlags=ENoFlags);

Description

Return a default "normal" font

Parameters

TInt aFlags

Return value

TCoeFont


LegendFont()

static IMPORT_C TCoeFont LegendFont(TInt aFlags=ENoFlags);

Description

Return a default "legend" font

Parameters

TInt aFlags

Return value

TCoeFont


AnnotationFont()

static IMPORT_C TCoeFont AnnotationFont(TInt aFlags=ENoFlags);

Description

Return a default "annotation" font

Parameters

TInt aFlags

Return value

TCoeFont


TitleFont()

static IMPORT_C TCoeFont TitleFont(TInt aFlags=ENoFlags);

Description

Return a default "title" font

Parameters

TInt aFlags

Return value

TCoeFont


LogicalSize()

IMPORT_C TLogicalSize LogicalSize() const;

Description

Return this font's logical size

Return value

TLogicalSize


HeightInPixels()

IMPORT_C TInt HeightInPixels() const;

Description

Return this font's height in pixels

Return value

TInt


Style()

IMPORT_C TFontStyle Style() const;

Description

Return this font's style

Return value

TFontStyle


IsNonZooming()

IMPORT_C TBool IsNonZooming() const;

Description

Says whether this font can be zoomed or not

Return value

TBool

[Top]


Member enumerations


Enum TFlags

TFlags

Description

ENoFlags

ENonZooming


Enum TLogicalSize

TLogicalSize

Description

EExtraSmall

ESmall

EMedium

ELarge

EExtraLarge

EUndefinedSize


Enum TStyle

TStyle

Description

EPlain

EItalic

EBold

ESuper

ESub