OpenTTD Source 20241224-master-gee860a5c8e
ParagraphLayouter::Line Class Referenceabstract

A single line worth of VisualRuns. More...

#include <gfx_layout.h>

Inheritance diagram for ParagraphLayouter::Line:
CoreTextParagraphLayout::CoreTextLine FallbackParagraphLayout::FallbackLine ICUParagraphLayout::ICULine UniscribeParagraphLayout::UniscribeLine

Public Member Functions

virtual int GetLeading () const =0
 
virtual int GetWidth () const =0
 
virtual int CountRuns () const =0
 
virtual const VisualRunGetVisualRun (int run) const =0
 
virtual int GetInternalCharLength (char32_t c) const =0
 

Detailed Description

A single line worth of VisualRuns.

Definition at line 119 of file gfx_layout.h.

Member Function Documentation

◆ CountRuns()

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

◆ GetLeading()

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

◆ GetVisualRun()

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

◆ GetWidth()

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

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