OpenTTD Source 20241224-master-gf74b0cf984
|
Position of a glyph within a VisualRun. More...
#include <gfx_layout.h>
Public Member Functions | |
constexpr | Position (int16_t left, int16_t right, int16_t top) |
constexpr | Position (const Point &pt) |
Conversion from a single point to a Position. | |
Data Fields | |
int16_t | left |
Left-most position of glyph. | |
int16_t | right |
Right-most position of glyph. | |
int16_t | top |
Top-most position of glyph. | |
Position of a glyph within a VisualRun.
Definition at line 94 of file gfx_layout.h.
|
inlineconstexpr |
Definition at line 100 of file gfx_layout.h.
|
inlineconstexpr |
Conversion from a single point to a Position.
Definition at line 103 of file gfx_layout.h.
int16_t ParagraphLayouter::Position::left |
Left-most position of glyph.
Definition at line 96 of file gfx_layout.h.
int16_t ParagraphLayouter::Position::right |
Right-most position of glyph.
Definition at line 97 of file gfx_layout.h.
int16_t ParagraphLayouter::Position::top |
Top-most position of glyph.
Definition at line 98 of file gfx_layout.h.