Static variables

@:value(1)staticinlineread onlySTBTT_MACSTYLE_BOLD:Int = 1

@:value(0)staticinlineread onlySTBTT_MACSTYLE_DONTCARE:Int = 0

@:value(2)staticinlineread onlySTBTT_MACSTYLE_ITALIC:Int = 2

@:value(8)staticinlineread onlySTBTT_MACSTYLE_NONE:Int = 8

@:value(4)staticinlineread onlySTBTT_MACSTYLE_UNDERSCORE:Int = 4

@:value(4)staticinlineread onlySTBTT_MAC_EID_ARABIC:Int = 4

@:value(2)staticinlineread onlySTBTT_MAC_EID_CHINESE_TRAD:Int = 2

@:value(6)staticinlineread onlySTBTT_MAC_EID_GREEK:Int = 6

@:value(5)staticinlineread onlySTBTT_MAC_EID_HEBREW:Int = 5

@:value(1)staticinlineread onlySTBTT_MAC_EID_JAPANESE:Int = 1

@:value(3)staticinlineread onlySTBTT_MAC_EID_KOREAN:Int = 3

@:value(0)staticinlineread onlySTBTT_MAC_EID_ROMAN:Int = 0

@:value(7)staticinlineread onlySTBTT_MAC_EID_RUSSIAN:Int = 7

@:value(12)staticinlineread onlySTBTT_MAC_LANG_ARABIC:Int = 12

@:value(33)staticinlineread onlySTBTT_MAC_LANG_CHINESE_SIMPLIFIED:Int = 33

@:value(19)staticinlineread onlySTBTT_MAC_LANG_CHINESE_TRAD:Int = 19

@:value(4)staticinlineread onlySTBTT_MAC_LANG_DUTCH:Int = 4

@:value(0)staticinlineread onlySTBTT_MAC_LANG_ENGLISH:Int = 0

@:value(1)staticinlineread onlySTBTT_MAC_LANG_FRENCH:Int = 1

@:value(2)staticinlineread onlySTBTT_MAC_LANG_GERMAN:Int = 2

@:value(10)staticinlineread onlySTBTT_MAC_LANG_HEBREW:Int = 10

@:value(3)staticinlineread onlySTBTT_MAC_LANG_ITALIAN:Int = 3

@:value(11)staticinlineread onlySTBTT_MAC_LANG_JAPANESE:Int = 11

@:value(23)staticinlineread onlySTBTT_MAC_LANG_KOREAN:Int = 23

@:value(32)staticinlineread onlySTBTT_MAC_LANG_RUSSIAN:Int = 32

@:value(6)staticinlineread onlySTBTT_MAC_LANG_SPANISH:Int = 6

@:value(5)staticinlineread onlySTBTT_MAC_LANG_SWEDISH:Int = 5

@:value(8)staticinlineread onlySTBTT_MAX_OVERSAMPLE:Int = 8

@:value(2)staticinlineread onlySTBTT_MS_EID_SHIFTJIS:Int = 2

@:value(0)staticinlineread onlySTBTT_MS_EID_SYMBOL:Int = 0

@:value(1)staticinlineread onlySTBTT_MS_EID_UNICODE_BMP:Int = 1

@:value(10)staticinlineread onlySTBTT_MS_EID_UNICODE_FULL:Int = 10

@:value(0x0804)staticinlineread onlySTBTT_MS_LANG_CHINESE:Int = 0x0804

@:value(0x0413)staticinlineread onlySTBTT_MS_LANG_DUTCH:Int = 0x0413

@:value(0x0409)staticinlineread onlySTBTT_MS_LANG_ENGLISH:Int = 0x0409

@:value(0x040c)staticinlineread onlySTBTT_MS_LANG_FRENCH:Int = 0x040c

@:value(0x0407)staticinlineread onlySTBTT_MS_LANG_GERMAN:Int = 0x0407

