Package com.mojang.blaze3d.font
Class TrueTypeGlyphProvider
java.lang.Object
com.mojang.blaze3d.font.TrueTypeGlyphProvider
- All Implemented Interfaces:
GlyphProvider
,Closeable
,AutoCloseable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) float
(package private) org.lwjgl.stb.STBTTFontinfo
private ByteBuffer
(package private) float
(package private) float
(package private) float
(package private) float
private it.unimi.dsi.fastutil.ints.IntSet
-
Constructor Summary
ConstructorDescriptionTrueTypeGlyphProvider(ByteBuffer p_83846_, org.lwjgl.stb.STBTTFontinfo p_83847_, float p_83848_, float p_83849_, float p_83850_, float p_83851_, String p_83852_)
-
Method Summary
-
Field Details
-
fontMemory
-
font
final org.lwjgl.stb.STBTTFontinfo font -
oversample
final float oversample -
skip
private final it.unimi.dsi.fastutil.ints.IntSet skip -
shiftX
final float shiftX -
shiftY
final float shiftY -
pointScale
final float pointScale -
ascent
final float ascent
-
-
Constructor Details
-
TrueTypeGlyphProvider
public TrueTypeGlyphProvider(ByteBuffer p_83846_, org.lwjgl.stb.STBTTFontinfo p_83847_, float p_83848_, float p_83849_, float p_83850_, float p_83851_, String p_83852_)
-
-
Method Details
-
getGlyph
- Specified by:
getGlyph
in interfaceGlyphProvider
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceGlyphProvider
-
getSupportedGlyphs
public it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
getSupportedGlyphs
in interfaceGlyphProvider
-