Class STBTT
java.lang.Object
club.doki7.stb.truetype.STBTT
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
bakeFontBitmap
(@Nullable BytePtr data, int offset, float pixelHeight, @Nullable BytePtr pixels, int pw, int ph, int firstChar, int numChars, @Nullable ISTBTT_Bakedchar chardata) int
compareUTF8toUTF16_bigendian
(@Nullable BytePtr s1, int len1, @Nullable BytePtr s2, int len2) int
findGlyphIndex
(@Nullable ISTBTT_Fontinfo info, int unicodeCodepoint) int
findMatchingFont
(@Nullable BytePtr fontdata, @Nullable BytePtr name, int flags) @Nullable BytePtr
findSVGDoc
(@Nullable ISTBTT_Fontinfo info, int gl) void
freeBitmap
(@Nullable BytePtr bitmap, @NotNull MemorySegment userdata) void
freeSDF
(@Nullable BytePtr bitmap, @NotNull MemorySegment userdata) void
freeShape
(@Nullable ISTBTT_Fontinfo info, @Nullable ISTBTT_Vertex vertices) void
getBakedQuad
(@Nullable ISTBTT_Bakedchar chardata, int pw, int ph, int charIndex, @Nullable FloatPtr xpos, @Nullable FloatPtr ypos, @Nullable ISTBTT_AlignedQuad q, int openglFillrule) @Nullable BytePtr
getCodepointBitmap
(@Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, int codepoint, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr xoff, @Nullable IntPtr yoff) void
getCodepointBitmapBox
(@Nullable ISTBTT_Fontinfo font, int codepoint, float scaleX, float scaleY, @Nullable IntPtr ix0, @Nullable IntPtr iy0, @Nullable IntPtr ix1, @Nullable IntPtr iy1) void
getCodepointBitmapBoxSubpixel
(@Nullable ISTBTT_Fontinfo font, int codepoint, float scaleX, float scaleY, float shiftX, float shiftY, @Nullable IntPtr ix0, @Nullable IntPtr iy0, @Nullable IntPtr ix1, @Nullable IntPtr iy1) @Nullable BytePtr
getCodepointBitmapSubpixel
(@Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, float shiftX, float shiftY, int codepoint, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr xoff, @Nullable IntPtr yoff) int
getCodepointBox
(@Nullable ISTBTT_Fontinfo info, int codepoint, @Nullable IntPtr x0, @Nullable IntPtr y0, @Nullable IntPtr x1, @Nullable IntPtr y1) void
getCodepointHMetrics
(@Nullable ISTBTT_Fontinfo info, int codepoint, @Nullable IntPtr advancewidth, @Nullable IntPtr leftsidebearing) int
getCodepointKernAdvance
(@Nullable ISTBTT_Fontinfo info, int ch1, int ch2) @Nullable BytePtr
getCodepointSDF
(@Nullable ISTBTT_Fontinfo info, float scale, int codepoint, int padding, byte onedgeValue, float pixelDistScale, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr xoff, @Nullable IntPtr yoff) int
getCodepointShape
(@Nullable ISTBTT_Fontinfo info, int unicodeCodepoint, @Nullable PointerPtr vertices) int
getCodepointSVG
(@Nullable ISTBTT_Fontinfo info, int unicodeCodepoint, @Nullable PointerPtr svg) void
getFontBoundingBox
(@Nullable ISTBTT_Fontinfo info, @Nullable IntPtr x0, @Nullable IntPtr y0, @Nullable IntPtr x1, @Nullable IntPtr y1) @Nullable BytePtr
getFontNameString
(@Nullable ISTBTT_Fontinfo font, @Nullable IntPtr length, int platformid, int encodingid, int languageid, int nameid) int
getFontOffsetForIndex
(@Nullable BytePtr data, int index) void
getFontVMetrics
(@Nullable ISTBTT_Fontinfo info, @Nullable IntPtr ascent, @Nullable IntPtr descent, @Nullable IntPtr linegap) int
getFontVMetricsOS2
(@Nullable ISTBTT_Fontinfo info, @Nullable IntPtr typoascent, @Nullable IntPtr typodescent, @Nullable IntPtr typolinegap) @Nullable BytePtr
getGlyphBitmap
(@Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, int glyph, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr xoff, @Nullable IntPtr yoff) void
getGlyphBitmapBox
(@Nullable ISTBTT_Fontinfo font, int glyph, float scaleX, float scaleY, @Nullable IntPtr ix0, @Nullable IntPtr iy0, @Nullable IntPtr ix1, @Nullable IntPtr iy1) void
getGlyphBitmapBoxSubpixel
(@Nullable ISTBTT_Fontinfo font, int glyph, float scaleX, float scaleY, float shiftX, float shiftY, @Nullable IntPtr ix0, @Nullable IntPtr iy0, @Nullable IntPtr ix1, @Nullable IntPtr iy1) @Nullable BytePtr
getGlyphBitmapSubpixel
(@Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, float shiftX, float shiftY, int glyph, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr xoff, @Nullable IntPtr yoff) int
getGlyphBox
(@Nullable ISTBTT_Fontinfo info, int glyphIndex, @Nullable IntPtr x0, @Nullable IntPtr y0, @Nullable IntPtr x1, @Nullable IntPtr y1) void
getGlyphHMetrics
(@Nullable ISTBTT_Fontinfo info, int glyphIndex, @Nullable IntPtr advancewidth, @Nullable IntPtr leftsidebearing) int
getGlyphKernAdvance
(@Nullable ISTBTT_Fontinfo info, int glyph1, int glyph2) @Nullable BytePtr
getGlyphSDF
(@Nullable ISTBTT_Fontinfo info, float scale, int glyph, int padding, byte onedgeValue, float pixelDistScale, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr xoff, @Nullable IntPtr yoff) int
getGlyphShape
(@Nullable ISTBTT_Fontinfo info, int glyphIndex, @Nullable PointerPtr vertices) int
getGlyphSVG
(@Nullable ISTBTT_Fontinfo info, int gl, @Nullable PointerPtr svg) int
getKerningTable
(@Nullable ISTBTT_Fontinfo info, @Nullable ISTBTT_Kerningentry table, int tableLength) int
getKerningTableLength
(@Nullable ISTBTT_Fontinfo info) int
getNumberOfFonts
(@Nullable BytePtr data) void
getPackedQuad
(@Nullable ISTBTT_Packedchar chardata, int pw, int ph, int charIndex, @Nullable FloatPtr xpos, @Nullable FloatPtr ypos, @Nullable ISTBTT_AlignedQuad q, int alignToInteger) void
getScaledFontVMetrics
(@Nullable BytePtr fontdata, int index, float size, @Nullable FloatPtr ascent, @Nullable FloatPtr descent, @Nullable FloatPtr linegap) int
initFont
(@Nullable ISTBTT_Fontinfo info, @Nullable BytePtr data, int offset) int
isGlyphEmpty
(@Nullable ISTBTT_Fontinfo info, int glyphIndex) void
makeCodepointBitmap
(@Nullable ISTBTT_Fontinfo info, @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, int codepoint) void
makeCodepointBitmapSubpixel
(@Nullable ISTBTT_Fontinfo info, @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int codepoint) void
makeCodepointBitmapSubpixelPrefilter
(@Nullable ISTBTT_Fontinfo info, @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int oversampleX, int oversampleY, @Nullable FloatPtr subX, @Nullable FloatPtr subY, int codepoint) void
makeGlyphBitmap
(@Nullable ISTBTT_Fontinfo info, @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, int glyph) void
makeGlyphBitmapSubpixel
(@Nullable ISTBTT_Fontinfo info, @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int glyph) void
makeGlyphBitmapSubpixelPrefilter
(@Nullable ISTBTT_Fontinfo info, @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int oversampleX, int oversampleY, @Nullable FloatPtr subX, @Nullable FloatPtr subY, int glyph) int
packBegin
(@Nullable ISTBTT_PackContext spc, @Nullable BytePtr pixels, int width, int height, int strideInBytes, int padding, @NotNull MemorySegment allocContext) void
packEnd
(@Nullable ISTBTT_PackContext spc) int
packFontRange
(@Nullable ISTBTT_PackContext spc, @Nullable BytePtr fontdata, int fontIndex, float fontSize, int firstUnicodeCharInRange, int numCharsInRange, @Nullable ISTBTT_Packedchar chardataForRange) int
packFontRanges
(@Nullable ISTBTT_PackContext spc, @Nullable BytePtr fontdata, int fontIndex, @Nullable ISTBTT_PackRange ranges, int numRanges) int
packFontRangesGatherRects
(@Nullable ISTBTT_PackContext spc, @Nullable ISTBTT_Fontinfo info, @Nullable ISTBTT_PackRange ranges, int numRanges, @Nullable club.doki7.stb.truetype.handle.STBRP_Rect rects) void
packFontRangesPackRects
(@Nullable ISTBTT_PackContext spc, @Nullable club.doki7.stb.truetype.handle.STBRP_Rect rects, int numRects) int
packFontRangesRenderIntoRects
(@Nullable ISTBTT_PackContext spc, @Nullable ISTBTT_Fontinfo info, @Nullable ISTBTT_PackRange ranges, int numRanges, @Nullable club.doki7.stb.truetype.handle.STBRP_Rect rects) void
packSetOversampling
(@Nullable ISTBTT_PackContext spc, int hOversample, int vOversample) void
packSetSkipMissingCodepoints
(@Nullable ISTBTT_PackContext spc, int skip) void
rasterize
(@Nullable ISTBTT_Bitmap result, float flatnessInPixels, @Nullable ISTBTT_Vertex vertices, int numVerts, float scaleX, float scaleY, float shiftX, float shiftY, int xOff, int yOff, int invert, @NotNull MemorySegment userdata) float
scaleForMappingEmToPixels
(@Nullable ISTBTT_Fontinfo info, float pixels) float
scaleForPixelHeight
(@Nullable ISTBTT_Fontinfo info, float pixels)
-
Field Details
-
SEGMENT$stbtt_BakeFontBitmap
-
SEGMENT$stbtt_CompareUTF8toUTF16_bigendian
-
SEGMENT$stbtt_FindGlyphIndex
-
SEGMENT$stbtt_FindMatchingFont
-
SEGMENT$stbtt_FindSVGDoc
-
SEGMENT$stbtt_FreeBitmap
-
SEGMENT$stbtt_FreeSDF
-
SEGMENT$stbtt_FreeShape
-
SEGMENT$stbtt_GetBakedQuad
-
SEGMENT$stbtt_GetCodepointBitmap
-
SEGMENT$stbtt_GetCodepointBitmapBox
-
SEGMENT$stbtt_GetCodepointBitmapBoxSubpixel
-
SEGMENT$stbtt_GetCodepointBitmapSubpixel
-
SEGMENT$stbtt_GetCodepointBox
-
SEGMENT$stbtt_GetCodepointHMetrics
-
SEGMENT$stbtt_GetCodepointKernAdvance
-
SEGMENT$stbtt_GetCodepointSDF
-
SEGMENT$stbtt_GetCodepointSVG
-
SEGMENT$stbtt_GetCodepointShape
-
SEGMENT$stbtt_GetFontBoundingBox
-
SEGMENT$stbtt_GetFontNameString
-
SEGMENT$stbtt_GetFontOffsetForIndex
-
SEGMENT$stbtt_GetFontVMetrics
-
SEGMENT$stbtt_GetFontVMetricsOS2
-
SEGMENT$stbtt_GetGlyphBitmap
-
SEGMENT$stbtt_GetGlyphBitmapBox
-
SEGMENT$stbtt_GetGlyphBitmapBoxSubpixel
-
SEGMENT$stbtt_GetGlyphBitmapSubpixel
-
SEGMENT$stbtt_GetGlyphBox
-
SEGMENT$stbtt_GetGlyphHMetrics
-
SEGMENT$stbtt_GetGlyphKernAdvance
-
SEGMENT$stbtt_GetGlyphSDF
-
SEGMENT$stbtt_GetGlyphSVG
-
SEGMENT$stbtt_GetGlyphShape
-
SEGMENT$stbtt_GetKerningTable
-
SEGMENT$stbtt_GetKerningTableLength
-
SEGMENT$stbtt_GetNumberOfFonts
-
SEGMENT$stbtt_GetPackedQuad
-
SEGMENT$stbtt_GetScaledFontVMetrics
-
SEGMENT$stbtt_InitFont
-
SEGMENT$stbtt_IsGlyphEmpty
-
SEGMENT$stbtt_MakeCodepointBitmap
-
SEGMENT$stbtt_MakeCodepointBitmapSubpixel
-
SEGMENT$stbtt_MakeCodepointBitmapSubpixelPrefilter
-
SEGMENT$stbtt_MakeGlyphBitmap
-
SEGMENT$stbtt_MakeGlyphBitmapSubpixel
-
SEGMENT$stbtt_MakeGlyphBitmapSubpixelPrefilter
-
SEGMENT$stbtt_PackBegin
-
SEGMENT$stbtt_PackEnd
-
SEGMENT$stbtt_PackFontRange
-
SEGMENT$stbtt_PackFontRanges
-
SEGMENT$stbtt_PackFontRangesGatherRects
-
SEGMENT$stbtt_PackFontRangesPackRects
-
SEGMENT$stbtt_PackFontRangesRenderIntoRects
-
SEGMENT$stbtt_PackSetOversampling
-
SEGMENT$stbtt_PackSetSkipMissingCodepoints
-
SEGMENT$stbtt_Rasterize
-
SEGMENT$stbtt_ScaleForMappingEmToPixels
-
SEGMENT$stbtt_ScaleForPixelHeight
-
HANDLE$stbtt_BakeFontBitmap
-
HANDLE$stbtt_CompareUTF8toUTF16_bigendian
-
HANDLE$stbtt_FindGlyphIndex
-
HANDLE$stbtt_FindMatchingFont
-
HANDLE$stbtt_FindSVGDoc
-
HANDLE$stbtt_FreeBitmap
-
HANDLE$stbtt_FreeSDF
-
HANDLE$stbtt_FreeShape
-
HANDLE$stbtt_GetBakedQuad
-
HANDLE$stbtt_GetCodepointBitmap
-
HANDLE$stbtt_GetCodepointBitmapBox
-
HANDLE$stbtt_GetCodepointBitmapBoxSubpixel
-
HANDLE$stbtt_GetCodepointBitmapSubpixel
-
HANDLE$stbtt_GetCodepointBox
-
HANDLE$stbtt_GetCodepointHMetrics
-
HANDLE$stbtt_GetCodepointKernAdvance
-
HANDLE$stbtt_GetCodepointSDF
-
HANDLE$stbtt_GetCodepointSVG
-
HANDLE$stbtt_GetCodepointShape
-
HANDLE$stbtt_GetFontBoundingBox
-
HANDLE$stbtt_GetFontNameString
-
HANDLE$stbtt_GetFontOffsetForIndex
-
HANDLE$stbtt_GetFontVMetrics
-
HANDLE$stbtt_GetFontVMetricsOS2
-
HANDLE$stbtt_GetGlyphBitmap
-
HANDLE$stbtt_GetGlyphBitmapBox
-
HANDLE$stbtt_GetGlyphBitmapBoxSubpixel
-
HANDLE$stbtt_GetGlyphBitmapSubpixel
-
HANDLE$stbtt_GetGlyphBox
-
HANDLE$stbtt_GetGlyphHMetrics
-
HANDLE$stbtt_GetGlyphKernAdvance
-
HANDLE$stbtt_GetGlyphSDF
-
HANDLE$stbtt_GetGlyphSVG
-
HANDLE$stbtt_GetGlyphShape
-
HANDLE$stbtt_GetKerningTable
-
HANDLE$stbtt_GetKerningTableLength
-
HANDLE$stbtt_GetNumberOfFonts
-
HANDLE$stbtt_GetPackedQuad
-
HANDLE$stbtt_GetScaledFontVMetrics
-
HANDLE$stbtt_InitFont
-
HANDLE$stbtt_IsGlyphEmpty
-
HANDLE$stbtt_MakeCodepointBitmap
-
HANDLE$stbtt_MakeCodepointBitmapSubpixel
-
HANDLE$stbtt_MakeCodepointBitmapSubpixelPrefilter
-
HANDLE$stbtt_MakeGlyphBitmap
-
HANDLE$stbtt_MakeGlyphBitmapSubpixel
-
HANDLE$stbtt_MakeGlyphBitmapSubpixelPrefilter
-
HANDLE$stbtt_PackBegin
-
HANDLE$stbtt_PackEnd
-
HANDLE$stbtt_PackFontRange
-
HANDLE$stbtt_PackFontRanges
-
HANDLE$stbtt_PackFontRangesGatherRects
-
HANDLE$stbtt_PackFontRangesPackRects
-
HANDLE$stbtt_PackFontRangesRenderIntoRects
-
HANDLE$stbtt_PackSetOversampling
-
HANDLE$stbtt_PackSetSkipMissingCodepoints
-
HANDLE$stbtt_Rasterize
-
HANDLE$stbtt_ScaleForMappingEmToPixels
-
HANDLE$stbtt_ScaleForPixelHeight
-
-
Constructor Details
-
STBTT
-
-
Method Details
-
bakeFontBitmap
public int bakeFontBitmap(@Nullable @Nullable BytePtr data, int offset, float pixelHeight, @Nullable @Nullable BytePtr pixels, int pw, int ph, int firstChar, int numChars, @Nullable @Pointer @Nullable ISTBTT_Bakedchar chardata) -
compareUTF8toUTF16_bigendian
-
findGlyphIndex
-
findMatchingFont
-
findSVGDoc
@Nullable public @Nullable BytePtr findSVGDoc(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int gl) -
freeBitmap
public void freeBitmap(@Nullable @Nullable BytePtr bitmap, @Pointer(comment="void*") @NotNull @NotNull MemorySegment userdata) -
freeSDF
public void freeSDF(@Nullable @Nullable BytePtr bitmap, @Pointer(comment="void*") @NotNull @NotNull MemorySegment userdata) -
freeShape
public void freeShape(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Pointer @Nullable ISTBTT_Vertex vertices) -
getBakedQuad
public void getBakedQuad(@Nullable @Pointer @Nullable ISTBTT_Bakedchar chardata, int pw, int ph, int charIndex, @Nullable @Nullable FloatPtr xpos, @Nullable @Nullable FloatPtr ypos, @Nullable @Pointer @Nullable ISTBTT_AlignedQuad q, int openglFillrule) -
getCodepointBitmap
-
getCodepointBitmapBox
-
getCodepointBitmapBoxSubpixel
-
getCodepointBitmapSubpixel
@Nullable public @Nullable BytePtr getCodepointBitmapSubpixel(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, float shiftX, float shiftY, int codepoint, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr xoff, @Nullable @Nullable IntPtr yoff) -
getCodepointBox
-
getCodepointHMetrics
public void getCodepointHMetrics(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int codepoint, @Nullable @Nullable IntPtr advancewidth, @Nullable @Nullable IntPtr leftsidebearing) -
getCodepointKernAdvance
public int getCodepointKernAdvance(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int ch1, int ch2) -
getCodepointSDF
@Nullable public @Nullable BytePtr getCodepointSDF(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float scale, int codepoint, int padding, byte onedgeValue, float pixelDistScale, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr xoff, @Nullable @Nullable IntPtr yoff) -
getCodepointSVG
public int getCodepointSVG(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int unicodeCodepoint, @Nullable @Nullable PointerPtr svg) -
getCodepointShape
public int getCodepointShape(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int unicodeCodepoint, @Nullable @Nullable PointerPtr vertices) -
getFontBoundingBox
-
getFontNameString
@Nullable public @Nullable BytePtr getFontNameString(@Nullable @Pointer @Nullable ISTBTT_Fontinfo font, @Nullable @Nullable IntPtr length, int platformid, int encodingid, int languageid, int nameid) -
getFontOffsetForIndex
-
getFontVMetrics
public void getFontVMetrics(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable IntPtr ascent, @Nullable @Nullable IntPtr descent, @Nullable @Nullable IntPtr linegap) -
getFontVMetricsOS2
public int getFontVMetricsOS2(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable IntPtr typoascent, @Nullable @Nullable IntPtr typodescent, @Nullable @Nullable IntPtr typolinegap) -
getGlyphBitmap
-
getGlyphBitmapBox
-
getGlyphBitmapBoxSubpixel
-
getGlyphBitmapSubpixel
@Nullable public @Nullable BytePtr getGlyphBitmapSubpixel(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, float shiftX, float shiftY, int glyph, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr xoff, @Nullable @Nullable IntPtr yoff) -
getGlyphBox
-
getGlyphHMetrics
public void getGlyphHMetrics(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int glyphIndex, @Nullable @Nullable IntPtr advancewidth, @Nullable @Nullable IntPtr leftsidebearing) -
getGlyphKernAdvance
public int getGlyphKernAdvance(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int glyph1, int glyph2) -
getGlyphSDF
@Nullable public @Nullable BytePtr getGlyphSDF(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float scale, int glyph, int padding, byte onedgeValue, float pixelDistScale, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr xoff, @Nullable @Nullable IntPtr yoff) -
getGlyphSVG
public int getGlyphSVG(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int gl, @Nullable @Nullable PointerPtr svg) -
getGlyphShape
public int getGlyphShape(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int glyphIndex, @Nullable @Nullable PointerPtr vertices) -
getKerningTable
public int getKerningTable(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Pointer @Nullable ISTBTT_Kerningentry table, int tableLength) -
getKerningTableLength
-
getNumberOfFonts
-
getPackedQuad
public void getPackedQuad(@Nullable @Pointer @Nullable ISTBTT_Packedchar chardata, int pw, int ph, int charIndex, @Nullable @Nullable FloatPtr xpos, @Nullable @Nullable FloatPtr ypos, @Nullable @Pointer @Nullable ISTBTT_AlignedQuad q, int alignToInteger) -
getScaledFontVMetrics
-
initFont
public int initFont(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr data, int offset) -
isGlyphEmpty
-
makeCodepointBitmap
public void makeCodepointBitmap(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, int codepoint) -
makeCodepointBitmapSubpixel
public void makeCodepointBitmapSubpixel(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int codepoint) -
makeCodepointBitmapSubpixelPrefilter
public void makeCodepointBitmapSubpixelPrefilter(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int oversampleX, int oversampleY, @Nullable @Nullable FloatPtr subX, @Nullable @Nullable FloatPtr subY, int codepoint) -
makeGlyphBitmap
public void makeGlyphBitmap(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, int glyph) -
makeGlyphBitmapSubpixel
public void makeGlyphBitmapSubpixel(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int glyph) -
makeGlyphBitmapSubpixelPrefilter
public void makeGlyphBitmapSubpixelPrefilter(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr output, int outW, int outH, int outStride, float scaleX, float scaleY, float shiftX, float shiftY, int oversampleX, int oversampleY, @Nullable @Nullable FloatPtr subX, @Nullable @Nullable FloatPtr subY, int glyph) -
packBegin
public int packBegin(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, @Nullable @Nullable BytePtr pixels, int width, int height, int strideInBytes, int padding, @Pointer(comment="void*") @NotNull @NotNull MemorySegment allocContext) -
packEnd
-
packFontRange
public int packFontRange(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, @Nullable @Nullable BytePtr fontdata, int fontIndex, float fontSize, int firstUnicodeCharInRange, int numCharsInRange, @Nullable @Pointer @Nullable ISTBTT_Packedchar chardataForRange) -
packFontRanges
public int packFontRanges(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, @Nullable @Nullable BytePtr fontdata, int fontIndex, @Nullable @Pointer @Nullable ISTBTT_PackRange ranges, int numRanges) -
packFontRangesGatherRects
public int packFontRangesGatherRects(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, @Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Pointer @Nullable ISTBTT_PackRange ranges, int numRanges, @Nullable @Nullable club.doki7.stb.truetype.handle.STBRP_Rect rects) -
packFontRangesPackRects
public void packFontRangesPackRects(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, @Nullable @Nullable club.doki7.stb.truetype.handle.STBRP_Rect rects, int numRects) -
packFontRangesRenderIntoRects
public int packFontRangesRenderIntoRects(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, @Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Pointer @Nullable ISTBTT_PackRange ranges, int numRanges, @Nullable @Nullable club.doki7.stb.truetype.handle.STBRP_Rect rects) -
packSetOversampling
public void packSetOversampling(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, int hOversample, int vOversample) -
packSetSkipMissingCodepoints
public void packSetSkipMissingCodepoints(@Nullable @Pointer @Nullable ISTBTT_PackContext spc, int skip) -
rasterize
public void rasterize(@Nullable @Pointer @Nullable ISTBTT_Bitmap result, float flatnessInPixels, @Nullable @Pointer @Nullable ISTBTT_Vertex vertices, int numVerts, float scaleX, float scaleY, float shiftX, float shiftY, int xOff, int yOff, int invert, @Pointer(comment="void*") @NotNull @NotNull MemorySegment userdata) -
scaleForMappingEmToPixels
public float scaleForMappingEmToPixels(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float pixels) -
scaleForPixelHeight
-