|
CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
|
#include <th_gfx_font.h>
Public Attributes | |
| int | row_count |
| Number of rows the rendered text spans. | |
| int | start_x |
| Left X-coordinate for the start of the text. | |
| int | end_x |
| Right X-coordinate for the right part of the last letter rendered. | |
| int | start_y |
| Top Y-coordinate for the start of the text. | |
| int | end_y |
| Bottom Y-coordinate for the end of the text. | |
| int | width |
| Width of the widest line in the text. | |
Structure for the bounds of a text string that is rendered to the screen.
| int text_layout::end_x |
Right X-coordinate for the right part of the last letter rendered.
| int text_layout::end_y |
Bottom Y-coordinate for the end of the text.
| int text_layout::row_count |
Number of rows the rendered text spans.
| int text_layout::start_x |
Left X-coordinate for the start of the text.
| int text_layout::start_y |
Top Y-coordinate for the start of the text.
| int text_layout::width |
Width of the widest line in the text.