Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FontAlias Class Reference
Inheritance diagram for FontAlias:

Classes

struct  ReferenceData

Public Types

using CurrentLineCallback = ::std::function<bool(::std::string_view const&, ::std::string&, float, uint&)> const
using StringCacheStoredKey = ::std::tuple<::std::string, ::mce::Color, float, float, bool, bool>
using StringCacheLookupKey = ::std::tuple<::std::string_view, ::mce::Color, float, float, bool, bool>

Public Member Functions

virtual float _getCharWidth (int uniChar, bool forceUnicode)
virtual bool supportsChar (int const &character)
virtual float getWrapHeight () const
virtual float getScaleFactor () const
virtual float getScaleFactor (int uniChar) const
virtual bool isScreenPixelAligned () const
virtual bool materialCanBeOverridden () const
virtual void setTextConstantsInScreenContext (::ScreenContext &screenContext, int glyphSheet, float guiScale, ::mce::Color const &textColor, bool hasShadow) const
virtual void uploadTextureToGPU ()
virtual::ResourceLocation _getFontSheetLocation (int sheet, bool forceUnicode) const
virtual::mce::MaterialPtr const & getMaterial (int sheet, bool isOddGuiScale) const
virtual::mce::Font::Type getType (int glyphSheet) const
virtual ::std::optional<::mce::Font::RenderingParameters > tryGetRenderingParameters (::ScreenContext const &screenContext, int glyphSheet, float guiScale, ::mce::Color const &textColor, bool hasShadow, uint textureWidth, uint textureHeight, bool isUnicode) const
virtual void loadFontData (bool uploadTextureImmediately)
virtual bool _supportsShadowInSingleDraw ()
virtual void onLanguageChanged (::std::string_view languageCode)
virtual void _scanUnicodeCharacterSize (int character, int sheet, bool forceUnicode)
virtual float buildChar (::std::vector<::Font::GlyphQuad > &quads, int i, ::mce::Color const &color, bool italic, float x, float y, bool unicode)
virtual::std::string _remapString (::std::string_view str) const
virtual void switchFontsource (::Core::Path const &asciiName, ::Core::Path const &unicodeName)
virtual ::std::pair<::Core::PathBuffer<::std::string > const &, ::Core::PathBuffer<::std::string > const & > getFontSources () const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::FontHandle const > getFontReferenceForSheet (int const &sheet) const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::FontHandle const > getFontReferenceForUnicode (int const &character) const
MCAPI float $_getCharWidth (int uniChar, bool forceUnicode)
MCAPI bool $supportsChar (int const &character)
MCAPI float $getWrapHeight () const
MCAPI float $getScaleFactor () const
MCAPI float $getScaleFactor (int uniChar) const
MCAPI bool $isScreenPixelAligned () const
MCAPI bool $materialCanBeOverridden () const
MCAPI void $setTextConstantsInScreenContext (::ScreenContext &screenContext, int glyphSheet, float guiScale, ::mce::Color const &textColor, bool hasShadow) const
MCAPI void $uploadTextureToGPU ()
MCAPI::ResourceLocation $_getFontSheetLocation (int sheet, bool forceUnicode) const
MCAPI::mce::MaterialPtr const & $getMaterial (int sheet, bool isOddGuiScale) const
MCAPI::mce::Font::Type $getType (int glyphSheet) const
MCAPI ::std::optional<::mce::Font::RenderingParameters > $tryGetRenderingParameters (::ScreenContext const &screenContext, int glyphSheet, float guiScale, ::mce::Color const &textColor, bool hasShadow, uint textureWidth, uint textureHeight, bool isUnicode) const
MCAPI void $loadFontData (bool uploadTextureImmediately)
MCAPI bool $_supportsShadowInSingleDraw ()
MCAPI void $onLanguageChanged (::std::string_view languageCode)
MCAPI void $_scanUnicodeCharacterSize (int character, int sheet, bool forceUnicode)
MCAPI float $buildChar (::std::vector<::Font::GlyphQuad > &quads, int i, ::mce::Color const &color, bool italic, float x, float y, bool unicode)
MCAPI::std::string $_remapString (::std::string_view str) const
MCAPI void $switchFontsource (::Core::Path const &asciiName, ::Core::Path const &unicodeName)
MCAPI ::std::pair<::Core::PathBuffer<::std::string > const &, ::Core::PathBuffer<::std::string > const & > $getFontSources () const
virtual void fetchPage (int page)
virtual void drawCached (::ScreenContext &screenContext, ::std::string_view str, float x, float y, ::mce::Color const &color, bool ignoreColorFormatting, bool darken, bool drawColorSymbol, ::mce::MaterialPtr const *optionalMat, int caretPosition, bool shadow, float linePadding, ::mce::Color const &resetColorOverride, ::mce::Color const &shaderDarkColor, float outlineWidth, float yCaretOffset, ::OffscreenCaptureDescription const &offscreenCaptureDescription, bool autoGenNormalsAndTangents)
virtual int getLineLength (::std::string_view str, float fontSize, bool showColorSymbol)
virtual::Vec2 getTranslationFactor () const
virtual void onAppSuspended ()
virtual void onDeviceLost ()
virtual void reloadFontTextures (::Bedrock::NonOwnerPointer<::ResourceLoadManager > const &resourceLoadManager, bool blockingLoad)
virtual bool isReloadingTextures ()
virtual void unloadTextures ()
virtual float getGlyphHeight (int glyphSheet, bool isUnicode) const
virtual int _getReplacementCharacter ()
virtual uchar _getAsciiSheetCount () const
virtual int _getAsciiGlyphsPerPage () const
virtual bool _usesLegacyAsciiMapping () const
MCAPI bool _chopString (::std::string &currentLine, ::std::string &activeFormatting, float &totalHeight, uint &remainingLineCount, float maxWidth, bool showColorSymbol, bool centered, float fontSize, ::std::function< bool(::std::string_view const &, ::std::string &, float, uint &)> const currentLineCallback, int &outRemainingCharacterCount)
MCAPI int _drawWordWrap (::ScreenContext &screenContext, ::std::string_view str, float x, float y, float w, ::mce::Color const &color, uint maxLine, float fontSize, bool shadow, bool centered, bool showColorSymbol, ::mce::MaterialPtr *optionalMat)
MCAPI int _getSheet (int uniChar, int &replacementC, bool forceUnicode)
MCAPI int _getStringChopAmount (::std::string_view currentLine, bool showColorSymbol, float maxWidth, bool reserveHyphenWidth)
MCAPI ::std::shared_ptr<::Font::TextObject > _makeTextObject (::Tessellator &tessellator, ::std::string_view str, ::mce::Color const &ccolor, bool showColorSymbol, bool ignoreColorFormatting, int caretPosition, bool shadow, float linePadding, bool isOddGuiScale, ::mce::Color const &resetColorOverride, bool uiMaterial, float outlineWidth, float yCaretOffset, bool autoGenNormalsAndTangents)
MCAPI int _processHeightWrap (::std::string_view str, float startX, float startY, float maxWidth, uint maxLine, bool showColorSymbol, bool centered, float fontSize, ::std::function< bool(::std::string_view const &, ::std::string &, float, uint &)> currentLineCallback)
MCAPI void calculateTextWidths (::std::string_view text, ::std::vector< int > &widths)
MCAPI bool containsWideChar (::std::string_view str)
MCAPI void drawShadow (::ScreenContext &screenContext, ::std::string_view str, float x, float y, ::mce::Color const &color, bool showColorSymbol, ::mce::MaterialPtr *optionalMat, float linePadding)
MCAPI void drawTransformed (::ScreenContext &screenContext, ::std::string_view str, float x, float y, ::mce::Color const &color, float angle, float s, bool centered, float maxWidth, bool shadow)
MCAPI void drawWithColorResetOverride (::ScreenContext &screenContext, ::std::string_view str, float x, float y, ::mce::Color const &color, ::mce::Color const &resetColor, bool showColorSymbol, ::mce::MaterialPtr *optionalMat, int caretPosition, float linePadding, float yCaretOffset)
MCAPI ::std::unordered_set<::ResourceLocation > const & getGlyphLocations () const
MCAPI ::std::vector<::ResourceLocation > getReloadFontTextures () const
MCAPI int processLinesInBox (::std::string_view str, float maxWidth, uint maxLines, bool showColorSymbol, ::std::function< bool(::std::string_view const &, ::std::string &, float, uint &)> currentLineCallback)
MCAPI void resetFontData (bool uploadTextureImmediately)
MCAPI bool supportsString (::std::string_view str)
MCAPI void * $ctor (::Font const &rhs)
MCAPI void * $ctor (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void $dtor ()
MCAPI void $fetchPage (int page)
MCAPI void $drawCached (::ScreenContext &screenContext, ::std::string_view str, float x, float y, ::mce::Color const &color, bool ignoreColorFormatting, bool darken, bool drawColorSymbol, ::mce::MaterialPtr const *optionalMat, int caretPosition, bool shadow, float linePadding, ::mce::Color const &resetColorOverride, ::mce::Color const &shaderDarkColor, float outlineWidth, float yCaretOffset, ::OffscreenCaptureDescription const &offscreenCaptureDescription, bool autoGenNormalsAndTangents)
MCAPI int $getLineLength (::std::string_view str, float fontSize, bool showColorSymbol)
MCAPI::Vec2 $getTranslationFactor () const
MCAPI void $onAppSuspended ()
MCAPI void $onDeviceLost ()
MCAPI void $reloadFontTextures (::Bedrock::NonOwnerPointer<::ResourceLoadManager > const &resourceLoadManager, bool blockingLoad)
MCAPI bool $isReloadingTextures ()
MCAPI void $unloadTextures ()
MCAPI float $getGlyphHeight (int glyphSheet, bool isUnicode) const
MCAPI int $_getReplacementCharacter ()
MCAPI uchar $_getAsciiSheetCount () const
MCAPI int $_getAsciiGlyphsPerPage () const
MCAPI bool $_usesLegacyAsciiMapping () const

Static Public Member Functions

static MCAPI bool shouldInsertHyphenAtLineBreak (::std::string_view textBeforeBreak, ::std::string_view textAfterBreak, bool languageSupportsHyphenSplitting)
static MCAPI ::Core::PathBuffer<::std::string > const & NOT_FOUND_PAGE ()
static MCAPI int const & UNICODE_REPLACEMENT_CHARACTER_CODE ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::FontAlias::ReferenceData > > mFontReferences
::ll::TypedStorage< 8, 32, ::std::string > mCurrentLanguageCode
::ll::TypedStorage< 1, 1, bool > mAllReferencesMaterialsCanBeOverridden
::ll::TypedStorage< 1, 1, bool > mAllReferencesScreenPixelAligned
::ll::TypedStorage< 1, 1, bool > mAllReferencesSupportShadowInSingleDraw
::ll::TypedStorage< 4, 4, float > mMaxWrapHeight
::ll::TypedStorage< 4, 4, float > mMaxScalar
::ll::TypedStorage< 4, 512, ::mce::Color[32]> mColors
::ll::TypedStorage< 4, 4, float > mScalarOverride
::ll::TypedStorage< 8, 24, ::std::vector<::std::tuple< int, int, float > > > mScaleOverrideCharacter
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::TextureGroup > > mTextureGroup
::ll::TypedStorage< 8, 16, ::Font::TextObjectCache > mStringCache
::ll::TypedStorage< 4, 4, int > mObfuscatedIndex
::ll::TypedStorage< 4, 4, float > mObfuscatedTextTime
::ll::TypedStorage< 4, 8, ::Vec2 > mCaretRenderPosition
::ll::TypedStorage< 4, 8, ::Vec2 > mCaretRenderSize
::ll::TypedStorage< 1, 1, bool > mAlwaysUnicode
::ll::TypedStorage< 1, 1, bool > mAutoResetFormat
::ll::TypedStorage< 1, 1, bool > mUseCache
::ll::TypedStorage< 4, 16, ::mce::Color > mCurrentColor
::ll::TypedStorage< 4, 4, int > mFontTexture
::ll::TypedStorage< 4, 16, ::mce::Color > mCaretColor
::ll::TypedStorage< 1, 1, bool > mItalic
::ll::TypedStorage< 1, 1, bool > mBold
::ll::TypedStorage< 1, 1, bool > mStrikethrough
::ll::TypedStorage< 1, 1, bool > mUnderlined
::ll::TypedStorage< 1, 1, bool > mObfuscated
::ll::TypedStorage< 8, 16, ::mce::MaterialPtr > mFontMat

Member Function Documentation

◆ _getCharWidth()

virtual float FontAlias::_getCharWidth ( int uniChar,
bool forceUnicode )
virtual

Implements Font.

◆ supportsChar()

virtual bool FontAlias::supportsChar ( int const & character)
virtual

Implements Font.

◆ getWrapHeight()

virtual float FontAlias::getWrapHeight ( ) const
virtual

Implements Font.

◆ getScaleFactor() [1/2]

virtual float FontAlias::getScaleFactor ( ) const
virtual

Implements Font.

◆ getScaleFactor() [2/2]

virtual float FontAlias::getScaleFactor ( int uniChar) const
virtual

Reimplemented from Font.

◆ isScreenPixelAligned()

virtual bool FontAlias::isScreenPixelAligned ( ) const
virtual

Implements Font.

◆ materialCanBeOverridden()

virtual bool FontAlias::materialCanBeOverridden ( ) const
virtual

Implements Font.

◆ setTextConstantsInScreenContext()

virtual void FontAlias::setTextConstantsInScreenContext ( ::ScreenContext & screenContext,
int glyphSheet,
float guiScale,
::mce::Color const & textColor,
bool hasShadow ) const
virtual

Reimplemented from Font.

◆ uploadTextureToGPU()

virtual void FontAlias::uploadTextureToGPU ( )
virtual

Implements Font.

◆ _getFontSheetLocation()

virtual::ResourceLocation FontAlias::_getFontSheetLocation ( int sheet,
bool forceUnicode ) const
virtual

Implements Font.

◆ getMaterial()

virtual::mce::MaterialPtr const & FontAlias::getMaterial ( int sheet,
bool isOddGuiScale ) const
virtual

Implements Font.

◆ loadFontData()

virtual void FontAlias::loadFontData ( bool uploadTextureImmediately)
virtual

Implements Font.

◆ _supportsShadowInSingleDraw()

virtual bool FontAlias::_supportsShadowInSingleDraw ( )
virtual

Implements Font.

◆ onLanguageChanged()

virtual void FontAlias::onLanguageChanged ( ::std::string_view languageCode)
virtual

Reimplemented from Font.

◆ _scanUnicodeCharacterSize()

virtual void FontAlias::_scanUnicodeCharacterSize ( int character,
int sheet,
bool forceUnicode )
virtual

Implements Font.

◆ buildChar()

virtual float FontAlias::buildChar ( ::std::vector<::Font::GlyphQuad > & quads,
int i,
::mce::Color const & color,
bool italic,
float x,
float y,
bool unicode )
virtual

Implements Font.

◆ switchFontsource()

virtual void FontAlias::switchFontsource ( ::Core::Path const & asciiName,
::Core::Path const & unicodeName )
virtual

Implements Font.

◆ getFontSources()

virtual ::std::pair<::Core::PathBuffer<::std::string > const &, ::Core::PathBuffer<::std::string > const & > FontAlias::getFontSources ( ) const
virtual

Implements Font.

◆ getFontReferenceForSheet()

MCAPI ::Bedrock::NotNullNonOwnerPtr<::FontHandle const > FontAlias::getFontReferenceForSheet ( int const & sheet) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getFontReferenceForUnicode()

MCAPI ::Bedrock::NotNullNonOwnerPtr<::FontHandle const > FontAlias::getFontReferenceForUnicode ( int const & character) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_getCharWidth()

MCAPI float FontAlias::$_getCharWidth ( int uniChar,
bool forceUnicode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $supportsChar()

MCAPI bool FontAlias::$supportsChar ( int const & character)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getWrapHeight()

MCAPI float FontAlias::$getWrapHeight ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getScaleFactor() [1/2]

MCAPI float FontAlias::$getScaleFactor ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getScaleFactor() [2/2]

MCAPI float FontAlias::$getScaleFactor ( int uniChar) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isScreenPixelAligned()

MCAPI bool FontAlias::$isScreenPixelAligned ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $materialCanBeOverridden()

MCAPI bool FontAlias::$materialCanBeOverridden ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setTextConstantsInScreenContext()

MCAPI void FontAlias::$setTextConstantsInScreenContext ( ::ScreenContext & screenContext,
int glyphSheet,
float guiScale,
::mce::Color const & textColor,
bool hasShadow ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $uploadTextureToGPU()

MCAPI void FontAlias::$uploadTextureToGPU ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_getFontSheetLocation()

MCAPI::ResourceLocation FontAlias::$_getFontSheetLocation ( int sheet,
bool forceUnicode ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getMaterial()

MCAPI::mce::MaterialPtr const & FontAlias::$getMaterial ( int sheet,
bool isOddGuiScale ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getType()

MCAPI::mce::Font::Type FontAlias::$getType ( int glyphSheet) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $tryGetRenderingParameters()

MCAPI ::std::optional<::mce::Font::RenderingParameters > FontAlias::$tryGetRenderingParameters ( ::ScreenContext const & screenContext,
int glyphSheet,
float guiScale,
::mce::Color const & textColor,
bool hasShadow,
uint textureWidth,
uint textureHeight,
bool isUnicode ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $loadFontData()

MCAPI void FontAlias::$loadFontData ( bool uploadTextureImmediately)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_supportsShadowInSingleDraw()

MCAPI bool FontAlias::$_supportsShadowInSingleDraw ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLanguageChanged()

MCAPI void FontAlias::$onLanguageChanged ( ::std::string_view languageCode)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_scanUnicodeCharacterSize()

MCAPI void FontAlias::$_scanUnicodeCharacterSize ( int character,
int sheet,
bool forceUnicode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $buildChar()

MCAPI float FontAlias::$buildChar ( ::std::vector<::Font::GlyphQuad > & quads,
int i,
::mce::Color const & color,
bool italic,
float x,
float y,
bool unicode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_remapString()

MCAPI::std::string FontAlias::$_remapString ( ::std::string_view str) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $switchFontsource()

MCAPI void FontAlias::$switchFontsource ( ::Core::Path const & asciiName,
::Core::Path const & unicodeName )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getFontSources()

MCAPI ::std::pair<::Core::PathBuffer<::std::string > const &, ::Core::PathBuffer<::std::string > const & > FontAlias::$getFontSources ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _chopString()

MCAPI bool Font::_chopString ( ::std::string & currentLine,
::std::string & activeFormatting,
float & totalHeight,
uint & remainingLineCount,
float maxWidth,
bool showColorSymbol,
bool centered,
float fontSize,
::std::function< bool(::std::string_view const &, ::std::string &, float, uint &)> const currentLineCallback,
int & outRemainingCharacterCount )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _drawWordWrap()

MCAPI int Font::_drawWordWrap ( ::ScreenContext & screenContext,
::std::string_view str,
float x,
float y,
float w,
::mce::Color const & color,
uint maxLine,
float fontSize,
bool shadow,
bool centered,
bool showColorSymbol,
::mce::MaterialPtr * optionalMat )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getSheet()

MCAPI int Font::_getSheet ( int uniChar,
int & replacementC,
bool forceUnicode )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getStringChopAmount()

MCAPI int Font::_getStringChopAmount ( ::std::string_view currentLine,
bool showColorSymbol,
float maxWidth,
bool reserveHyphenWidth )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _makeTextObject()

MCAPI ::std::shared_ptr<::Font::TextObject > Font::_makeTextObject ( ::Tessellator & tessellator,
::std::string_view str,
::mce::Color const & ccolor,
bool showColorSymbol,
bool ignoreColorFormatting,
int caretPosition,
bool shadow,
float linePadding,
bool isOddGuiScale,
::mce::Color const & resetColorOverride,
bool uiMaterial,
float outlineWidth,
float yCaretOffset,
bool autoGenNormalsAndTangents )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _processHeightWrap()

MCAPI int Font::_processHeightWrap ( ::std::string_view str,
float startX,
float startY,
float maxWidth,
uint maxLine,
bool showColorSymbol,
bool centered,
float fontSize,
::std::function< bool(::std::string_view const &, ::std::string &, float, uint &)> currentLineCallback )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ containsWideChar()

MCAPI bool Font::containsWideChar ( ::std::string_view str)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ drawShadow()

MCAPI void Font::drawShadow ( ::ScreenContext & screenContext,
::std::string_view str,
float x,
float y,
::mce::Color const & color,
bool showColorSymbol,
::mce::MaterialPtr * optionalMat,
float linePadding )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ drawTransformed()

MCAPI void Font::drawTransformed ( ::ScreenContext & screenContext,
::std::string_view str,
float x,
float y,
::mce::Color const & color,
float angle,
float s,
bool centered,
float maxWidth,
bool shadow )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ drawWithColorResetOverride()

MCAPI void Font::drawWithColorResetOverride ( ::ScreenContext & screenContext,
::std::string_view str,
float x,
float y,
::mce::Color const & color,
::mce::Color const & resetColor,
bool showColorSymbol,
::mce::MaterialPtr * optionalMat,
int caretPosition,
float linePadding,
float yCaretOffset )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getGlyphLocations()

MCAPI ::std::unordered_set<::ResourceLocation > const & Font::getGlyphLocations ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getReloadFontTextures()

MCAPI ::std::vector<::ResourceLocation > Font::getReloadFontTextures ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ processLinesInBox()

MCAPI int Font::processLinesInBox ( ::std::string_view str,
float maxWidth,
uint maxLines,
bool showColorSymbol,
::std::function< bool(::std::string_view const &, ::std::string &, float, uint &)> currentLineCallback )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ resetFontData()

MCAPI void Font::resetFontData ( bool uploadTextureImmediately)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ supportsString()

MCAPI bool Font::supportsString ( ::std::string_view str)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ shouldInsertHyphenAtLineBreak()

MCAPI bool Font::shouldInsertHyphenAtLineBreak ( ::std::string_view textBeforeBreak,
::std::string_view textAfterBreak,
bool languageSupportsHyphenSplitting )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ NOT_FOUND_PAGE()

MCAPI ::Core::PathBuffer<::std::string > const & Font::NOT_FOUND_PAGE ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ UNICODE_REPLACEMENT_CHARACTER_CODE()

MCAPI int const & Font::UNICODE_REPLACEMENT_CHARACTER_CODE ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/2]

MCAPI void * Font::$ctor ( ::Font const & rhs)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/2]

MCAPI void * Font::$ctor ( ::std::shared_ptr<::mce::TextureGroup > textureGroup)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void Font::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $fetchPage()

MCAPI void Font::$fetchPage ( int page)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getLineLength()

MCAPI int Font::$getLineLength ( ::std::string_view str,
float fontSize,
bool showColorSymbol )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getTranslationFactor()

MCAPI::Vec2 Font::$getTranslationFactor ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onAppSuspended()

MCAPI void Font::$onAppSuspended ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onDeviceLost()

MCAPI void Font::$onDeviceLost ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $reloadFontTextures()

MCAPI void Font::$reloadFontTextures ( ::Bedrock::NonOwnerPointer<::ResourceLoadManager > const & resourceLoadManager,
bool blockingLoad )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isReloadingTextures()

MCAPI bool Font::$isReloadingTextures ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $unloadTextures()

MCAPI void Font::$unloadTextures ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getGlyphHeight()

MCAPI float Font::$getGlyphHeight ( int glyphSheet,
bool isUnicode ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_getReplacementCharacter()

MCAPI int Font::$_getReplacementCharacter ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_getAsciiSheetCount()

MCAPI uchar Font::$_getAsciiSheetCount ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_getAsciiGlyphsPerPage()

MCAPI int Font::$_getAsciiGlyphsPerPage ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_usesLegacyAsciiMapping()

MCAPI bool Font::$_usesLegacyAsciiMapping ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** Font::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: