4#include <skia/include/core/SkFont.h>
5#include <skia/include/core/SkFontMgr.h>
6#include <skia/include/core/SkPaint.h>
7#include <skia/include/core/SkSurface.h>
8#include <skia/include/core/SkTypeface.h>
15#include <skia/include/ports/SkFontMgr_mac_ct.h>
16#elif defined(__linux__)
18#include <skia/include/ports/SkFontMgr_fontconfig.h>
19#include <skia/include/ports/SkFontScanner_FreeType.h>
22#include <skia/include/ports/SkTypeface_win.h>
Variant
The visual display variant of the text.
Utility class that holds static font instances and handles scaling them on window resizes.
static void recalculateFontSizes(float aspectX, float aspectY, float xScale, float yScale)
Recalculates the font sizes.
static sk_sp< SkTypeface > typeface
The typeface for the text font.
static SkFont menuHeadlineFont
The font for the menu headline font.
static sk_sp< SkFontMgr > fontMgr
The font manager.
static SkPaint textFontFillPaint
The paint for the text font fill.
static SkFont menuCaptionFont
The font for the menu caption font.
static const SkFont & getFontForVariant(const business_logic::components::UIText::Variant &variant)
Gets the font for the given variant.
static SkPaint textFontStrokePaint
The paint for the text font stroke.
static SkFont captionFont
The font for the caption font.
static SkFont menuChoiceFont
The font for the menu choice font.
Color constants used for rendering entities.
The GUI renderer and renderer-supporting implementation module.