@:value(0x040d)staticinlineread onlySTBTT_MS_LANG_HEBREW:Int = 0x040d

@:value(0x0410)staticinlineread onlySTBTT_MS_LANG_ITALIAN:Int = 0x0410

@:value(0x0411)staticinlineread onlySTBTT_MS_LANG_JAPANESE:Int = 0x0411

@:value(0x0412)staticinlineread onlySTBTT_MS_LANG_KOREAN:Int = 0x0412

@:value(0x0419)staticinlineread onlySTBTT_MS_LANG_RUSSIAN:Int = 0x0419

@:value(0x0409)staticinlineread onlySTBTT_MS_LANG_SPANISH:Int = 0x0409

@:value(0x041D)staticinlineread onlySTBTT_MS_LANG_SWEDISH:Int = 0x041D

@:value(2)staticinlineread onlySTBTT_PLATFORM_ID_ISO:Int = 2

@:value(1)staticinlineread onlySTBTT_PLATFORM_ID_MAC:Int = 1

@:value(3)staticinlineread onlySTBTT_PLATFORM_ID_MICROSOFT:Int = 3

@:value(0)staticinlineread onlySTBTT_PLATFORM_ID_UNICODE:Int = 0

@:value(2)staticinlineread onlySTBTT_RASTERIZER_VERSION:Int = 2

@:value(2)staticinlineread onlySTBTT_UNICODE_EID_ISO_10646:Int = 2

@:value(0)staticinlineread onlySTBTT_UNICODE_EID_UNICODE_1_0:Int = 0

@:value(1)staticinlineread onlySTBTT_UNICODE_EID_UNICODE_1_1:Int = 1

@:value(3)staticinlineread onlySTBTT_UNICODE_EID_UNICODE_2_0_BMP:Int = 3

@:value(4)staticinlineread onlySTBTT_UNICODE_EID_UNICODE_2_0_FULL:Int = 4

@:value(4)staticinlineread onlySTBTT_vcubic:Int = 4

@:value(3)staticinlineread onlySTBTT_vcurve:Int = 3

@:value(2)staticinlineread onlySTBTT_vline:Int = 2

@:value(1)staticinlineread onlySTBTT_vmove:Int = 1

Static methods

staticstbtt_BakeFontBitmap(data:Blob, offset:Int, pixel_height:Float, pixels:Blob, pw:Int, ph:Int, chars:Array<Int>, chardata:Vector<Stbtt_bakedchar>):Int

staticstbtt_FindGlyphIndex(info:Stbtt_fontinfo, unicode_codepoint:Int):Int

staticstbtt_GetBakedQuad(chardata:Vector<Stbtt_bakedchar>, pw:Int, ph:Int, char_index:Int, xpos:{value:Float}, ypos:{value:Float}, q:Stbtt_aligned_quad, opengl_fillrule:Bool):Void

staticstbtt_GetCodepointBitmap(info:Stbtt_fontinfo, scale_x:Float, scale_y:Float, codepoint:Int, region:Stbtt_temp_region):Blob

staticstbtt_GetCodepointBitmapBox(font:Stbtt_fontinfo, codepoint:Int, scale_x:Float, scale_y:Float):Stbtt_temp_rect

staticstbtt_GetCodepointBitmapBoxSubpixel(font:Stbtt_fontinfo, codepoint:Int, scale_x:Float, scale_y:Float, shift_x:Float, shift_y:Float):Stbtt_temp_rect

staticstbtt_GetCodepointBitmapSubpixel(info:Stbtt_fontinfo, scale_x:Float, scale_y:Float, shift_x:Float, shift_y:Float, codepoint:Int, region:Stbtt_temp_region):Blob

staticstbtt_GetCodepointBox(info:Stbtt_fontinfo, codepoint:Int, rect:Stbtt_temp_rect):Bool

