OpenTTD Source 20241224-master-gf74b0cf984
Layouter::LineCacheItem Struct Reference

Item in the linecache. More...

#include <gfx_layout.h>

Data Fields

void * buffer
 Accessed by our ParagraphLayout::nextLine.
 
FontMap runs
 Accessed by our ParagraphLayout::nextLine.
 
FontState state_after
 Font state after the line.
 
std::unique_ptr< ParagraphLayouterlayout = nullptr
 Layout of the line.
 

Detailed Description

Item in the linecache.

Definition at line 168 of file gfx_layout.h.

Constructor & Destructor Documentation

◆ LineCacheItem()

Layouter::LineCacheItem::LineCacheItem ( )
inline

Definition at line 176 of file gfx_layout.h.

◆ ~LineCacheItem()

Layouter::LineCacheItem::~LineCacheItem ( )
inline

Definition at line 177 of file gfx_layout.h.

Field Documentation

◆ buffer

void* Layouter::LineCacheItem::buffer

Accessed by our ParagraphLayout::nextLine.

Definition at line 170 of file gfx_layout.h.

Referenced by GetLayouter().

◆ layout

std::unique_ptr<ParagraphLayouter> Layouter::LineCacheItem::layout = nullptr

Layout of the line.

Definition at line 174 of file gfx_layout.h.

Referenced by GetLayouter(), and Layouter::Layouter().

◆ runs

FontMap Layouter::LineCacheItem::runs

Accessed by our ParagraphLayout::nextLine.

Definition at line 171 of file gfx_layout.h.

Referenced by GetLayouter().

◆ state_after

FontState Layouter::LineCacheItem::state_after

Font state after the line.

Definition at line 173 of file gfx_layout.h.

Referenced by GetLayouter(), and Layouter::Layouter().


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