OpenTTD Source  20241111-master-gce64d5f5d9
UniscribeParagraphLayout::UniscribeLine Class Reference

A single line worth of VisualRuns. More...

Inheritance diagram for UniscribeParagraphLayout::UniscribeLine:
ParagraphLayouter::Line

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
 
const VisualRunGetVisualRun (int run) const override
 
int GetInternalCharLength (char32_t c) const override
 

Detailed Description

A single line worth of VisualRuns.

Definition at line 102 of file string_uniscribe.cpp.

Member Function Documentation

◆ GetLeading()

int UniscribeParagraphLayout::UniscribeLine::GetLeading ( ) const
overridevirtual

Get the height of the line.

Returns
The maximum height of the line.

Implements ParagraphLayouter::Line.

Definition at line 450 of file string_uniscribe.cpp.

◆ GetWidth()

int UniscribeParagraphLayout::UniscribeLine::GetWidth ( ) const
overridevirtual

Get the width of this line.

Returns
The width of the line.

Implements ParagraphLayouter::Line.

Definition at line 464 of file string_uniscribe.cpp.


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