|
OpenTTD
|
A single line worth of VisualRuns. More...
Public Member Functions | |
| int | GetLeading () const override |
| Get the height of the line. More... | |
| int | GetWidth () const override |
| Get the width of this line. More... | |
| int | CountRuns () const override |
| Get the number of runs in this line. More... | |
| const ParagraphLayouter::VisualRun & | GetVisualRun (int run) const override |
| Get a specific visual run. More... | |
| int | GetInternalCharLength (WChar c) const override |
A single line worth of VisualRuns.
Definition at line 273 of file gfx_layout.cpp.
|
overridevirtual |
Get the number of runs in this line.
Implements ParagraphLayouter::Line.
Definition at line 463 of file gfx_layout.cpp.
|
overridevirtual |
Get the height of the line.
Implements ParagraphLayouter::Line.
Definition at line 432 of file gfx_layout.cpp.
References max().
|
overridevirtual |
Get a specific visual run.
Implements ParagraphLayouter::Line.
Definition at line 472 of file gfx_layout.cpp.
|
overridevirtual |
Get the width of this line.
Implements ParagraphLayouter::Line.
Definition at line 446 of file gfx_layout.cpp.