LeviLamina
Loading...
Searching...
No Matches
FontRenderingUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Font;
8class ScreenContext;
9namespace mce { class Color; }
10namespace mce::Font { struct RenderingParameters; }
11// clang-format on
12
13namespace FontRenderingUtils {
14// functions
15// NOLINTBEGIN
16MCNAPI ::std::optional<::mce::Font::RenderingParameters> tryGetRenderingParameters(
17 ::Font const& font,
18 ::ScreenContext const& screenContext,
19 int glyphSheet,
20 float guiScale,
21 ::mce::Color const& textColor,
22 bool hasShadow,
23 uint textureWidth,
24 uint textureHeight
25);
26// NOLINTEND
27
28} // namespace FontRenderingUtils
Definition Font.h:5
Definition ScreenContext.h:5
Definition Color.h:13
Definition RenderingParameters.h:7