Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <COEFONT.H>
Link against: cone.lib

Class TCoeFont

class TCoeFont;

Description

A class to simplify font usage

Members

Defined in TCoeFont:


Construction and destruction


TCoeFont(TLogicalSize,TInt,TInt)

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

Description

constructor

Parameters

TCoeFont::TLogicalSize aSize

TInt aStyle

TInt aFlags


TCoeFont(TInt,TInt,TInt)

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

Description

constructor

Parameters

TInt aHeightInPixels

TInt aStyle

TInt aFlags


TCoeFont(const TCoeFont &)

IMPORT_C TCoeFont(const TCoeFont &aFont);

Description

Copy constructor

Parameters

const TCoeFont &aFont


TCoeFont()

IMPORT_C TCoeFont();

Description

[Top]


Member functions


NormalFont(TInt)

IMPORT_C static TCoeFont NormalFont(TInt aFlags=ENoFlags);

Description

Return a default "normal" font

Parameters

TInt aFlags

Return value

TCoeFont


LegendFont(TInt)

IMPORT_C static TCoeFont LegendFont(TInt aFlags=ENoFlags);

Description

Return a default "legend" font

Parameters

TInt aFlags

Return value

TCoeFont


AnnotationFont(TInt)

IMPORT_C static TCoeFont AnnotationFont(TInt aFlags=ENoFlags);

Description

Return a default "annotation" font

Parameters

TInt aFlags

Return value

TCoeFont


TitleFont(TInt)

IMPORT_C static TCoeFont TitleFont(TInt aFlags=ENoFlags);

Description

Return a default "title" font

Parameters

TInt aFlags

Return value

TCoeFont


LogicalSize()const

IMPORT_C TLogicalSize LogicalSize() const;

Description

Return this font's logical size

Return value

TCoeFont::TLogicalSize


HeightInPixels()const

IMPORT_C TInt HeightInPixels() const;

Description

Return this font's height in pixels

Return value

TInt


Style()const

IMPORT_C TFontStyle Style() const;

Description

Return this font's style

Return value

TFontStyle


IsNonZooming()const

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