MTmCustom::TLineHeightParam Class Reference

class MTmCustom::TLineHeightParam

TLineHeightParam structure is used in MTmCustom::SetLineHeight() method to set text line height related parameters such as max character height, max ascent and descent, height and depth of the tallest pictures (top-aligned, bottom-aligned or centered). MTmCustom::SetLineHeight()

Constructor & Destructor Documentation

TLineHeightParam()

TLineHeightParam ( ) [inline]

Constructs a line height parameter structure, setting all the data members to zero.

Member Data Documentation

TInt iDesiredLineHeight

TInt iDesiredLineHeight

Desired precise or minimum line height.

TBool iExactLineHeight

TBool iExactLineHeight

True if the line height must be precise.

TInt iFontMaxAscent

TInt iFontMaxAscent

Maximum ascent of the fonts in the line.

TInt iFontMaxCharDepth

TInt iFontMaxCharDepth

Depth of the deepest character of any in the fonts in the line.

TInt iFontMaxCharHeight

TInt iFontMaxCharHeight

Height of the tallest character of any in the fonts in the line.

TInt iFontMaxDescent

TInt iFontMaxDescent

Maximum descent of the fonts in the line.

TInt iMaxBottomPictureHeight

TInt iMaxBottomPictureHeight

Height plus depth of the tallest bottom-aligned picture.

TInt iMaxCenterPictureHeight

TInt iMaxCenterPictureHeight

Height plus depth of the tallest centred picture.

TInt iMaxCharDepth

TInt iMaxCharDepth

Depth of the deepest character in the line.

TInt iMaxCharHeight

TInt iMaxCharHeight

Height of the highest character in the line.

TInt iMaxTopPictureHeight

TInt iMaxTopPictureHeight

Height plus depth of the tallest top-aligned picture.