|
OpenTTD Source
14.0-beta3
|
#include "fontcache.h"#include "gfx_func.h"#include "core/math_func.hpp"#include <stack>#include <string_view>Go to the source code of this file.
Data Structures | |
| struct | FontState |
| Text drawing parameters, which can change while drawing a line, but are kept between multiple parts of the same text, e.g. More... | |
| class | Font |
| Container with information about a font. More... | |
| class | ParagraphLayouter |
| Interface to glue fallback and normal layouter into one. More... | |
| class | ParagraphLayouter::VisualRun |
| Visual run contains data about the bit of text with the same font. More... | |
| class | ParagraphLayouter::Line |
| A single line worth of VisualRuns. More... | |
| class | Layouter |
| The layouter performs all the layout work. More... | |
| struct | Layouter::LineCacheKey |
| Key into the linecache. More... | |
| struct | Layouter::LineCacheQuery |
| struct | Layouter::LineCacheCompare |
| Comparator for std::map. More... | |
| struct | Layouter::LineCacheItem |
| Item in the linecache. More... | |
Typedefs | |
| using | FontMap = std::map< int, Font * > |
| Mapping from index to font. More... | |
Functions related to laying out the texts.
Definition in file gfx_layout.h.
Mapping from index to font.
The pointer is owned by FontColourMap.
Definition at line 84 of file gfx_layout.h.