ParagraphLayout.
More...
#include <ParagraphLayout.h>
Inheritance diagram for ParagraphLayout::Line::

Public Methods | |
| ~Line () | |
The constructor is private since these objects can only be created by ParagraphLayout. More... | |
| le_int32 | countRuns () const |
| Count the number of visual runs in the line. More... | |
| le_int32 | getAscent () const |
| Get the ascent of the line. More... | |
| le_int32 | getDescent () const |
| Get the descent of the line. More... | |
| le_int32 | getLeading () const |
| Get the leading of the line. More... | |
| le_int32 | getWidth () const |
| Get the width of the line. More... | |
| const VisualRun * | getVisualRun (le_int32 runIndex) const |
Get a ParagraphLayout::VisualRun object for a given visual run in the line. More... | |
| virtual UClassID | getDynamicClassID () const |
| ICU "poor man's RTTI", returns a UClassID for the actual class. More... | |
Static Public Methods | |
| UClassID | getStaticClassID () |
| ICU "poor man's RTTI", returns a UClassID for this class. More... | |
Private Methods | |
| Line () | |
| Line (const Line &other) | |
| Line & | operator= (const Line &) |
| void | computeMetrics () |
| void | append (const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount, const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) |
Private Attributes | |
| le_int32 | fAscent |
| le_int32 | fDescent |
| le_int32 | fLeading |
| le_int32 | fRunCount |
| le_int32 | fRunCapacity |
| VisualRun ** | fRuns |
Static Private Attributes | |
| const char | fgClassID |
| The address of this static class variable serves as this class's ID for ICU "poor man's RTTI". More... | |
Friends | |
| class | ParagraphLayout |
ParagraphLayout.
They can only be created by calling ParagraphLayout::nextLine(). Each line consists of multiple visual runs, represented by ParagraphLayout::VisualRun objects.
Definition at line 55 of file ParagraphLayout.h.
|
|
The constructor is private since these objects can only be created by However, it is the clients responsibility to destroy the objects, so the destructor is public.
|
|
|
Definition at line 638 of file ParagraphLayout.h. |
|
|
Definition at line 644 of file ParagraphLayout.h. |
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
Count the number of visual runs in the line.
Definition at line 650 of file ParagraphLayout.h. |
|
|
Get the ascent of the line. This is the maximum ascent of all the fonts on the line.
|
|
|
Get the descent of the line. This is the maximum descent of all the fonts on the line.
|
|
|
ICU "poor man's RTTI", returns a UClassID for the actual class.
Reimplemented from UObject. Definition at line 140 of file ParagraphLayout.h. |
|
|
Get the leading of the line. This is the maximum leading of all the fonts on the line.
|
|
|
ICU "poor man's RTTI", returns a UClassID for this class.
Definition at line 147 of file ParagraphLayout.h. |
|
|
Get a
|
|
|
Get the width of the line. This is a convenience method which returns the last X position of the last visual run in the line.
|
|
|
Definition at line 170 of file ParagraphLayout.h. |
|
|
Definition at line 157 of file ParagraphLayout.h. |
|
|
Definition at line 159 of file ParagraphLayout.h. |
|
|
Definition at line 160 of file ParagraphLayout.h. |
|
|
Definition at line 161 of file ParagraphLayout.h. |
|
|
Definition at line 164 of file ParagraphLayout.h. |
|
|
Definition at line 163 of file ParagraphLayout.h. |
|
|
Definition at line 166 of file ParagraphLayout.h. |
|
|
The address of this static class variable serves as this class's ID for ICU "poor man's RTTI".
Definition at line 155 of file ParagraphLayout.h. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001