OpenTTD Source 20241224-master-gee860a5c8e
ParagraphLayouter Class Referenceabstract

Interface to glue fallback and normal layouter into one. More...

#include <gfx_layout.h>

Inheritance diagram for ParagraphLayouter:
CoreTextParagraphLayout FallbackParagraphLayout ICUParagraphLayout UniscribeParagraphLayout

Data Structures

class  Line
 A single line worth of VisualRuns. More...
 
class  Position
 Position of a glyph within a VisualRun. More...
 
class  VisualRun
 Visual run contains data about the bit of text with the same font. More...
 

Public Member Functions

virtual void Reflow ()=0
 
virtual std::unique_ptr< const LineNextLine (int max_width)=0
 

Detailed Description

Interface to glue fallback and normal layouter into one.

Definition at line 89 of file gfx_layout.h.

Member Function Documentation

◆ NextLine()

virtual std::unique_ptr< const Line > ParagraphLayouter::NextLine ( int  max_width)
pure virtual

Implemented in FallbackParagraphLayout.

◆ Reflow()

virtual void ParagraphLayouter::Reflow ( )
pure virtual

Implemented in FallbackParagraphLayout.


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