TViewYPosQualifier Class Reference
Parameter used to control which part of a line (top, baseline or bottom) should be scrolled to a certain vertical position in a view rectangle. Used as a parameter in functions like CTextView::HandleGlobalChangeL() and CTextLayout::SetViewL(). The selected part of the line is called the hotspot.
Constructor & Destructor Documentation
TViewYPosQualifier()
TViewYPosQualifier | ( | ) | [inline] |
Constructs a fully initialized TViewYPosQualifier object. The hotspot is initialized to be the baseline of the line, the screen is not filled, and the top line is not forced to be fully visible.
Member Functions Documentation
SetFillScreen(TBool)
IMPORT_C void | SetFillScreen | ( | TBool | aFillScreen = ETrue | ) | |
Parameters
TBool aFillScreen = ETrue | |
SetMakeLineFullyVisible(TFullyVisible)
IMPORT_C void | SetMakeLineFullyVisible | ( | TFullyVisible | aMakeLineFullyVisible = EFViewForceLineFullyVisible | ) | |
Parameters
TFullyVisible aMakeLineFullyVisible = EFViewForceLineFullyVisible | |
Member Enumerations Documentation
Enum TFullyVisible
Whether the top line in the view should be fully visible.
Enumerators
EFViewForceLineFullyVisible = ETrue |
Force a partially visible top line to be fully visible.
|
EFViewDontForceLineFullyVisible = EFalse |
Do not force a partially visible top line to be fully visible.
|
Enum TPartOfLine
Which part of a line (top, baseline or bottom) should appear at a vertical pixel position.
Enumerators
EFViewTopOfLine = 1 |
The top pixel is placed at the specified vertical point.
|
EFViewBaseLine = 0 |
The baseline is placed at the specified vertical point.
|
EFViewBottomOfLine = 2 |
The bottom pixel is placed at the specified vertical point.
|
Member Data Documentation
TBool
iFillScreen
TBool
| iFillScreen | [private] |
TFullyVisible
iFullyVisible
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.