Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: TAGMA.H

Class TTmLineInfo

class TTmLineInfo;

Description

A structure for returning information about a line. One of these is returned by all hit-detection functions. Typically, after finding the position in the document that corresponds to given x-y coordinates, you will want some more information like the line's bounding rectangle. When you call, for example, CTmTextLayout::FindXyPos you will receive a TTmLineInfo object that will tell you this, and much more.

Members

Defined in TTmLineInfo:
ELineEndsInForcedLineBreak, EParEnd, EParRightToLeft, EParStart, TTmLineInfo(), anonymous, iBaseline, iEnd, iFlags, iInnerRect, iLineInPar, iLineNumber, iOuterRect, iParNumber, iParTop, iStart


Construction and destruction


TTmLineInfo()

inline TTmLineInfo();

Description

Constructs a TTmLineInfo object, setting all data members to 0.

[Top]


Member enumerations


Enum anonymous

n/a

Description

EParStart

EParEnd

EParRightToLeft

ELineEndsInForcedLineBreak

[Top]


Member data


iOuterRect

TRect iOuterRect;

Description

Outer enclosing rectangle including margins


iInnerRect

TRect iInnerRect;

Description

Inner enclosing rectangle: the text only


iBaseline

TInt iBaseline;

Description

y coordinate of the baseline


iStart

TInt iStart;

Description

Start document position


iEnd

TInt iEnd;

Description

End document position


iLineNumber

TInt iLineNumber;

Description

Line number


iParNumber

TInt iParNumber;

Description

Paragraph number


iLineInPar

TInt iLineInPar;

Description

Line number in the paragraph


iParTop

TInt iParTop;

Description

y coordinate of the top of the paragraph


iFlags

TUint iFlags;

Description

Start of paragraph, end of paragraph, etc.