staticstbtt_GetCodepointKernAdvance(info:Stbtt_fontinfo, ch1:Int, ch2:Int):Int

staticstbtt_GetCodepointShape(info:Stbtt_fontinfo, unicode_codepoint:Int):Vector<Stbtt_vertex>

staticstbtt_GetFontOffsetForIndex(font_collection:Blob, index:Int):Int

staticstbtt_GetGlyphBitmap(info:Stbtt_fontinfo, scale_x:Float, scale_y:Float, glyph:Int, region:Stbtt_temp_region):Blob

staticstbtt_GetGlyphBitmapBox(font:Stbtt_fontinfo, glyph:Int, scale_x:Float, scale_y:Float):Stbtt_temp_rect

staticstbtt_GetGlyphBitmapBoxSubpixel(font:Stbtt_fontinfo, glyph:Int, scale_x:Float, scale_y:Float, shift_x:Float, shift_y:Float):Stbtt_temp_rect

staticstbtt_GetGlyphBitmapSubpixel(info:Stbtt_fontinfo, scale_x:Float, scale_y:Float, shift_x:Float, shift_y:Float, glyph:Int, region:Stbtt_temp_region):Blob

staticstbtt_GetGlyphBox(info:Stbtt_fontinfo, glyph_index:Int, rect:Stbtt_temp_rect):Bool

staticstbtt_GetGlyphKernAdvance(info:Stbtt_fontinfo, glyph1:Int, glyph2:Int):Int

staticstbtt_GetGlyphShape(info:Stbtt_fontinfo, glyph_index:Int):Vector<Stbtt_vertex>

staticstbtt_GetNumberOfFonts(font_collection:Blob):Int

staticstbtt_InitFont(info:Stbtt_fontinfo, data:Blob, fontstart:Int):Bool

staticstbtt_IsGlyphEmpty(info:Stbtt_fontinfo, glyph_index:Int):Bool

staticstbtt_MakeCodepointBitmap(info:Stbtt_fontinfo, output:Blob, output_offset:Int, out_w:Int, out_h:Int, out_stride:Int, scale_x:Float, scale_y:Float, codepoint:Int):Void

staticstbtt_MakeCodepointBitmapSubpixel(info:Stbtt_fontinfo, output:Blob, output_offset:Int, out_w:Int, out_h:Int, out_stride:Int, scale_x:Float, scale_y:Float, shift_x:Float, shift_y:Float, codepoint:Int):Void

staticstbtt_MakeGlyphBitmap(info:Stbtt_fontinfo, output:Blob, output_offset:Int, out_w:Int, out_h:Int, out_stride:Int, scale_x:Float, scale_y:Float, glyph:Int):Void

staticstbtt_MakeGlyphBitmapSubpixel(info:Stbtt_fontinfo, output:Blob, output_offset:Int, out_w:Int, out_h:Int, out_stride:Int, scale_x:Float, scale_y:Float, shift_x:Float, shift_y:Float, glyph:Int):Void

staticstbtt_Rasterize(result:Stbtt__bitmap, flatness_in_pixels:Float, vertices:Vector<Stbtt_vertex>, num_verts:Int, scale_x:Float, scale_y:Float, shift_x:Float, shift_y:Float, x_off:Int, y_off:Int, invert:Bool):Void

staticstbtt_ScaleForMappingEmToPixels(info:Stbtt_fontinfo, pixels:Float):Float

staticstbtt_ScaleForPixelHeight(info:Stbtt_fontinfo, height:Float):Float

staticstbtt__GetGlyphInfoT2(info:Stbtt_fontinfo, glyph_index:Int, rect:Stbtt_temp_rect):Int

staticstbtt__GetGlyphShapeT2(info:Stbtt_fontinfo, glyph_index:Int):Vector<Stbtt_vertex>

staticstbtt__GetGlyphShapeTT(info:Stbtt_fontinfo, glyph_index:Int):Vector<Stbtt_vertex>