Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: gulutil.h
Link against: egul.lib

Class TFindWidthOfWidestDigit

class TFindWidthOfWidestDigit : public TFindWidthOfWidestTextItem;

Description

Finds the width in pixels of the widest digit, when displayed in a specified font.

After construction, call MaximumWidthInPixels(), defined in the base class, specifying the font.

Derivation

Members

Defined in TFindWidthOfWidestDigit:
GetFirstAndLastIndex(), GetTextItem(), TFindWidthOfWidestDigit()

Inherited from TFindWidthOfWidestTextItem:
MaximumWidthInPixels()


Construction and destruction


TFindWidthOfWidestDigit()

IMPORT_C TFindWidthOfWidestDigit();

Description

Default constructor.

[Top]


Member functions


GetFirstAndLastIndex()

private: virtual void GetFirstAndLastIndex(TInt &aFirstIndex, TInt &aLastIndex) const;

Description

Gets the first and last index in the range of items.

Parameters

TInt &aFirstIndex

On return, the first index.

TInt &aLastIndex

On return, the last index.


GetTextItem()

private: virtual void GetTextItem(TDes &aText, TInt aIndex) const;

Description

Gets the text item at the specfied index.

Parameters

TDes &aText

On return, the indexed text item.

TInt aIndex

The index.