|
||
class TFindWidthOfWidestDigit : public TFindWidthOfWidestTextItem;
Finds the width in pixels of the widest digit, when displayed in a specified font.
After construction, call TFindWidthOfWidestTextItem::MaximumWidthInPixels(const CFont &)const
, defined in the base class, specifying the font.
TFindWidthOfWidestTextItem
- Finds the width in pixels of the widest item in a range of indexed text items.
TFindWidthOfWidestDigit
- Finds the width in pixels of the widest digit, when displayed in a specified fon...
Defined in TFindWidthOfWidestDigit
:
GetFirstAndLastIndex(TInt &,TInt &)const
Gets the first and last index in the range of items.GetTextItem(TDes &,TInt)const
Gets the text item at the specfied index.TFindWidthOfWidestDigit()
Default constructor. Inherited from TFindWidthOfWidestTextItem
:
MaximumWidthInPixels(const CFont &)const
Gets the width in pixels of the widest item in the range, using the specified fo...