OpenTTD Source 20251213-master-g1091fa6071
ICUParagraphLayout::ICULine Class Reference

A single line worth of VisualRuns. More...

Inheritance diagram for ICUParagraphLayout::ICULine:
ParagraphLayouter::Line

Public Member Functions

int GetLeading () const override
 Get the height of the line.
 
int GetWidth () const override
 Get the width of this line.
 
int CountRuns () const override
 
const VisualRunGetVisualRun (int run) const override
 
int GetInternalCharLength (char32_t c) const override
 

Detailed Description

A single line worth of VisualRuns.

Definition at line 89 of file gfx_layout_icu.cpp.

Member Function Documentation

◆ CountRuns()

int ICUParagraphLayout::ICULine::CountRuns ( ) const
inlineoverridevirtual

Implements ParagraphLayouter::Line.

Definition at line 93 of file gfx_layout_icu.cpp.

◆ GetInternalCharLength()

int ICUParagraphLayout::ICULine::GetInternalCharLength ( char32_t  c) const
inlineoverridevirtual

Implements ParagraphLayouter::Line.

Definition at line 96 of file gfx_layout_icu.cpp.

◆ GetLeading()

int ICUParagraphLayout::ICULine::GetLeading ( ) const
overridevirtual

Get the height of the line.

Returns
The maximum height of the line.

Implements ParagraphLayouter::Line.

Definition at line 260 of file gfx_layout_icu.cpp.

◆ GetVisualRun()

const VisualRun & ICUParagraphLayout::ICULine::GetVisualRun ( int  run) const
inlineoverridevirtual

Implements ParagraphLayouter::Line.

Definition at line 94 of file gfx_layout_icu.cpp.

◆ GetWidth()

int ICUParagraphLayout::ICULine::GetWidth ( ) const
overridevirtual

Get the width of this line.

Returns
The width of the line.

Implements ParagraphLayouter::Line.

Definition at line 274 of file gfx_layout_icu.cpp.


The documentation for this class was generated from the following file: