ParagraphLayout
.
More...
#include <ParagraphLayout.h>
Inheritance diagram for ParagraphLayout::Line:
Public Member Functions | |
~Line () | |
The constructor is private since these objects can only be created by ParagraphLayout . | |
le_int32 | countRuns () const |
Count the number of visual runs in the line. | |
le_int32 | getAscent () const |
Get the ascent of the line. | |
le_int32 | getDescent () const |
Get the descent of the line. | |
le_int32 | getLeading () const |
Get the leading of the line. | |
le_int32 | getWidth () const |
Get the width of the line. | |
const VisualRun * | getVisualRun (le_int32 runIndex) const |
Get a ParagraphLayout::VisualRun object for a given visual run in the line. | |
virtual UClassID | getDynamicClassID () const |
ICU "poor man's RTTI", returns a UClassID for the actual class. | |
Static Public Member Functions | |
static UClassID | getStaticClassID () |
ICU "poor man's RTTI", returns a UClassID for this class. | |
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 60 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.
|
|
Count the number of visual runs in the line.
Definition at line 655 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.
Implements UObject. Definition at line 152 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 145 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.
|