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

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

BitmapFont & operator= (BitmapFont const &)
virtual float _getCharWidth (int uniChar, bool forceUnicode)
virtual bool supportsChar (int const &character)
virtual float getWrapHeight () const
virtual float getScaleFactor (int c) const
virtual float getScaleFactor () const
virtual bool isScreenPixelAligned () const
virtual bool materialCanBeOverridden () const
virtual void uploadTextureToGPU ()
virtual void _scanUnicodeCharacterSize (int character, int sheet, bool forceUnicode)
virtual bool _supportsShadowInSingleDraw ()
virtual::ResourceLocation _getFontSheetLocation (int sheet, bool forceUnicode) const
virtual::mce::MaterialPtr const & getMaterial (int sheet, bool isOddGuiScale) const
virtual float getGlyphHeight (int glyphSheet, bool isUnicode) const
virtual void loadFontData (bool uploadTextureImmediately)
virtual float buildChar (::std::vector<::Font::GlyphQuad > &quads, int i, ::mce::Color const &color, bool italic, float x, float y, bool unicode)
virtual ::Core::PathBuffer<::std::string > getUnicodeFontNameWithPage (::Core::Path const &fontName, uchar const page) 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
virtual uchar _getAsciiSheetCount () const
virtual int _getAsciiGlyphsPerPage () const
virtual bool _usesLegacyAsciiMapping () const
MCAPI BitmapFont (::BitmapFont const &rhs)
MCAPI BitmapFont (::Core::Path const &asciiName, ::Core::Path const &unicodeName, ::std::shared_ptr<::mce::TextureGroup > textureGroup, uchar asciiSheetCount, bool uploadOnConstruction)
MCAPI ::Core::PathBuffer<::std::string > getAsciiFontNameWithPage (uchar const page) const
MCAPI void * $ctor (::BitmapFont const &rhs)
MCAPI void * $ctor (::Core::Path const &asciiName, ::Core::Path const &unicodeName, ::std::shared_ptr<::mce::TextureGroup > textureGroup, uchar asciiSheetCount, bool uploadOnConstruction)
MCAPI float $_getCharWidth (int uniChar, bool forceUnicode)
MCAPI bool $supportsChar (int const &character)
MCAPI float $getWrapHeight () const
MCAPI float $getScaleFactor (int c) const
MCAPI float $getScaleFactor () const
MCAPI bool $isScreenPixelAligned () const
MCAPI bool $materialCanBeOverridden () const
MCAPI void $uploadTextureToGPU ()
MCAPI void $_scanUnicodeCharacterSize (int character, int sheet, bool forceUnicode)
MCAPI bool $_supportsShadowInSingleDraw ()
MCAPI::ResourceLocation $_getFontSheetLocation (int sheet, bool forceUnicode) const
MCAPI::mce::MaterialPtr const & $getMaterial (int sheet, bool isOddGuiScale) const
MCAPI float $getGlyphHeight (int glyphSheet, bool isUnicode) const
MCAPI void $loadFontData (bool uploadTextureImmediately)
MCAPI float $buildChar (::std::vector<::Font::GlyphQuad > &quads, int i, ::mce::Color const &color, bool italic, float x, float y, bool unicode)
MCAPI ::Core::PathBuffer<::std::string > $getUnicodeFontNameWithPage (::Core::Path const &fontName, uchar const page) 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
MCAPI uchar $_getAsciiSheetCount () const
MCAPI int $_getAsciiGlyphsPerPage () const
MCAPI bool $_usesLegacyAsciiMapping () 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 setTextConstantsInScreenContext (::ScreenContext &screenContext, int glyphSheet, float guiScale, ::mce::Color const &textColor, bool hasShadow) 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 onAppSuspended ()
virtual void onDeviceLost ()
virtual void reloadFontTextures (::Bedrock::NonOwnerPointer<::ResourceLoadManager > const &resourceLoadManager, bool blockingLoad)
virtual bool isReloadingTextures ()
virtual void unloadTextures ()
virtual void onLanguageChanged (::std::string_view languageCode)
virtual int _getReplacementCharacter ()
virtual::std::string _remapString (::std::string_view str) 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 $setTextConstantsInScreenContext (::ScreenContext &screenContext, int glyphSheet, float guiScale, ::mce::Color const &textColor, bool hasShadow) 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 $onAppSuspended ()
MCAPI void $onDeviceLost ()
MCAPI void $reloadFontTextures (::Bedrock::NonOwnerPointer<::ResourceLoadManager > const &resourceLoadManager, bool blockingLoad)
MCAPI bool $isReloadingTextures ()
MCAPI void $unloadTextures ()
MCAPI void $onLanguageChanged (::std::string_view languageCode)
MCAPI int $_getReplacementCharacter ()
MCAPI::std::string $_remapString (::std::string_view str) 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, 32, ::Core::PathBuffer<::std::string > > mAsciiFontName
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mUnicodeFontName
::ll::TypedStorage< 1, 1, uchar > mAsciiSheetCount
::ll::TypedStorage< 1, 1, uchar > mAsciiCharacterHeight
::ll::TypedStorage< 4, 4, int > mAsciiCharacterYOffset
::ll::TypedStorage< 1, 1, bool > mUseExtendedAscii
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::std::array< float, 256 > > > mCharWidths
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::std::shared_ptr<::mce::Image > > > mBitmapFontImages
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, float > > mUnicodeWidths
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, float > > mUnicodeOffsets
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, float > > mUnicodePageGlyphWidths
::ll::TypedStorage< 8, 64, ::std::unordered_set< int > > mSheetScannedForWidthsAndOffsets
::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

Constructor & Destructor Documentation

◆ BitmapFont() [1/2]

