Package org.lwjgl.stb

Class STBTruetype

java.lang.Object
org.lwjgl.stb.STBTruetype

public class STBTruetype extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final byte
     
    static final byte
     
    static final byte
     
    static final byte
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    nstbtt_BakeFontBitmap(long data, int offset, float pixel_height, long pixels, int pw, int ph, int first_char, int num_chars, long chardata)
    int stbtt_BakeFontBitmap(unsigned char const * data, int offset, float pixel_height, unsigned char * pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar * chardata)
    static int
    nstbtt_CompareUTF8toUTF16_bigendian(long s1, int len1, long s2, int len2)
    int stbtt_CompareUTF8toUTF16_bigendian(char const * s1, int len1, char const * s2, int len2)
    static int
    nstbtt_FindGlyphIndex(long info, int unicode_codepoint)
    int stbtt_FindGlyphIndex(stbtt_fontinfo const * info, int unicode_codepoint)
    static int
    nstbtt_FindMatchingFont(long fontdata, long name, int flags)
    int stbtt_FindMatchingFont(unsigned char const * fontdata, char const * name, int flags)
    static long
    nstbtt_FindSVGDoc(long info, int gl)
    unsigned char * stbtt_FindSVGDoc(stbtt_fontinfo const * info, int gl)
    static void
    nstbtt_FreeBitmap(long bitmap, long userdata)
    void stbtt_FreeBitmap(unsigned char * bitmap, void * userdata)
    static void
    nstbtt_FreeSDF(long bitmap, long userdata)
    void stbtt_FreeSDF(unsigned char * bitmap, void * userdata)
    static void
    nstbtt_FreeShape(long info, long vertices)
    void stbtt_FreeShape(stbtt_fontinfo const * info, stbtt_vertex * vertices)
    static void
    nstbtt_GetBakedQuad(long chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, long q, int opengl_fillrule)
    void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    static void
    nstbtt_GetBakedQuad(long chardata, int pw, int ph, int char_index, long xpos, long ypos, long q, int opengl_fillrule)
    void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    static long
    nstbtt_GetCodepointBitmap(long info, float scale_x, float scale_y, int codepoint, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static long
    nstbtt_GetCodepointBitmap(long info, float scale_x, float scale_y, int codepoint, long width, long height, long xoff, long yoff)
    unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static void
    nstbtt_GetCodepointBitmapBox(long font, int codepoint, float scale_x, float scale_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
    void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    nstbtt_GetCodepointBitmapBox(long font, int codepoint, float scale_x, float scale_y, long ix0, long iy0, long ix1, long iy1)
    void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    nstbtt_GetCodepointBitmapBoxSubpixel(long font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
    void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    nstbtt_GetCodepointBitmapBoxSubpixel(long font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, long ix0, long iy0, long ix1, long iy1)
    void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static long
    nstbtt_GetCodepointBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static long
    nstbtt_GetCodepointBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, long width, long height, long xoff, long yoff)
    unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static int
    nstbtt_GetCodepointBox(long info, int codepoint, int[] x0, int[] y0, int[] x1, int[] y1)
    int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    static int
    nstbtt_GetCodepointBox(long info, int codepoint, long x0, long y0, long x1, long y1)
    int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    static void
    nstbtt_GetCodepointHMetrics(long info, int codepoint, int[] advanceWidth, int[] leftSideBearing)
    void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    static void
    nstbtt_GetCodepointHMetrics(long info, int codepoint, long advanceWidth, long leftSideBearing)
    void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    static int
    nstbtt_GetCodepointKernAdvance(long info, int ch1, int ch2)
    int stbtt_GetCodepointKernAdvance(stbtt_fontinfo const * info, int ch1, int ch2)
    static long
    nstbtt_GetCodepointSDF(long font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static long
    nstbtt_GetCodepointSDF(long font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, long width, long height, long xoff, long yoff)
    unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static int
    nstbtt_GetCodepointShape(long info, int unicode_codepoint, long vertices)
    int stbtt_GetCodepointShape(stbtt_fontinfo const * info, int unicode_codepoint, stbtt_vertex ** vertices)
    static int
    nstbtt_GetCodepointSVG(long info, int unicode_codepoint, long svg)
    int stbtt_GetCodepointSVG(stbtt_fontinfo const * info, int unicode_codepoint, char const ** svg)
    static void
    nstbtt_GetFontBoundingBox(long info, int[] x0, int[] y0, int[] x1, int[] y1)
    void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    static void
    nstbtt_GetFontBoundingBox(long info, long x0, long y0, long x1, long y1)
    void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    static long
    nstbtt_GetFontNameString(long font, long length, int platformID, int encodingID, int languageID, int nameID)
    char const * stbtt_GetFontNameString(stbtt_fontinfo const * font, int * length, int platformID, int encodingID, int languageID, int nameID)
    static int
    nstbtt_GetFontOffsetForIndex(long data, int index)
    int stbtt_GetFontOffsetForIndex(unsigned char const * data, int index)
    static void
    nstbtt_GetFontVMetrics(long info, int[] ascent, int[] descent, int[] lineGap)
    void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    static void
    nstbtt_GetFontVMetrics(long info, long ascent, long descent, long lineGap)
    void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    static int
    nstbtt_GetFontVMetricsOS2(long info, int[] typoAscent, int[] typoDescent, int[] typoLineGap)
    int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    static int
    nstbtt_GetFontVMetricsOS2(long info, long typoAscent, long typoDescent, long typoLineGap)
    int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    static long
    nstbtt_GetGlyphBitmap(long info, float scale_x, float scale_y, int glyph, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static long
    nstbtt_GetGlyphBitmap(long info, float scale_x, float scale_y, int glyph, long width, long height, long xoff, long yoff)
    unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static void
    nstbtt_GetGlyphBitmapBox(long font, int glyph, float scale_x, float scale_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
    void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    nstbtt_GetGlyphBitmapBox(long font, int glyph, float scale_x, float scale_y, long ix0, long iy0, long ix1, long iy1)
    void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    nstbtt_GetGlyphBitmapBoxSubpixel(long font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
    void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    nstbtt_GetGlyphBitmapBoxSubpixel(long font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, long ix0, long iy0, long ix1, long iy1)
    void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static long
    nstbtt_GetGlyphBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static long
    nstbtt_GetGlyphBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, long width, long height, long xoff, long yoff)
    unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static int
    nstbtt_GetGlyphBox(long info, int glyph_index, int[] x0, int[] y0, int[] x1, int[] y1)
    int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    static int
    nstbtt_GetGlyphBox(long info, int glyph_index, long x0, long y0, long x1, long y1)
    int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    static void
    nstbtt_GetGlyphHMetrics(long info, int glyph_index, int[] advanceWidth, int[] leftSideBearing)
    void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    static void
    nstbtt_GetGlyphHMetrics(long info, int glyph_index, long advanceWidth, long leftSideBearing)
    void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    static int
    nstbtt_GetGlyphKernAdvance(long info, int glyph1, int glyph2)
    int stbtt_GetGlyphKernAdvance(stbtt_fontinfo const * info, int glyph1, int glyph2)
    static long
    nstbtt_GetGlyphSDF(long font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static long
    nstbtt_GetGlyphSDF(long font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, long width, long height, long xoff, long yoff)
    unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static int
    nstbtt_GetGlyphShape(long info, int glyph_index, long vertices)
    int stbtt_GetGlyphShape(stbtt_fontinfo const * info, int glyph_index, stbtt_vertex ** vertices)
    static int
    nstbtt_GetGlyphSVG(long info, int gl, long svg)
    int stbtt_GetGlyphSVG(stbtt_fontinfo const * info, int gl, char const ** svg)
    static int
    nstbtt_GetKerningTable(long info, long table, int table_length)
    int stbtt_GetKerningTable(stbtt_fontinfo const * info, stbtt_kerningentry * table, int table_length)
    static int
    int stbtt_GetKerningTableLength(stbtt_fontinfo const * info)
    static int
    int stbtt_GetNumberOfFonts(unsigned char const * data)
    static void
    nstbtt_GetPackedQuad(long chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, long q, int align_to_integer)
    void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    static void
    nstbtt_GetPackedQuad(long chardata, int pw, int ph, int char_index, long xpos, long ypos, long q, int align_to_integer)
    void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    static void
    nstbtt_GetScaledFontVMetrics(long fontdata, int index, float size, float[] ascent, float[] descent, float[] lineGap)
    void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    static void
    nstbtt_GetScaledFontVMetrics(long fontdata, int index, float size, long ascent, long descent, long lineGap)
    void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    static int
    nstbtt_InitFont(long info, long data, int offset)
    int stbtt_InitFont(stbtt_fontinfo * info, unsigned char const * data, int offset)
    static int
    nstbtt_IsGlyphEmpty(long info, int glyph_index)
    int stbtt_IsGlyphEmpty(stbtt_fontinfo const * info, int glyph_index)
    static void
    nstbtt_MakeCodepointBitmap(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
    void stbtt_MakeCodepointBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
    static void
    nstbtt_MakeCodepointBitmapSubpixel(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
    void stbtt_MakeCodepointBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
    static void
    nstbtt_MakeCodepointBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int codepoint)
    void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    static void
    nstbtt_MakeCodepointBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, long sub_x, long sub_y, int codepoint)
    void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    static void
    nstbtt_MakeGlyphBitmap(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
    void stbtt_MakeGlyphBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
    static void
    nstbtt_MakeGlyphBitmapSubpixel(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
    void stbtt_MakeGlyphBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
    static void
    nstbtt_MakeGlyphBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int glyph)
    void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    static void
    nstbtt_MakeGlyphBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, long sub_x, long sub_y, int glyph)
    void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    static int
    nstbtt_PackBegin(long spc, long pixels, int width, int height, int stride_in_bytes, int padding, long alloc_context)
    int stbtt_PackBegin(stbtt_pack_context * spc, unsigned char * pixels, int width, int height, int stride_in_bytes, int padding, void * alloc_context)
    static void
    nstbtt_PackEnd(long spc)
    void stbtt_PackEnd(stbtt_pack_context * spc)
    static int
    nstbtt_PackFontRange(long spc, long fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, long chardata_for_range)
    int stbtt_PackFontRange(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, stbtt_packedchar * chardata_for_range)
    static int
    nstbtt_PackFontRanges(long spc, long fontdata, int font_index, long ranges, int num_ranges)
    int stbtt_PackFontRanges(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, stbtt_pack_range * ranges, int num_ranges)
    static int
    nstbtt_PackFontRangesGatherRects(long spc, long info, long ranges, int num_ranges, long rects)
    int stbtt_PackFontRangesGatherRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    static void
    nstbtt_PackFontRangesPackRects(long spc, long rects, int num_rects)
    void stbtt_PackFontRangesPackRects(stbtt_pack_context * spc, stbrp_rect * rects, int num_rects)
    static int
    nstbtt_PackFontRangesRenderIntoRects(long spc, long info, long ranges, int num_ranges, long rects)
    int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    static void
    nstbtt_PackSetOversampling(long spc, int h_oversample, int v_oversample)
    void stbtt_PackSetOversampling(stbtt_pack_context * spc, unsigned int h_oversample, unsigned int v_oversample)
    static void
    void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context * spc, int skip)
    static void
    nstbtt_Rasterize(long result, float flatness_in_pixels, long vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, long alloc_context)
    void stbtt_Rasterize(stbtt__bitmap * result, float flatness_in_pixels, stbtt_vertex * vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void * alloc_context)
    static float
    nstbtt_ScaleForMappingEmToPixels(long info, float pixels)
    float stbtt_ScaleForMappingEmToPixels(stbtt_fontinfo const * info, float pixels)
    static float
    nstbtt_ScaleForPixelHeight(long info, float pixels)
    float stbtt_ScaleForPixelHeight(stbtt_fontinfo const * info, float pixels)
    static int
    stbtt_BakeFontBitmap(ByteBuffer data, float pixel_height, ByteBuffer pixels, int pw, int ph, int first_char, STBTTBakedChar.Buffer chardata)
    int stbtt_BakeFontBitmap(unsigned char const * data, int offset, float pixel_height, unsigned char * pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar * chardata)
    static boolean
    int stbtt_CompareUTF8toUTF16_bigendian(char const * s1, int len1, char const * s2, int len2)
    static int
    stbtt_FindGlyphIndex(STBTTFontinfo info, int unicode_codepoint)
    int stbtt_FindGlyphIndex(stbtt_fontinfo const * info, int unicode_codepoint)
    static int
    stbtt_FindMatchingFont(ByteBuffer fontdata, CharSequence name, int flags)
    int stbtt_FindMatchingFont(unsigned char const * fontdata, char const * name, int flags)
    static int
    stbtt_FindMatchingFont(ByteBuffer fontdata, ByteBuffer name, int flags)
    int stbtt_FindMatchingFont(unsigned char const * fontdata, char const * name, int flags)
    static long
    unsigned char * stbtt_FindSVGDoc(stbtt_fontinfo const * info, int gl)
    static void
    void stbtt_FreeBitmap(unsigned char * bitmap, void * userdata)
    static void
    stbtt_FreeBitmap(ByteBuffer bitmap, long userdata)
    void stbtt_FreeBitmap(unsigned char * bitmap, void * userdata)
    static void
    void stbtt_FreeSDF(unsigned char * bitmap, void * userdata)
    static void
    stbtt_FreeSDF(ByteBuffer bitmap, long userdata)
    void stbtt_FreeSDF(unsigned char * bitmap, void * userdata)
    static void
    void stbtt_FreeShape(stbtt_fontinfo const * info, stbtt_vertex * vertices)
    static void
    stbtt_GetBakedQuad(STBTTBakedChar.Buffer chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, STBTTAlignedQuad q, boolean opengl_fillrule)
    void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    static void
    stbtt_GetBakedQuad(STBTTBakedChar.Buffer chardata, int pw, int ph, int char_index, FloatBuffer xpos, FloatBuffer ypos, STBTTAlignedQuad q, boolean opengl_fillrule)
    void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    static @Nullable ByteBuffer
    stbtt_GetCodepointBitmap(STBTTFontinfo info, float scale_x, float scale_y, int codepoint, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
    unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static @Nullable ByteBuffer
    stbtt_GetCodepointBitmap(STBTTFontinfo info, float scale_x, float scale_y, int codepoint, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
    unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static void
    stbtt_GetCodepointBitmapBox(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
    void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    stbtt_GetCodepointBitmapBox(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
    void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    stbtt_GetCodepointBitmapBoxSubpixel(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
    void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    stbtt_GetCodepointBitmapBoxSubpixel(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
    void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static @Nullable ByteBuffer
    stbtt_GetCodepointBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
    unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static @Nullable ByteBuffer
    stbtt_GetCodepointBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
    unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    static boolean
    stbtt_GetCodepointBox(STBTTFontinfo info, int codepoint, int @Nullable [] x0, int @Nullable [] y0, int @Nullable [] x1, int @Nullable [] y1)
    int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    static boolean
    stbtt_GetCodepointBox(STBTTFontinfo info, int codepoint, @Nullable IntBuffer x0, @Nullable IntBuffer y0, @Nullable IntBuffer x1, @Nullable IntBuffer y1)
    int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    static void
    stbtt_GetCodepointHMetrics(STBTTFontinfo info, int codepoint, int @Nullable [] advanceWidth, int @Nullable [] leftSideBearing)
    void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    static void
    stbtt_GetCodepointHMetrics(STBTTFontinfo info, int codepoint, @Nullable IntBuffer advanceWidth, @Nullable IntBuffer leftSideBearing)
    void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    static int
    stbtt_GetCodepointKernAdvance(STBTTFontinfo info, int ch1, int ch2)
    int stbtt_GetCodepointKernAdvance(stbtt_fontinfo const * info, int ch1, int ch2)
    static @Nullable ByteBuffer
    stbtt_GetCodepointSDF(STBTTFontinfo font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static @Nullable ByteBuffer
    stbtt_GetCodepointSDF(STBTTFontinfo font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, IntBuffer width, IntBuffer height, IntBuffer xoff, IntBuffer yoff)
    unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static @Nullable STBTTVertex.Buffer
    stbtt_GetCodepointShape(STBTTFontinfo info, int unicode_codepoint)
    int stbtt_GetCodepointShape(stbtt_fontinfo const * info, int unicode_codepoint, stbtt_vertex ** vertices)
    static int
    stbtt_GetCodepointShape(STBTTFontinfo info, int unicode_codepoint, PointerBuffer vertices)
    int stbtt_GetCodepointShape(stbtt_fontinfo const * info, int unicode_codepoint, stbtt_vertex ** vertices)
    static int
    stbtt_GetCodepointSVG(STBTTFontinfo info, int unicode_codepoint, PointerBuffer svg)
    int stbtt_GetCodepointSVG(stbtt_fontinfo const * info, int unicode_codepoint, char const ** svg)
    static void
    stbtt_GetFontBoundingBox(STBTTFontinfo info, int[] x0, int[] y0, int[] x1, int[] y1)
    void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    static void
    void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    static @Nullable ByteBuffer
    stbtt_GetFontNameString(STBTTFontinfo font, int platformID, int encodingID, int languageID, int nameID)
    char const * stbtt_GetFontNameString(stbtt_fontinfo const * font, int * length, int platformID, int encodingID, int languageID, int nameID)
    static int
    int stbtt_GetFontOffsetForIndex(unsigned char const * data, int index)
    static void
    stbtt_GetFontVMetrics(STBTTFontinfo info, int @Nullable [] ascent, int @Nullable [] descent, int @Nullable [] lineGap)
    void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    static void
    stbtt_GetFontVMetrics(STBTTFontinfo info, @Nullable IntBuffer ascent, @Nullable IntBuffer descent, @Nullable IntBuffer lineGap)
    void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    static boolean
    stbtt_GetFontVMetricsOS2(STBTTFontinfo info, int @Nullable [] typoAscent, int @Nullable [] typoDescent, int @Nullable [] typoLineGap)
    int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    static boolean
    stbtt_GetFontVMetricsOS2(STBTTFontinfo info, @Nullable IntBuffer typoAscent, @Nullable IntBuffer typoDescent, @Nullable IntBuffer typoLineGap)
    int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    static @Nullable ByteBuffer
    stbtt_GetGlyphBitmap(STBTTFontinfo info, float scale_x, float scale_y, int glyph, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
    unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static @Nullable ByteBuffer
    stbtt_GetGlyphBitmap(STBTTFontinfo info, float scale_x, float scale_y, int glyph, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
    unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static void
    stbtt_GetGlyphBitmapBox(STBTTFontinfo font, int glyph, float scale_x, float scale_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
    void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    stbtt_GetGlyphBitmapBox(STBTTFontinfo font, int glyph, float scale_x, float scale_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
    void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    stbtt_GetGlyphBitmapBoxSubpixel(STBTTFontinfo font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
    void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static void
    stbtt_GetGlyphBitmapBoxSubpixel(STBTTFontinfo font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
    void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    static @Nullable ByteBuffer
    stbtt_GetGlyphBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
    unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static @Nullable ByteBuffer
    stbtt_GetGlyphBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
    unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    static boolean
    stbtt_GetGlyphBox(STBTTFontinfo info, int glyph_index, int @Nullable [] x0, int @Nullable [] y0, int @Nullable [] x1, int @Nullable [] y1)
    int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    static boolean
    stbtt_GetGlyphBox(STBTTFontinfo info, int glyph_index, @Nullable IntBuffer x0, @Nullable IntBuffer y0, @Nullable IntBuffer x1, @Nullable IntBuffer y1)
    int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    static void
    stbtt_GetGlyphHMetrics(STBTTFontinfo info, int glyph_index, int @Nullable [] advanceWidth, int @Nullable [] leftSideBearing)
    void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    static void
    stbtt_GetGlyphHMetrics(STBTTFontinfo info, int glyph_index, @Nullable IntBuffer advanceWidth, @Nullable IntBuffer leftSideBearing)
    void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    static int
    stbtt_GetGlyphKernAdvance(STBTTFontinfo info, int glyph1, int glyph2)
    int stbtt_GetGlyphKernAdvance(stbtt_fontinfo const * info, int glyph1, int glyph2)
    static @Nullable ByteBuffer
    stbtt_GetGlyphSDF(STBTTFontinfo font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
    unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static @Nullable ByteBuffer
    stbtt_GetGlyphSDF(STBTTFontinfo font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, IntBuffer width, IntBuffer height, IntBuffer xoff, IntBuffer yoff)
    unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    static @Nullable STBTTVertex.Buffer
    stbtt_GetGlyphShape(STBTTFontinfo info, int glyph_index)
    int stbtt_GetGlyphShape(stbtt_fontinfo const * info, int glyph_index, stbtt_vertex ** vertices)
    static int
    stbtt_GetGlyphShape(STBTTFontinfo info, int glyph_index, PointerBuffer vertices)
    int stbtt_GetGlyphShape(stbtt_fontinfo const * info, int glyph_index, stbtt_vertex ** vertices)
    static int
    int stbtt_GetGlyphSVG(stbtt_fontinfo const * info, int gl, char const ** svg)
    static int
    int stbtt_GetKerningTable(stbtt_fontinfo const * info, stbtt_kerningentry * table, int table_length)
    static int
    int stbtt_GetKerningTableLength(stbtt_fontinfo const * info)
    static int
    int stbtt_GetNumberOfFonts(unsigned char const * data)
    static void
    stbtt_GetPackedQuad(STBTTPackedchar.Buffer chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, STBTTAlignedQuad q, boolean align_to_integer)
    void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    static void
    stbtt_GetPackedQuad(STBTTPackedchar.Buffer chardata, int pw, int ph, int char_index, FloatBuffer xpos, FloatBuffer ypos, STBTTAlignedQuad q, boolean align_to_integer)
    void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    static void
    stbtt_GetScaledFontVMetrics(ByteBuffer fontdata, int index, float size, float[] ascent, float[] descent, float[] lineGap)
    void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    static void
    stbtt_GetScaledFontVMetrics(ByteBuffer fontdata, int index, float size, FloatBuffer ascent, FloatBuffer descent, FloatBuffer lineGap)
    void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    static boolean
    int stbtt_InitFont(stbtt_fontinfo * info, unsigned char const * data, int offset)
    static boolean
    stbtt_InitFont(STBTTFontinfo info, ByteBuffer data, int offset)
    int stbtt_InitFont(stbtt_fontinfo * info, unsigned char const * data, int offset)
    static boolean
    stbtt_IsGlyphEmpty(STBTTFontinfo info, int glyph_index)
    int stbtt_IsGlyphEmpty(stbtt_fontinfo const * info, int glyph_index)
    static void
    stbtt_MakeCodepointBitmap(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
    void stbtt_MakeCodepointBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
    static void
    stbtt_MakeCodepointBitmapSubpixel(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
    void stbtt_MakeCodepointBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
    static void
    stbtt_MakeCodepointBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int codepoint)
    void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    static void
    stbtt_MakeCodepointBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, FloatBuffer sub_x, FloatBuffer sub_y, int codepoint)
    void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    static void
    stbtt_MakeGlyphBitmap(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
    void stbtt_MakeGlyphBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
    static void
    stbtt_MakeGlyphBitmapSubpixel(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
    void stbtt_MakeGlyphBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
    static void
    stbtt_MakeGlyphBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int glyph)
    void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    static void
    stbtt_MakeGlyphBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, FloatBuffer sub_x, FloatBuffer sub_y, int glyph)
    void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    static boolean
    stbtt_PackBegin(STBTTPackContext spc, @Nullable ByteBuffer pixels, int width, int height, int stride_in_bytes, int padding)
    int stbtt_PackBegin(stbtt_pack_context * spc, unsigned char * pixels, int width, int height, int stride_in_bytes, int padding, void * alloc_context)
    static boolean
    stbtt_PackBegin(STBTTPackContext spc, @Nullable ByteBuffer pixels, int width, int height, int stride_in_bytes, int padding, long alloc_context)
    int stbtt_PackBegin(stbtt_pack_context * spc, unsigned char * pixels, int width, int height, int stride_in_bytes, int padding, void * alloc_context)
    static void
    void stbtt_PackEnd(stbtt_pack_context * spc)
    static boolean
    stbtt_PackFontRange(STBTTPackContext spc, ByteBuffer fontdata, int font_index, float font_size, int first_unicode_char_in_range, STBTTPackedchar.Buffer chardata_for_range)
    int stbtt_PackFontRange(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, stbtt_packedchar * chardata_for_range)
    static boolean
    stbtt_PackFontRanges(STBTTPackContext spc, ByteBuffer fontdata, int font_index, STBTTPackRange.Buffer ranges)
    int stbtt_PackFontRanges(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, stbtt_pack_range * ranges, int num_ranges)
    static int
    int stbtt_PackFontRangesGatherRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    static void
    void stbtt_PackFontRangesPackRects(stbtt_pack_context * spc, stbrp_rect * rects, int num_rects)
    static boolean
    int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    static void
    stbtt_PackSetOversampling(STBTTPackContext spc, int h_oversample, int v_oversample)
    void stbtt_PackSetOversampling(stbtt_pack_context * spc, unsigned int h_oversample, unsigned int v_oversample)
    static void
    void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context * spc, int skip)
    static int
    STBTT_POINT_SIZE(int font_size)
    int STBTT_POINT_SIZE(int font_size)
    static void
    stbtt_Rasterize(STBTTBitmap result, float flatness_in_pixels, STBTTVertex.Buffer vertices, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, boolean invert)
    void stbtt_Rasterize(stbtt__bitmap * result, float flatness_in_pixels, stbtt_vertex * vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void * alloc_context)
    static float
    float stbtt_ScaleForMappingEmToPixels(stbtt_fontinfo const * info, float pixels)
    static float
    float stbtt_ScaleForPixelHeight(stbtt_fontinfo const * info, float pixels)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • nstbtt_BakeFontBitmap

      public static int nstbtt_BakeFontBitmap(long data, int offset, float pixel_height, long pixels, int pw, int ph, int first_char, int num_chars, long chardata)
      int stbtt_BakeFontBitmap(unsigned char const * data, int offset, float pixel_height, unsigned char * pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar * chardata)
    • stbtt_BakeFontBitmap

      public static int stbtt_BakeFontBitmap(ByteBuffer data, float pixel_height, ByteBuffer pixels, int pw, int ph, int first_char, STBTTBakedChar.Buffer chardata)
      int stbtt_BakeFontBitmap(unsigned char const * data, int offset, float pixel_height, unsigned char * pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar * chardata)
    • nstbtt_GetBakedQuad

      public static void nstbtt_GetBakedQuad(long chardata, int pw, int ph, int char_index, long xpos, long ypos, long q, int opengl_fillrule)
      void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    • stbtt_GetBakedQuad

      public static void stbtt_GetBakedQuad(STBTTBakedChar.Buffer chardata, int pw, int ph, int char_index, FloatBuffer xpos, FloatBuffer ypos, STBTTAlignedQuad q, boolean opengl_fillrule)
      void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    • nstbtt_GetScaledFontVMetrics

      public static void nstbtt_GetScaledFontVMetrics(long fontdata, int index, float size, long ascent, long descent, long lineGap)
      void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    • stbtt_GetScaledFontVMetrics

      public static void stbtt_GetScaledFontVMetrics(ByteBuffer fontdata, int index, float size, FloatBuffer ascent, FloatBuffer descent, FloatBuffer lineGap)
      void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    • nstbtt_PackBegin

      public static int nstbtt_PackBegin(long spc, long pixels, int width, int height, int stride_in_bytes, int padding, long alloc_context)
      int stbtt_PackBegin(stbtt_pack_context * spc, unsigned char * pixels, int width, int height, int stride_in_bytes, int padding, void * alloc_context)
    • stbtt_PackBegin

      public static boolean stbtt_PackBegin(STBTTPackContext spc, @Nullable ByteBuffer pixels, int width, int height, int stride_in_bytes, int padding, long alloc_context)
      int stbtt_PackBegin(stbtt_pack_context * spc, unsigned char * pixels, int width, int height, int stride_in_bytes, int padding, void * alloc_context)
    • stbtt_PackBegin

      public static boolean stbtt_PackBegin(STBTTPackContext spc, @Nullable ByteBuffer pixels, int width, int height, int stride_in_bytes, int padding)
      int stbtt_PackBegin(stbtt_pack_context * spc, unsigned char * pixels, int width, int height, int stride_in_bytes, int padding, void * alloc_context)
    • nstbtt_PackEnd

      public static void nstbtt_PackEnd(long spc)
      void stbtt_PackEnd(stbtt_pack_context * spc)
    • stbtt_PackEnd

      public static void stbtt_PackEnd(STBTTPackContext spc)
      void stbtt_PackEnd(stbtt_pack_context * spc)
    • STBTT_POINT_SIZE

      public static int STBTT_POINT_SIZE(int font_size)
      int STBTT_POINT_SIZE(int font_size)
    • nstbtt_PackFontRange

      public static int nstbtt_PackFontRange(long spc, long fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, long chardata_for_range)
      int stbtt_PackFontRange(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, stbtt_packedchar * chardata_for_range)
    • stbtt_PackFontRange

      public static boolean stbtt_PackFontRange(STBTTPackContext spc, ByteBuffer fontdata, int font_index, float font_size, int first_unicode_char_in_range, STBTTPackedchar.Buffer chardata_for_range)
      int stbtt_PackFontRange(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, stbtt_packedchar * chardata_for_range)
    • nstbtt_PackFontRanges

      public static int nstbtt_PackFontRanges(long spc, long fontdata, int font_index, long ranges, int num_ranges)
      int stbtt_PackFontRanges(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, stbtt_pack_range * ranges, int num_ranges)
    • stbtt_PackFontRanges

      public static boolean stbtt_PackFontRanges(STBTTPackContext spc, ByteBuffer fontdata, int font_index, STBTTPackRange.Buffer ranges)
      int stbtt_PackFontRanges(stbtt_pack_context * spc, unsigned char const * fontdata, int font_index, stbtt_pack_range * ranges, int num_ranges)
    • nstbtt_PackSetOversampling

      public static void nstbtt_PackSetOversampling(long spc, int h_oversample, int v_oversample)
      void stbtt_PackSetOversampling(stbtt_pack_context * spc, unsigned int h_oversample, unsigned int v_oversample)
    • stbtt_PackSetOversampling

      public static void stbtt_PackSetOversampling(STBTTPackContext spc, int h_oversample, int v_oversample)
      void stbtt_PackSetOversampling(stbtt_pack_context * spc, unsigned int h_oversample, unsigned int v_oversample)
    • nstbtt_PackSetSkipMissingCodepoints

      public static void nstbtt_PackSetSkipMissingCodepoints(long spc, int skip)
      void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context * spc, int skip)
    • stbtt_PackSetSkipMissingCodepoints

      public static void stbtt_PackSetSkipMissingCodepoints(STBTTPackContext spc, boolean skip)
      void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context * spc, int skip)
    • nstbtt_GetPackedQuad

      public static void nstbtt_GetPackedQuad(long chardata, int pw, int ph, int char_index, long xpos, long ypos, long q, int align_to_integer)
      void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    • stbtt_GetPackedQuad

      public static void stbtt_GetPackedQuad(STBTTPackedchar.Buffer chardata, int pw, int ph, int char_index, FloatBuffer xpos, FloatBuffer ypos, STBTTAlignedQuad q, boolean align_to_integer)
      void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    • nstbtt_PackFontRangesGatherRects

      public static int nstbtt_PackFontRangesGatherRects(long spc, long info, long ranges, int num_ranges, long rects)
      int stbtt_PackFontRangesGatherRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    • stbtt_PackFontRangesGatherRects

      public static int stbtt_PackFontRangesGatherRects(STBTTPackContext spc, STBTTFontinfo info, STBTTPackRange.Buffer ranges, STBRPRect.Buffer rects)
      int stbtt_PackFontRangesGatherRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    • nstbtt_PackFontRangesPackRects

      public static void nstbtt_PackFontRangesPackRects(long spc, long rects, int num_rects)
      void stbtt_PackFontRangesPackRects(stbtt_pack_context * spc, stbrp_rect * rects, int num_rects)
    • stbtt_PackFontRangesPackRects

      public static void stbtt_PackFontRangesPackRects(STBTTPackContext spc, STBRPRect.Buffer rects)
      void stbtt_PackFontRangesPackRects(stbtt_pack_context * spc, stbrp_rect * rects, int num_rects)
    • nstbtt_PackFontRangesRenderIntoRects

      public static int nstbtt_PackFontRangesRenderIntoRects(long spc, long info, long ranges, int num_ranges, long rects)
      int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    • stbtt_PackFontRangesRenderIntoRects

      public static boolean stbtt_PackFontRangesRenderIntoRects(STBTTPackContext spc, STBTTFontinfo info, STBTTPackRange.Buffer ranges, STBRPRect.Buffer rects)
      int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context * spc, stbtt_fontinfo * info, stbtt_pack_range * ranges, int num_ranges, stbrp_rect * rects)
    • nstbtt_GetNumberOfFonts

      public static int nstbtt_GetNumberOfFonts(long data)
      int stbtt_GetNumberOfFonts(unsigned char const * data)
    • stbtt_GetNumberOfFonts

      public static int stbtt_GetNumberOfFonts(ByteBuffer data)
      int stbtt_GetNumberOfFonts(unsigned char const * data)
    • nstbtt_GetFontOffsetForIndex

      public static int nstbtt_GetFontOffsetForIndex(long data, int index)
      int stbtt_GetFontOffsetForIndex(unsigned char const * data, int index)
    • stbtt_GetFontOffsetForIndex

      public static int stbtt_GetFontOffsetForIndex(ByteBuffer data, int index)
      int stbtt_GetFontOffsetForIndex(unsigned char const * data, int index)
    • nstbtt_InitFont

      public static int nstbtt_InitFont(long info, long data, int offset)
      int stbtt_InitFont(stbtt_fontinfo * info, unsigned char const * data, int offset)
    • stbtt_InitFont

      public static boolean stbtt_InitFont(STBTTFontinfo info, ByteBuffer data, int offset)
      int stbtt_InitFont(stbtt_fontinfo * info, unsigned char const * data, int offset)
    • stbtt_InitFont

      public static boolean stbtt_InitFont(STBTTFontinfo info, ByteBuffer data)
      int stbtt_InitFont(stbtt_fontinfo * info, unsigned char const * data, int offset)
    • nstbtt_FindGlyphIndex

      public static int nstbtt_FindGlyphIndex(long info, int unicode_codepoint)
      int stbtt_FindGlyphIndex(stbtt_fontinfo const * info, int unicode_codepoint)
    • stbtt_FindGlyphIndex

      public static int stbtt_FindGlyphIndex(STBTTFontinfo info, int unicode_codepoint)
      int stbtt_FindGlyphIndex(stbtt_fontinfo const * info, int unicode_codepoint)
    • nstbtt_ScaleForPixelHeight

      public static float nstbtt_ScaleForPixelHeight(long info, float pixels)
      float stbtt_ScaleForPixelHeight(stbtt_fontinfo const * info, float pixels)
    • stbtt_ScaleForPixelHeight

      public static float stbtt_ScaleForPixelHeight(STBTTFontinfo info, float pixels)
      float stbtt_ScaleForPixelHeight(stbtt_fontinfo const * info, float pixels)
    • nstbtt_ScaleForMappingEmToPixels

      public static float nstbtt_ScaleForMappingEmToPixels(long info, float pixels)
      float stbtt_ScaleForMappingEmToPixels(stbtt_fontinfo const * info, float pixels)
    • stbtt_ScaleForMappingEmToPixels

      public static float stbtt_ScaleForMappingEmToPixels(STBTTFontinfo info, float pixels)
      float stbtt_ScaleForMappingEmToPixels(stbtt_fontinfo const * info, float pixels)
    • nstbtt_GetFontVMetrics

      public static void nstbtt_GetFontVMetrics(long info, long ascent, long descent, long lineGap)
      void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    • stbtt_GetFontVMetrics

      public static void stbtt_GetFontVMetrics(STBTTFontinfo info, @Nullable IntBuffer ascent, @Nullable IntBuffer descent, @Nullable IntBuffer lineGap)
      void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    • nstbtt_GetFontVMetricsOS2

      public static int nstbtt_GetFontVMetricsOS2(long info, long typoAscent, long typoDescent, long typoLineGap)
      int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    • stbtt_GetFontVMetricsOS2

      public static boolean stbtt_GetFontVMetricsOS2(STBTTFontinfo info, @Nullable IntBuffer typoAscent, @Nullable IntBuffer typoDescent, @Nullable IntBuffer typoLineGap)
      int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    • nstbtt_GetFontBoundingBox

      public static void nstbtt_GetFontBoundingBox(long info, long x0, long y0, long x1, long y1)
      void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    • stbtt_GetFontBoundingBox

      public static void stbtt_GetFontBoundingBox(STBTTFontinfo info, IntBuffer x0, IntBuffer y0, IntBuffer x1, IntBuffer y1)
      void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    • nstbtt_GetCodepointHMetrics

      public static void nstbtt_GetCodepointHMetrics(long info, int codepoint, long advanceWidth, long leftSideBearing)
      void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    • stbtt_GetCodepointHMetrics

      public static void stbtt_GetCodepointHMetrics(STBTTFontinfo info, int codepoint, @Nullable IntBuffer advanceWidth, @Nullable IntBuffer leftSideBearing)
      void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    • nstbtt_GetCodepointKernAdvance

      public static int nstbtt_GetCodepointKernAdvance(long info, int ch1, int ch2)
      int stbtt_GetCodepointKernAdvance(stbtt_fontinfo const * info, int ch1, int ch2)
    • stbtt_GetCodepointKernAdvance

      public static int stbtt_GetCodepointKernAdvance(STBTTFontinfo info, int ch1, int ch2)
      int stbtt_GetCodepointKernAdvance(stbtt_fontinfo const * info, int ch1, int ch2)
    • nstbtt_GetCodepointBox

      public static int nstbtt_GetCodepointBox(long info, int codepoint, long x0, long y0, long x1, long y1)
      int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    • stbtt_GetCodepointBox

      public static boolean stbtt_GetCodepointBox(STBTTFontinfo info, int codepoint, @Nullable IntBuffer x0, @Nullable IntBuffer y0, @Nullable IntBuffer x1, @Nullable IntBuffer y1)
      int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    • nstbtt_GetGlyphHMetrics

      public static void nstbtt_GetGlyphHMetrics(long info, int glyph_index, long advanceWidth, long leftSideBearing)
      void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    • stbtt_GetGlyphHMetrics

      public static void stbtt_GetGlyphHMetrics(STBTTFontinfo info, int glyph_index, @Nullable IntBuffer advanceWidth, @Nullable IntBuffer leftSideBearing)
      void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    • nstbtt_GetGlyphKernAdvance

      public static int nstbtt_GetGlyphKernAdvance(long info, int glyph1, int glyph2)
      int stbtt_GetGlyphKernAdvance(stbtt_fontinfo const * info, int glyph1, int glyph2)
    • stbtt_GetGlyphKernAdvance

      public static int stbtt_GetGlyphKernAdvance(STBTTFontinfo info, int glyph1, int glyph2)
      int stbtt_GetGlyphKernAdvance(stbtt_fontinfo const * info, int glyph1, int glyph2)
    • nstbtt_GetGlyphBox

      public static int nstbtt_GetGlyphBox(long info, int glyph_index, long x0, long y0, long x1, long y1)
      int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    • stbtt_GetGlyphBox

      public static boolean stbtt_GetGlyphBox(STBTTFontinfo info, int glyph_index, @Nullable IntBuffer x0, @Nullable IntBuffer y0, @Nullable IntBuffer x1, @Nullable IntBuffer y1)
      int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    • nstbtt_GetKerningTableLength

      public static int nstbtt_GetKerningTableLength(long info)
      int stbtt_GetKerningTableLength(stbtt_fontinfo const * info)
    • stbtt_GetKerningTableLength

      public static int stbtt_GetKerningTableLength(STBTTFontinfo info)
      int stbtt_GetKerningTableLength(stbtt_fontinfo const * info)
    • nstbtt_GetKerningTable

      public static int nstbtt_GetKerningTable(long info, long table, int table_length)
      int stbtt_GetKerningTable(stbtt_fontinfo const * info, stbtt_kerningentry * table, int table_length)
    • stbtt_GetKerningTable

      public static int stbtt_GetKerningTable(STBTTFontinfo info, STBTTKerningentry.Buffer table)
      int stbtt_GetKerningTable(stbtt_fontinfo const * info, stbtt_kerningentry * table, int table_length)
    • nstbtt_IsGlyphEmpty

      public static int nstbtt_IsGlyphEmpty(long info, int glyph_index)
      int stbtt_IsGlyphEmpty(stbtt_fontinfo const * info, int glyph_index)
    • stbtt_IsGlyphEmpty

      public static boolean stbtt_IsGlyphEmpty(STBTTFontinfo info, int glyph_index)
      int stbtt_IsGlyphEmpty(stbtt_fontinfo const * info, int glyph_index)
    • nstbtt_GetCodepointShape

      public static int nstbtt_GetCodepointShape(long info, int unicode_codepoint, long vertices)
      int stbtt_GetCodepointShape(stbtt_fontinfo const * info, int unicode_codepoint, stbtt_vertex ** vertices)
    • stbtt_GetCodepointShape

      public static int stbtt_GetCodepointShape(STBTTFontinfo info, int unicode_codepoint, PointerBuffer vertices)
      int stbtt_GetCodepointShape(stbtt_fontinfo const * info, int unicode_codepoint, stbtt_vertex ** vertices)
    • stbtt_GetCodepointShape

      public static @Nullable STBTTVertex.Buffer stbtt_GetCodepointShape(STBTTFontinfo info, int unicode_codepoint)
      int stbtt_GetCodepointShape(stbtt_fontinfo const * info, int unicode_codepoint, stbtt_vertex ** vertices)
    • nstbtt_GetGlyphShape

      public static int nstbtt_GetGlyphShape(long info, int glyph_index, long vertices)
      int stbtt_GetGlyphShape(stbtt_fontinfo const * info, int glyph_index, stbtt_vertex ** vertices)
    • stbtt_GetGlyphShape

      public static int stbtt_GetGlyphShape(STBTTFontinfo info, int glyph_index, PointerBuffer vertices)
      int stbtt_GetGlyphShape(stbtt_fontinfo const * info, int glyph_index, stbtt_vertex ** vertices)
    • stbtt_GetGlyphShape

      public static @Nullable STBTTVertex.Buffer stbtt_GetGlyphShape(STBTTFontinfo info, int glyph_index)
      int stbtt_GetGlyphShape(stbtt_fontinfo const * info, int glyph_index, stbtt_vertex ** vertices)
    • nstbtt_FreeShape

      public static void nstbtt_FreeShape(long info, long vertices)
      void stbtt_FreeShape(stbtt_fontinfo const * info, stbtt_vertex * vertices)
    • stbtt_FreeShape

      public static void stbtt_FreeShape(STBTTFontinfo info, STBTTVertex.Buffer vertices)
      void stbtt_FreeShape(stbtt_fontinfo const * info, stbtt_vertex * vertices)
    • nstbtt_FindSVGDoc

      public static long nstbtt_FindSVGDoc(long info, int gl)
      unsigned char * stbtt_FindSVGDoc(stbtt_fontinfo const * info, int gl)
    • stbtt_FindSVGDoc

      public static long stbtt_FindSVGDoc(STBTTFontinfo info, int gl)
      unsigned char * stbtt_FindSVGDoc(stbtt_fontinfo const * info, int gl)
    • nstbtt_GetCodepointSVG

      public static int nstbtt_GetCodepointSVG(long info, int unicode_codepoint, long svg)
      int stbtt_GetCodepointSVG(stbtt_fontinfo const * info, int unicode_codepoint, char const ** svg)
    • stbtt_GetCodepointSVG

      public static int stbtt_GetCodepointSVG(STBTTFontinfo info, int unicode_codepoint, PointerBuffer svg)
      int stbtt_GetCodepointSVG(stbtt_fontinfo const * info, int unicode_codepoint, char const ** svg)
    • nstbtt_GetGlyphSVG

      public static int nstbtt_GetGlyphSVG(long info, int gl, long svg)
      int stbtt_GetGlyphSVG(stbtt_fontinfo const * info, int gl, char const ** svg)
    • stbtt_GetGlyphSVG

      public static int stbtt_GetGlyphSVG(STBTTFontinfo info, int gl, PointerBuffer svg)
      int stbtt_GetGlyphSVG(stbtt_fontinfo const * info, int gl, char const ** svg)
    • nstbtt_FreeBitmap

      public static void nstbtt_FreeBitmap(long bitmap, long userdata)
      void stbtt_FreeBitmap(unsigned char * bitmap, void * userdata)
    • stbtt_FreeBitmap

      public static void stbtt_FreeBitmap(ByteBuffer bitmap, long userdata)
      void stbtt_FreeBitmap(unsigned char * bitmap, void * userdata)
    • stbtt_FreeBitmap

      public static void stbtt_FreeBitmap(ByteBuffer bitmap)
      void stbtt_FreeBitmap(unsigned char * bitmap, void * userdata)
    • nstbtt_GetCodepointBitmap

      public static long nstbtt_GetCodepointBitmap(long info, float scale_x, float scale_y, int codepoint, long width, long height, long xoff, long yoff)
      unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetCodepointBitmap

      public static @Nullable ByteBuffer stbtt_GetCodepointBitmap(STBTTFontinfo info, float scale_x, float scale_y, int codepoint, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
      unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_GetCodepointBitmapSubpixel

      public static long nstbtt_GetCodepointBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, long width, long height, long xoff, long yoff)
      unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetCodepointBitmapSubpixel

      public static @Nullable ByteBuffer stbtt_GetCodepointBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
      unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_MakeCodepointBitmap

      public static void nstbtt_MakeCodepointBitmap(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
      void stbtt_MakeCodepointBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
    • stbtt_MakeCodepointBitmap

      public static void stbtt_MakeCodepointBitmap(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
      void stbtt_MakeCodepointBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint)
    • nstbtt_MakeCodepointBitmapSubpixel

      public static void nstbtt_MakeCodepointBitmapSubpixel(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
      void stbtt_MakeCodepointBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
    • stbtt_MakeCodepointBitmapSubpixel

      public static void stbtt_MakeCodepointBitmapSubpixel(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
      void stbtt_MakeCodepointBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint)
    • nstbtt_MakeCodepointBitmapSubpixelPrefilter

      public static void nstbtt_MakeCodepointBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, long sub_x, long sub_y, int codepoint)
      void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    • stbtt_MakeCodepointBitmapSubpixelPrefilter

      public static void stbtt_MakeCodepointBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, FloatBuffer sub_x, FloatBuffer sub_y, int codepoint)
      void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    • nstbtt_GetCodepointBitmapBox

      public static void nstbtt_GetCodepointBitmapBox(long font, int codepoint, float scale_x, float scale_y, long ix0, long iy0, long ix1, long iy1)
      void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetCodepointBitmapBox

      public static void stbtt_GetCodepointBitmapBox(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
      void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_GetCodepointBitmapBoxSubpixel

      public static void nstbtt_GetCodepointBitmapBoxSubpixel(long font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, long ix0, long iy0, long ix1, long iy1)
      void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetCodepointBitmapBoxSubpixel

      public static void stbtt_GetCodepointBitmapBoxSubpixel(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
      void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_GetGlyphBitmap

      public static long nstbtt_GetGlyphBitmap(long info, float scale_x, float scale_y, int glyph, long width, long height, long xoff, long yoff)
      unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetGlyphBitmap

      public static @Nullable ByteBuffer stbtt_GetGlyphBitmap(STBTTFontinfo info, float scale_x, float scale_y, int glyph, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
      unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_GetGlyphBitmapSubpixel

      public static long nstbtt_GetGlyphBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, long width, long height, long xoff, long yoff)
      unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetGlyphBitmapSubpixel

      public static @Nullable ByteBuffer stbtt_GetGlyphBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, IntBuffer width, IntBuffer height, @Nullable IntBuffer xoff, @Nullable IntBuffer yoff)
      unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_MakeGlyphBitmap

      public static void nstbtt_MakeGlyphBitmap(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
      void stbtt_MakeGlyphBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
    • stbtt_MakeGlyphBitmap

      public static void stbtt_MakeGlyphBitmap(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
      void stbtt_MakeGlyphBitmap(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph)
    • nstbtt_MakeGlyphBitmapSubpixel

      public static void nstbtt_MakeGlyphBitmapSubpixel(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
      void stbtt_MakeGlyphBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
    • stbtt_MakeGlyphBitmapSubpixel

      public static void stbtt_MakeGlyphBitmapSubpixel(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
      void stbtt_MakeGlyphBitmapSubpixel(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph)
    • nstbtt_MakeGlyphBitmapSubpixelPrefilter

      public static void nstbtt_MakeGlyphBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, long sub_x, long sub_y, int glyph)
      void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    • stbtt_MakeGlyphBitmapSubpixelPrefilter

      public static void stbtt_MakeGlyphBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, FloatBuffer sub_x, FloatBuffer sub_y, int glyph)
      void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    • nstbtt_GetGlyphBitmapBox

      public static void nstbtt_GetGlyphBitmapBox(long font, int glyph, float scale_x, float scale_y, long ix0, long iy0, long ix1, long iy1)
      void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetGlyphBitmapBox

      public static void stbtt_GetGlyphBitmapBox(STBTTFontinfo font, int glyph, float scale_x, float scale_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
      void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_GetGlyphBitmapBoxSubpixel

      public static void nstbtt_GetGlyphBitmapBoxSubpixel(long font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, long ix0, long iy0, long ix1, long iy1)
      void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetGlyphBitmapBoxSubpixel

      public static void stbtt_GetGlyphBitmapBoxSubpixel(STBTTFontinfo font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, @Nullable IntBuffer ix0, @Nullable IntBuffer iy0, @Nullable IntBuffer ix1, @Nullable IntBuffer iy1)
      void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_Rasterize

      public static void nstbtt_Rasterize(long result, float flatness_in_pixels, long vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, long alloc_context)
      void stbtt_Rasterize(stbtt__bitmap * result, float flatness_in_pixels, stbtt_vertex * vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void * alloc_context)
    • stbtt_Rasterize

      public static void stbtt_Rasterize(STBTTBitmap result, float flatness_in_pixels, STBTTVertex.Buffer vertices, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, boolean invert)
      void stbtt_Rasterize(stbtt__bitmap * result, float flatness_in_pixels, stbtt_vertex * vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void * alloc_context)
    • nstbtt_FreeSDF

      public static void nstbtt_FreeSDF(long bitmap, long userdata)
      void stbtt_FreeSDF(unsigned char * bitmap, void * userdata)
    • stbtt_FreeSDF

      public static void stbtt_FreeSDF(ByteBuffer bitmap, long userdata)
      void stbtt_FreeSDF(unsigned char * bitmap, void * userdata)
    • stbtt_FreeSDF

      public static void stbtt_FreeSDF(ByteBuffer bitmap)
      void stbtt_FreeSDF(unsigned char * bitmap, void * userdata)
    • nstbtt_GetGlyphSDF

      public static long nstbtt_GetGlyphSDF(long font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, long width, long height, long xoff, long yoff)
      unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetGlyphSDF

      public static @Nullable ByteBuffer stbtt_GetGlyphSDF(STBTTFontinfo font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, IntBuffer width, IntBuffer height, IntBuffer xoff, IntBuffer yoff)
      unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_GetCodepointSDF

      public static long nstbtt_GetCodepointSDF(long font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, long width, long height, long xoff, long yoff)
      unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetCodepointSDF

      public static @Nullable ByteBuffer stbtt_GetCodepointSDF(STBTTFontinfo font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, IntBuffer width, IntBuffer height, IntBuffer xoff, IntBuffer yoff)
      unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_FindMatchingFont

      public static int nstbtt_FindMatchingFont(long fontdata, long name, int flags)
      int stbtt_FindMatchingFont(unsigned char const * fontdata, char const * name, int flags)
    • stbtt_FindMatchingFont

      public static int stbtt_FindMatchingFont(ByteBuffer fontdata, ByteBuffer name, int flags)
      int stbtt_FindMatchingFont(unsigned char const * fontdata, char const * name, int flags)
    • stbtt_FindMatchingFont

      public static int stbtt_FindMatchingFont(ByteBuffer fontdata, CharSequence name, int flags)
      int stbtt_FindMatchingFont(unsigned char const * fontdata, char const * name, int flags)
    • nstbtt_CompareUTF8toUTF16_bigendian

      public static int nstbtt_CompareUTF8toUTF16_bigendian(long s1, int len1, long s2, int len2)
      int stbtt_CompareUTF8toUTF16_bigendian(char const * s1, int len1, char const * s2, int len2)
    • stbtt_CompareUTF8toUTF16_bigendian

      public static boolean stbtt_CompareUTF8toUTF16_bigendian(ByteBuffer s1, ByteBuffer s2)
      int stbtt_CompareUTF8toUTF16_bigendian(char const * s1, int len1, char const * s2, int len2)
    • nstbtt_GetFontNameString

      public static long nstbtt_GetFontNameString(long font, long length, int platformID, int encodingID, int languageID, int nameID)
      char const * stbtt_GetFontNameString(stbtt_fontinfo const * font, int * length, int platformID, int encodingID, int languageID, int nameID)
    • stbtt_GetFontNameString

      public static @Nullable ByteBuffer stbtt_GetFontNameString(STBTTFontinfo font, int platformID, int encodingID, int languageID, int nameID)
      char const * stbtt_GetFontNameString(stbtt_fontinfo const * font, int * length, int platformID, int encodingID, int languageID, int nameID)
    • nstbtt_GetBakedQuad

      public static void nstbtt_GetBakedQuad(long chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, long q, int opengl_fillrule)
      void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    • stbtt_GetBakedQuad

      public static void stbtt_GetBakedQuad(STBTTBakedChar.Buffer chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, STBTTAlignedQuad q, boolean opengl_fillrule)
      void stbtt_GetBakedQuad(stbtt_bakedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int opengl_fillrule)
    • nstbtt_GetScaledFontVMetrics

      public static void nstbtt_GetScaledFontVMetrics(long fontdata, int index, float size, float[] ascent, float[] descent, float[] lineGap)
      void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    • stbtt_GetScaledFontVMetrics

      public static void stbtt_GetScaledFontVMetrics(ByteBuffer fontdata, int index, float size, float[] ascent, float[] descent, float[] lineGap)
      void stbtt_GetScaledFontVMetrics(unsigned char const * fontdata, int index, float size, float * ascent, float * descent, float * lineGap)
    • nstbtt_GetPackedQuad

      public static void nstbtt_GetPackedQuad(long chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, long q, int align_to_integer)
      void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    • stbtt_GetPackedQuad

      public static void stbtt_GetPackedQuad(STBTTPackedchar.Buffer chardata, int pw, int ph, int char_index, float[] xpos, float[] ypos, STBTTAlignedQuad q, boolean align_to_integer)
      void stbtt_GetPackedQuad(stbtt_packedchar const * chardata, int pw, int ph, int char_index, float * xpos, float * ypos, stbtt_aligned_quad * q, int align_to_integer)
    • nstbtt_GetFontVMetrics

      public static void nstbtt_GetFontVMetrics(long info, int[] ascent, int[] descent, int[] lineGap)
      void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    • stbtt_GetFontVMetrics

      public static void stbtt_GetFontVMetrics(STBTTFontinfo info, int @Nullable [] ascent, int @Nullable [] descent, int @Nullable [] lineGap)
      void stbtt_GetFontVMetrics(stbtt_fontinfo const * info, int * ascent, int * descent, int * lineGap)
    • nstbtt_GetFontVMetricsOS2

      public static int nstbtt_GetFontVMetricsOS2(long info, int[] typoAscent, int[] typoDescent, int[] typoLineGap)
      int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    • stbtt_GetFontVMetricsOS2

      public static boolean stbtt_GetFontVMetricsOS2(STBTTFontinfo info, int @Nullable [] typoAscent, int @Nullable [] typoDescent, int @Nullable [] typoLineGap)
      int stbtt_GetFontVMetricsOS2(stbtt_fontinfo const * info, int * typoAscent, int * typoDescent, int * typoLineGap)
    • nstbtt_GetFontBoundingBox

      public static void nstbtt_GetFontBoundingBox(long info, int[] x0, int[] y0, int[] x1, int[] y1)
      void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    • stbtt_GetFontBoundingBox

      public static void stbtt_GetFontBoundingBox(STBTTFontinfo info, int[] x0, int[] y0, int[] x1, int[] y1)
      void stbtt_GetFontBoundingBox(stbtt_fontinfo const * info, int * x0, int * y0, int * x1, int * y1)
    • nstbtt_GetCodepointHMetrics

      public static void nstbtt_GetCodepointHMetrics(long info, int codepoint, int[] advanceWidth, int[] leftSideBearing)
      void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    • stbtt_GetCodepointHMetrics

      public static void stbtt_GetCodepointHMetrics(STBTTFontinfo info, int codepoint, int @Nullable [] advanceWidth, int @Nullable [] leftSideBearing)
      void stbtt_GetCodepointHMetrics(stbtt_fontinfo const * info, int codepoint, int * advanceWidth, int * leftSideBearing)
    • nstbtt_GetCodepointBox

      public static int nstbtt_GetCodepointBox(long info, int codepoint, int[] x0, int[] y0, int[] x1, int[] y1)
      int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    • stbtt_GetCodepointBox

      public static boolean stbtt_GetCodepointBox(STBTTFontinfo info, int codepoint, int @Nullable [] x0, int @Nullable [] y0, int @Nullable [] x1, int @Nullable [] y1)
      int stbtt_GetCodepointBox(stbtt_fontinfo const * info, int codepoint, int * x0, int * y0, int * x1, int * y1)
    • nstbtt_GetGlyphHMetrics

      public static void nstbtt_GetGlyphHMetrics(long info, int glyph_index, int[] advanceWidth, int[] leftSideBearing)
      void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    • stbtt_GetGlyphHMetrics

      public static void stbtt_GetGlyphHMetrics(STBTTFontinfo info, int glyph_index, int @Nullable [] advanceWidth, int @Nullable [] leftSideBearing)
      void stbtt_GetGlyphHMetrics(stbtt_fontinfo const * info, int glyph_index, int * advanceWidth, int * leftSideBearing)
    • nstbtt_GetGlyphBox

      public static int nstbtt_GetGlyphBox(long info, int glyph_index, int[] x0, int[] y0, int[] x1, int[] y1)
      int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    • stbtt_GetGlyphBox

      public static boolean stbtt_GetGlyphBox(STBTTFontinfo info, int glyph_index, int @Nullable [] x0, int @Nullable [] y0, int @Nullable [] x1, int @Nullable [] y1)
      int stbtt_GetGlyphBox(stbtt_fontinfo const * info, int glyph_index, int * x0, int * y0, int * x1, int * y1)
    • nstbtt_GetCodepointBitmap

      public static long nstbtt_GetCodepointBitmap(long info, float scale_x, float scale_y, int codepoint, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetCodepointBitmap

      public static @Nullable ByteBuffer stbtt_GetCodepointBitmap(STBTTFontinfo info, float scale_x, float scale_y, int codepoint, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
      unsigned char * stbtt_GetCodepointBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_GetCodepointBitmapSubpixel

      public static long nstbtt_GetCodepointBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetCodepointBitmapSubpixel

      public static @Nullable ByteBuffer stbtt_GetCodepointBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
      unsigned char * stbtt_GetCodepointBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_MakeCodepointBitmapSubpixelPrefilter

      public static void nstbtt_MakeCodepointBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int codepoint)
      void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    • stbtt_MakeCodepointBitmapSubpixelPrefilter

      public static void stbtt_MakeCodepointBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int codepoint)
      void stbtt_MakeCodepointBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int codepoint)
    • nstbtt_GetCodepointBitmapBox

      public static void nstbtt_GetCodepointBitmapBox(long font, int codepoint, float scale_x, float scale_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
      void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetCodepointBitmapBox

      public static void stbtt_GetCodepointBitmapBox(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
      void stbtt_GetCodepointBitmapBox(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_GetCodepointBitmapBoxSubpixel

      public static void nstbtt_GetCodepointBitmapBoxSubpixel(long font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
      void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetCodepointBitmapBoxSubpixel

      public static void stbtt_GetCodepointBitmapBoxSubpixel(STBTTFontinfo font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
      void stbtt_GetCodepointBitmapBoxSubpixel(stbtt_fontinfo const * font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_GetGlyphBitmap

      public static long nstbtt_GetGlyphBitmap(long info, float scale_x, float scale_y, int glyph, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetGlyphBitmap

      public static @Nullable ByteBuffer stbtt_GetGlyphBitmap(STBTTFontinfo info, float scale_x, float scale_y, int glyph, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
      unsigned char * stbtt_GetGlyphBitmap(stbtt_fontinfo const * info, float scale_x, float scale_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_GetGlyphBitmapSubpixel

      public static long nstbtt_GetGlyphBitmapSubpixel(long info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetGlyphBitmapSubpixel

      public static @Nullable ByteBuffer stbtt_GetGlyphBitmapSubpixel(STBTTFontinfo info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int[] width, int[] height, int @Nullable [] xoff, int @Nullable [] yoff)
      unsigned char * stbtt_GetGlyphBitmapSubpixel(stbtt_fontinfo const * info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_MakeGlyphBitmapSubpixelPrefilter

      public static void nstbtt_MakeGlyphBitmapSubpixelPrefilter(long info, long output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int glyph)
      void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    • stbtt_MakeGlyphBitmapSubpixelPrefilter

      public static void stbtt_MakeGlyphBitmapSubpixelPrefilter(STBTTFontinfo info, ByteBuffer output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float[] sub_x, float[] sub_y, int glyph)
      void stbtt_MakeGlyphBitmapSubpixelPrefilter(stbtt_fontinfo const * info, unsigned char * output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float * sub_x, float * sub_y, int glyph)
    • nstbtt_GetGlyphBitmapBox

      public static void nstbtt_GetGlyphBitmapBox(long font, int glyph, float scale_x, float scale_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
      void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetGlyphBitmapBox

      public static void stbtt_GetGlyphBitmapBox(STBTTFontinfo font, int glyph, float scale_x, float scale_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
      void stbtt_GetGlyphBitmapBox(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_GetGlyphBitmapBoxSubpixel

      public static void nstbtt_GetGlyphBitmapBoxSubpixel(long font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int[] ix0, int[] iy0, int[] ix1, int[] iy1)
      void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • stbtt_GetGlyphBitmapBoxSubpixel

      public static void stbtt_GetGlyphBitmapBoxSubpixel(STBTTFontinfo font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int @Nullable [] ix0, int @Nullable [] iy0, int @Nullable [] ix1, int @Nullable [] iy1)
      void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo const * font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int * ix0, int * iy0, int * ix1, int * iy1)
    • nstbtt_GetGlyphSDF

      public static long nstbtt_GetGlyphSDF(long font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetGlyphSDF

      public static @Nullable ByteBuffer stbtt_GetGlyphSDF(STBTTFontinfo font, float scale, int glyph, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetGlyphSDF(stbtt_fontinfo const * font, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    • nstbtt_GetCodepointSDF

      public static long nstbtt_GetCodepointSDF(long font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)
    • stbtt_GetCodepointSDF

      public static @Nullable ByteBuffer stbtt_GetCodepointSDF(STBTTFontinfo font, float scale, int codepoint, int padding, byte onedge_value, float pixel_dist_scale, int[] width, int[] height, int[] xoff, int[] yoff)
      unsigned char * stbtt_GetCodepointSDF(stbtt_fontinfo const * font, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int * width, int * height, int * xoff, int * yoff)