|
OpenTTD Source 20251116-master-g21329071df
|
Container with information about a font. More...
#include <gfx_layout.h>
Public Member Functions | |
| Font (FontSize size, TextColour colour) | |
| Construct a new font. | |
Data Fields | |
| FontCache * | fc |
| The font we are using. | |
| TextColour | colour |
| The colour this font has to be. | |
Container with information about a font.
Definition at line 97 of file gfx_layout.h.
| Font::Font | ( | FontSize | size, |
| TextColour | colour | ||
| ) |
Construct a new font.
| size | The font size to use for this font. |
| colour | The colour to draw this font in. |
Definition at line 49 of file gfx_layout.cpp.
| TextColour Font::colour |
The colour this font has to be.
Definition at line 100 of file gfx_layout.h.
Referenced by DrawLayoutLine().
| FontCache* Font::fc |
The font we are using.
Definition at line 99 of file gfx_layout.h.
Referenced by DrawLayoutLine(), FallbackParagraphLayout::FallbackVisualRun::FallbackVisualRun(), HFontFromFont(), and UniscribeShapeRun().