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
7
class
Font
;
8
class
ScreenContext
;
9
namespace
mce {
class
Color
; }
10
namespace
mce::Font {
struct
RenderingParameters
; }
11
// clang-format on
12
13
namespace
FontRenderingUtils {
14
// functions
15
// NOLINTBEGIN
16
MCNAPI ::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
Font
Definition
Font.h:5
ScreenContext
Definition
ScreenContext.h:5
mce::Color
Definition
Color.h:13
mce::Font::RenderingParameters
Definition
RenderingParameters.h:7
src-client
mc
util
FontRenderingUtils.h
Generated on
for LeviLamina by
1.16.1