OpenTTD Source: ParagraphLayouter::Line Class Reference

OpenTTD Source 15.3

Public Member Functions
ParagraphLayouter::Line Class Referenceabstract

A single line worth of VisualRuns. More...

`#include <gfx_layout.h>`

Inheritance diagram for ParagraphLayouter::Line:

## Public Member Functions
virtual int | GetLeading () const =0
virtual int | GetWidth () const =0
virtual int | CountRuns () const =0
virtual const VisualRun & | GetVisualRun (int run) const =0
virtual int | GetInternalCharLength (char32_t c) const =0

## Detailed Description

A single line worth of VisualRuns.

Definition at line 141 of file gfx_layout.h.

## Member Function Documentation

## ◆ CountRuns()

virtual int ParagraphLayouter::Line::CountRuns | ( |  | ) | const
| pure virtual

Implemented in FallbackParagraphLayout::FallbackLine.

## ◆ GetLeading()

virtual int ParagraphLayouter::Line::GetLeading | ( |  | ) | const
| pure virtual

Implemented in FallbackParagraphLayout::FallbackLine, ICUParagraphLayout::ICULine, CoreTextParagraphLayout::CoreTextLine, and UniscribeParagraphLayout::UniscribeLine.

## ◆ GetVisualRun()

virtual const VisualRun & ParagraphLayouter::Line::GetVisualRun | ( | int | run | ) | const
| pure virtual

Implemented in FallbackParagraphLayout::FallbackLine.

## ◆ GetWidth()

virtual int ParagraphLayouter::Line::GetWidth | ( |  | ) | const
| pure virtual

Implemented in FallbackParagraphLayout::FallbackLine, ICUParagraphLayout::ICULine, CoreTextParagraphLayout::CoreTextLine, and UniscribeParagraphLayout::UniscribeLine.

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

- src/gfx_layout.h