MCAPI BitmapFont::BitmapFont ( ::BitmapFont const & rhs)
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.

◆ BitmapFont() [2/2]

MCAPI BitmapFont::BitmapFont ( ::Core::Path const & asciiName,
::Core::Path const & unicodeName,
::std::shared_ptr<::mce::TextureGroup > textureGroup,
uchar asciiSheetCount,
bool uploadOnConstruction )
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.

Member Function Documentation

◆ _getCharWidth()

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

Implements Font.

◆ supportsChar()

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

Implements Font.

◆ getWrapHeight()

virtual float BitmapFont::getWrapHeight ( ) const
virtual

Implements Font.

◆ getScaleFactor() [1/2]

virtual float BitmapFont::getScaleFactor ( int c) const
virtual

Reimplemented from Font.

◆ getScaleFactor() [2/2]

virtual float BitmapFont::getScaleFactor ( ) const
virtual

Implements Font.

◆ isScreenPixelAligned()

virtual bool BitmapFont::isScreenPixelAligned ( ) const
virtual

Implements Font.

◆ materialCanBeOverridden()

virtual bool BitmapFont::materialCanBeOverridden ( ) const
virtual

Implements Font.

◆ uploadTextureToGPU()

virtual void BitmapFont::uploadTextureToGPU ( )
virtual

Implements Font.

◆ _scanUnicodeCharacterSize()

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

Implements Font.

◆ _supportsShadowInSingleDraw()

virtual bool BitmapFont::_supportsShadowInSingleDraw ( )
virtual

Implements Font.

◆ _getFontSheetLocation()

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

Implements Font.

◆ getMaterial()

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

Implements Font.

◆ getGlyphHeight()

virtual float BitmapFont::getGlyphHeight ( int glyphSheet,
bool isUnicode ) const
virtual

Reimplemented from Font.

◆ loadFontData()

virtual void BitmapFont::loadFontData ( bool uploadTextureImmediately)
virtual

Implements Font.

◆ buildChar()

virtual float BitmapFont::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 BitmapFont::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 & > BitmapFont::getFontSources ( ) const
virtual

Implements Font.

◆ _getAsciiSheetCount()

virtual uchar BitmapFont::_getAsciiSheetCount ( ) const
virtual

Reimplemented from Font.

◆ _getAsciiGlyphsPerPage()

virtual int BitmapFont::_getAsciiGlyphsPerPage ( ) const
virtual

Reimplemented from Font.

◆ _usesLegacyAsciiMapping()

virtual bool BitmapFont::_usesLegacyAsciiMapping ( ) const
virtual

Reimplemented from Font.

◆ getAsciiFontNameWithPage()

MCAPI ::Core::PathBuffer<::std::string > BitmapFont::getAsciiFontNameWithPage ( uchar const page) 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.

◆ $ctor() [1/4]

MCAPI void * BitmapFont::$ctor ( ::BitmapFont const & rhs)
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/4]

MCAPI void * BitmapFont::$ctor ( ::Core::Path const & asciiName,
::Core::Path const & unicodeName,
::std::shared_ptr<::mce::TextureGroup > textureGroup,
uchar asciiSheetCount,
bool uploadOnConstruction )
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 BitmapFont::$_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 BitmapFont::$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 BitmapFont::$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 BitmapFont::$getScaleFactor ( int c) 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 BitmapFont::$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.

◆ $isScreenPixelAligned()

MCAPI bool BitmapFont::$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 BitmapFont::$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.

◆ $uploadTextureToGPU()

MCAPI void BitmapFont::$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.

◆ $_scanUnicodeCharacterSize()

MCAPI void BitmapFont::$_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.

◆ $_supportsShadowInSingleDraw()

MCAPI bool BitmapFont::$_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.

◆ $_getFontSheetLocation()

MCAPI::ResourceLocation BitmapFont::$_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 & BitmapFont::$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.

◆ $getGlyphHeight()

MCAPI float BitmapFont::$getGlyphHeight ( int glyphSheet,
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 BitmapFont::$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.

◆ $buildChar()

MCAPI float BitmapFont::$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.

◆ $getUnicodeFontNameWithPage()

MCAPI ::Core::PathBuffer<::std::string > BitmapFont::$getUnicodeFontNameWithPage ( ::Core::Path const & fontName,
uchar const page ) 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 BitmapFont::$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 & > BitmapFont::$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.

◆ $_getAsciiSheetCount()

MCAPI uchar BitmapFont::$_getAsciiSheetCount ( ) 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.

◆ $_getAsciiGlyphsPerPage()

MCAPI int BitmapFont::$_getAsciiGlyphsPerPage ( ) 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.

◆ $_usesLegacyAsciiMapping()

MCAPI bool BitmapFont::$_usesLegacyAsciiMapping ( ) 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() [3/4]

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() [4/4]

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.

◆ $setTextConstantsInScreenContext()

MCAPI void Font::$setTextConstantsInScreenContext ( ::ScreenContext & screenContext,
int glyphSheet,
float guiScale,
::mce::Color const & textColor,
bool hasShadow ) 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.

◆ $getType()

MCAPI::mce::Font::Type Font::$getType ( int glyphSheet) 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.

◆ $tryGetRenderingParameters()

MCAPI ::std::optional<::mce::Font::RenderingParameters > Font::$tryGetRenderingParameters ( ::ScreenContext const & screenContext,
int glyphSheet,
float guiScale,
::mce::Color const & textColor,
bool hasShadow,
uint textureWidth,
uint textureHeight,
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.

◆ $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.

◆ $onLanguageChanged()

MCAPI void Font::$onLanguageChanged ( ::std::string_view languageCode)
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.

◆ $_remapString()

MCAPI::std::string Font::$_remapString ( ::std::string_view str) 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: