Class STBTT

java.lang.Object
club.doki7.stb.truetype.STBTT

public final class STBTT extends Object
  • Field Details

    • SEGMENT$stbtt_BakeFontBitmap

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_BakeFontBitmap
    • SEGMENT$stbtt_CompareUTF8toUTF16_bigendian

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_CompareUTF8toUTF16_bigendian
    • SEGMENT$stbtt_FindGlyphIndex

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_FindGlyphIndex
    • SEGMENT$stbtt_FindMatchingFont

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_FindMatchingFont
    • SEGMENT$stbtt_FindSVGDoc

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_FindSVGDoc
    • SEGMENT$stbtt_FreeBitmap

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_FreeBitmap
    • SEGMENT$stbtt_FreeSDF

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_FreeSDF
    • SEGMENT$stbtt_FreeShape

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_FreeShape
    • SEGMENT$stbtt_GetBakedQuad

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetBakedQuad
    • SEGMENT$stbtt_GetCodepointBitmap

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointBitmap
    • SEGMENT$stbtt_GetCodepointBitmapBox

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointBitmapBox
    • SEGMENT$stbtt_GetCodepointBitmapBoxSubpixel

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointBitmapBoxSubpixel
    • SEGMENT$stbtt_GetCodepointBitmapSubpixel

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointBitmapSubpixel
    • SEGMENT$stbtt_GetCodepointBox

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointBox
    • SEGMENT$stbtt_GetCodepointHMetrics

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointHMetrics
    • SEGMENT$stbtt_GetCodepointKernAdvance

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointKernAdvance
    • SEGMENT$stbtt_GetCodepointSDF

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointSDF
    • SEGMENT$stbtt_GetCodepointSVG

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointSVG
    • SEGMENT$stbtt_GetCodepointShape

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetCodepointShape
    • SEGMENT$stbtt_GetFontBoundingBox

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetFontBoundingBox
    • SEGMENT$stbtt_GetFontNameString

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetFontNameString
    • SEGMENT$stbtt_GetFontOffsetForIndex

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetFontOffsetForIndex
    • SEGMENT$stbtt_GetFontVMetrics

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetFontVMetrics
    • SEGMENT$stbtt_GetFontVMetricsOS2

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetFontVMetricsOS2
    • SEGMENT$stbtt_GetGlyphBitmap

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphBitmap
    • SEGMENT$stbtt_GetGlyphBitmapBox

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphBitmapBox
    • SEGMENT$stbtt_GetGlyphBitmapBoxSubpixel

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphBitmapBoxSubpixel
    • SEGMENT$stbtt_GetGlyphBitmapSubpixel

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphBitmapSubpixel
    • SEGMENT$stbtt_GetGlyphBox

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphBox
    • SEGMENT$stbtt_GetGlyphHMetrics

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphHMetrics
    • SEGMENT$stbtt_GetGlyphKernAdvance

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphKernAdvance
    • SEGMENT$stbtt_GetGlyphSDF

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphSDF
    • SEGMENT$stbtt_GetGlyphSVG

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphSVG
    • SEGMENT$stbtt_GetGlyphShape

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetGlyphShape
    • SEGMENT$stbtt_GetKerningTable

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetKerningTable
    • SEGMENT$stbtt_GetKerningTableLength

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetKerningTableLength
    • SEGMENT$stbtt_GetNumberOfFonts

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetNumberOfFonts
    • SEGMENT$stbtt_GetPackedQuad

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetPackedQuad
    • SEGMENT$stbtt_GetScaledFontVMetrics

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_GetScaledFontVMetrics
    • SEGMENT$stbtt_InitFont

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_InitFont
    • SEGMENT$stbtt_IsGlyphEmpty

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_IsGlyphEmpty
    • SEGMENT$stbtt_MakeCodepointBitmap

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_MakeCodepointBitmap
    • SEGMENT$stbtt_MakeCodepointBitmapSubpixel

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_MakeCodepointBitmapSubpixel
    • SEGMENT$stbtt_MakeCodepointBitmapSubpixelPrefilter

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_MakeCodepointBitmapSubpixelPrefilter
    • SEGMENT$stbtt_MakeGlyphBitmap

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_MakeGlyphBitmap
    • SEGMENT$stbtt_MakeGlyphBitmapSubpixel

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_MakeGlyphBitmapSubpixel
    • SEGMENT$stbtt_MakeGlyphBitmapSubpixelPrefilter

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_MakeGlyphBitmapSubpixelPrefilter
    • SEGMENT$stbtt_PackBegin

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackBegin
    • SEGMENT$stbtt_PackEnd

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackEnd
    • SEGMENT$stbtt_PackFontRange

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackFontRange
    • SEGMENT$stbtt_PackFontRanges

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackFontRanges
    • SEGMENT$stbtt_PackFontRangesGatherRects

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackFontRangesGatherRects
    • SEGMENT$stbtt_PackFontRangesPackRects

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackFontRangesPackRects
    • SEGMENT$stbtt_PackFontRangesRenderIntoRects

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackFontRangesRenderIntoRects
    • SEGMENT$stbtt_PackSetOversampling

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackSetOversampling
    • SEGMENT$stbtt_PackSetSkipMissingCodepoints

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_PackSetSkipMissingCodepoints
    • SEGMENT$stbtt_Rasterize

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_Rasterize
    • SEGMENT$stbtt_ScaleForMappingEmToPixels

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_ScaleForMappingEmToPixels
    • SEGMENT$stbtt_ScaleForPixelHeight

      @Nullable public final @Nullable MemorySegment SEGMENT$stbtt_ScaleForPixelHeight
    • HANDLE$stbtt_BakeFontBitmap

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_BakeFontBitmap
    • HANDLE$stbtt_CompareUTF8toUTF16_bigendian

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_CompareUTF8toUTF16_bigendian
    • HANDLE$stbtt_FindGlyphIndex

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_FindGlyphIndex
    • HANDLE$stbtt_FindMatchingFont

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_FindMatchingFont
    • HANDLE$stbtt_FindSVGDoc

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_FindSVGDoc
    • HANDLE$stbtt_FreeBitmap

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_FreeBitmap
    • HANDLE$stbtt_FreeSDF

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_FreeSDF
    • HANDLE$stbtt_FreeShape

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_FreeShape
    • HANDLE$stbtt_GetBakedQuad

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetBakedQuad
    • HANDLE$stbtt_GetCodepointBitmap

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointBitmap
    • HANDLE$stbtt_GetCodepointBitmapBox

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointBitmapBox
    • HANDLE$stbtt_GetCodepointBitmapBoxSubpixel

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointBitmapBoxSubpixel
    • HANDLE$stbtt_GetCodepointBitmapSubpixel

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointBitmapSubpixel
    • HANDLE$stbtt_GetCodepointBox

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointBox
    • HANDLE$stbtt_GetCodepointHMetrics

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointHMetrics
    • HANDLE$stbtt_GetCodepointKernAdvance

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointKernAdvance
    • HANDLE$stbtt_GetCodepointSDF

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointSDF
    • HANDLE$stbtt_GetCodepointSVG

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointSVG
    • HANDLE$stbtt_GetCodepointShape

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetCodepointShape
    • HANDLE$stbtt_GetFontBoundingBox

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetFontBoundingBox
    • HANDLE$stbtt_GetFontNameString

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetFontNameString
    • HANDLE$stbtt_GetFontOffsetForIndex

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetFontOffsetForIndex
    • HANDLE$stbtt_GetFontVMetrics

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetFontVMetrics
    • HANDLE$stbtt_GetFontVMetricsOS2

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetFontVMetricsOS2
    • HANDLE$stbtt_GetGlyphBitmap

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphBitmap
    • HANDLE$stbtt_GetGlyphBitmapBox

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphBitmapBox
    • HANDLE$stbtt_GetGlyphBitmapBoxSubpixel

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphBitmapBoxSubpixel
    • HANDLE$stbtt_GetGlyphBitmapSubpixel

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphBitmapSubpixel
    • HANDLE$stbtt_GetGlyphBox

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphBox
    • HANDLE$stbtt_GetGlyphHMetrics

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphHMetrics
    • HANDLE$stbtt_GetGlyphKernAdvance

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphKernAdvance
    • HANDLE$stbtt_GetGlyphSDF

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphSDF
    • HANDLE$stbtt_GetGlyphSVG

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphSVG
    • HANDLE$stbtt_GetGlyphShape

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetGlyphShape
    • HANDLE$stbtt_GetKerningTable

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetKerningTable
    • HANDLE$stbtt_GetKerningTableLength

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetKerningTableLength
    • HANDLE$stbtt_GetNumberOfFonts

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetNumberOfFonts
    • HANDLE$stbtt_GetPackedQuad

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetPackedQuad
    • HANDLE$stbtt_GetScaledFontVMetrics

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_GetScaledFontVMetrics
    • HANDLE$stbtt_InitFont

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_InitFont
    • HANDLE$stbtt_IsGlyphEmpty

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_IsGlyphEmpty
    • HANDLE$stbtt_MakeCodepointBitmap

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_MakeCodepointBitmap
    • HANDLE$stbtt_MakeCodepointBitmapSubpixel

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_MakeCodepointBitmapSubpixel
    • HANDLE$stbtt_MakeCodepointBitmapSubpixelPrefilter

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_MakeCodepointBitmapSubpixelPrefilter
    • HANDLE$stbtt_MakeGlyphBitmap

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_MakeGlyphBitmap
    • HANDLE$stbtt_MakeGlyphBitmapSubpixel

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_MakeGlyphBitmapSubpixel
    • HANDLE$stbtt_MakeGlyphBitmapSubpixelPrefilter

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_MakeGlyphBitmapSubpixelPrefilter
    • HANDLE$stbtt_PackBegin

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackBegin
    • HANDLE$stbtt_PackEnd

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackEnd
    • HANDLE$stbtt_PackFontRange

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackFontRange
    • HANDLE$stbtt_PackFontRanges

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackFontRanges
    • HANDLE$stbtt_PackFontRangesGatherRects

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackFontRangesGatherRects
    • HANDLE$stbtt_PackFontRangesPackRects

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackFontRangesPackRects
    • HANDLE$stbtt_PackFontRangesRenderIntoRects

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackFontRangesRenderIntoRects
    • HANDLE$stbtt_PackSetOversampling

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackSetOversampling
    • HANDLE$stbtt_PackSetSkipMissingCodepoints

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_PackSetSkipMissingCodepoints
    • HANDLE$stbtt_Rasterize

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_Rasterize
    • HANDLE$stbtt_ScaleForMappingEmToPixels

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_ScaleForMappingEmToPixels
    • HANDLE$stbtt_ScaleForPixelHeight

      @Nullable public final @Nullable MethodHandle HANDLE$stbtt_ScaleForPixelHeight
  • Constructor Details

  • 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

      public int compareUTF8toUTF16_bigendian(@Nullable @Nullable BytePtr s1, int len1, @Nullable @Nullable BytePtr s2, int len2)
    • findGlyphIndex

      public int findGlyphIndex(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int unicodeCodepoint)
    • findMatchingFont

      public int findMatchingFont(@Nullable @Nullable BytePtr fontdata, @Nullable @Nullable BytePtr name, int flags)
    • 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

      @Nullable public @Nullable BytePtr getCodepointBitmap(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, int codepoint, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr xoff, @Nullable @Nullable IntPtr yoff)
    • getCodepointBitmapBox

      public void getCodepointBitmapBox(@Nullable @Pointer @Nullable ISTBTT_Fontinfo font, int codepoint, float scaleX, float scaleY, @Nullable @Nullable IntPtr ix0, @Nullable @Nullable IntPtr iy0, @Nullable @Nullable IntPtr ix1, @Nullable @Nullable IntPtr iy1)
    • getCodepointBitmapBoxSubpixel

      public void getCodepointBitmapBoxSubpixel(@Nullable @Pointer @Nullable ISTBTT_Fontinfo font, int codepoint, float scaleX, float scaleY, float shiftX, float shiftY, @Nullable @Nullable IntPtr ix0, @Nullable @Nullable IntPtr iy0, @Nullable @Nullable IntPtr ix1, @Nullable @Nullable IntPtr iy1)
    • 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

      public int getCodepointBox(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int codepoint, @Nullable @Nullable IntPtr x0, @Nullable @Nullable IntPtr y0, @Nullable @Nullable IntPtr x1, @Nullable @Nullable IntPtr y1)
    • 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

      public void getFontBoundingBox(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable IntPtr x0, @Nullable @Nullable IntPtr y0, @Nullable @Nullable IntPtr x1, @Nullable @Nullable IntPtr y1)
    • 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

      public int getFontOffsetForIndex(@Nullable @Nullable BytePtr data, int index)
    • 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

      @Nullable public @Nullable BytePtr getGlyphBitmap(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float scaleX, float scaleY, int glyph, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr xoff, @Nullable @Nullable IntPtr yoff)
    • getGlyphBitmapBox

      public void getGlyphBitmapBox(@Nullable @Pointer @Nullable ISTBTT_Fontinfo font, int glyph, float scaleX, float scaleY, @Nullable @Nullable IntPtr ix0, @Nullable @Nullable IntPtr iy0, @Nullable @Nullable IntPtr ix1, @Nullable @Nullable IntPtr iy1)
    • getGlyphBitmapBoxSubpixel

      public void getGlyphBitmapBoxSubpixel(@Nullable @Pointer @Nullable ISTBTT_Fontinfo font, int glyph, float scaleX, float scaleY, float shiftX, float shiftY, @Nullable @Nullable IntPtr ix0, @Nullable @Nullable IntPtr iy0, @Nullable @Nullable IntPtr ix1, @Nullable @Nullable IntPtr iy1)
    • 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

      public int getGlyphBox(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int glyphIndex, @Nullable @Nullable IntPtr x0, @Nullable @Nullable IntPtr y0, @Nullable @Nullable IntPtr x1, @Nullable @Nullable IntPtr y1)
    • 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

      public int getKerningTableLength(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info)
    • getNumberOfFonts

      public int getNumberOfFonts(@Nullable @Nullable BytePtr data)
    • 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

      public void getScaledFontVMetrics(@Nullable @Nullable BytePtr fontdata, int index, float size, @Nullable @Nullable FloatPtr ascent, @Nullable @Nullable FloatPtr descent, @Nullable @Nullable FloatPtr linegap)
    • initFont

      public int initFont(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, @Nullable @Nullable BytePtr data, int offset)
    • isGlyphEmpty

      public int isGlyphEmpty(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, int glyphIndex)
    • 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

      public void packEnd(@Nullable @Pointer @Nullable ISTBTT_PackContext spc)
    • 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

      public float scaleForPixelHeight(@Nullable @Pointer @Nullable ISTBTT_Fontinfo info, float pixels)