Static variables

staticinline read onlySTBTT_MACSTYLE_BOLD:Int = 1

staticinline read onlySTBTT_MACSTYLE_DONTCARE:Int = 0

staticinline read onlySTBTT_MACSTYLE_ITALIC:Int = 2

staticinline read onlySTBTT_MACSTYLE_NONE:Int = 8

staticinline read onlySTBTT_MACSTYLE_UNDERSCORE:Int = 4

staticinline read onlySTBTT_MAC_EID_ARABIC:Int = 4

staticinline read onlySTBTT_MAC_EID_CHINESE_TRAD:Int = 2

staticinline read onlySTBTT_MAC_EID_GREEK:Int = 6

staticinline read onlySTBTT_MAC_EID_HEBREW:Int = 5

staticinline read onlySTBTT_MAC_EID_JAPANESE:Int = 1

staticinline read onlySTBTT_MAC_EID_KOREAN:Int = 3

staticinline read onlySTBTT_MAC_EID_ROMAN:Int = 0

staticinline read onlySTBTT_MAC_EID_RUSSIAN:Int = 7

staticinline read onlySTBTT_MAC_LANG_ARABIC:Int = 12

staticinline read onlySTBTT_MAC_LANG_CHINESE_SIMPLIFIED:Int = 33

staticinline read onlySTBTT_MAC_LANG_CHINESE_TRAD:Int = 19

staticinline read onlySTBTT_MAC_LANG_DUTCH:Int = 4

staticinline read onlySTBTT_MAC_LANG_ENGLISH:Int = 0

staticinline read onlySTBTT_MAC_LANG_FRENCH:Int = 1

staticinline read onlySTBTT_MAC_LANG_GERMAN:Int = 2

staticinline read onlySTBTT_MAC_LANG_HEBREW:Int = 10

staticinline read onlySTBTT_MAC_LANG_ITALIAN:Int = 3

staticinline read onlySTBTT_MAC_LANG_JAPANESE:Int = 11

staticinline read onlySTBTT_MAC_LANG_KOREAN:Int = 23

staticinline read onlySTBTT_MAC_LANG_RUSSIAN:Int = 32

staticinline read onlySTBTT_MAC_LANG_SPANISH:Int = 6

staticinline read onlySTBTT_MAC_LANG_SWEDISH:Int = 5

staticinline read onlySTBTT_MAX_OVERSAMPLE:Int = 8

staticinline read onlySTBTT_MS_EID_SHIFTJIS:Int = 2

staticinline read onlySTBTT_MS_EID_SYMBOL:Int = 0

staticinline read onlySTBTT_MS_EID_UNICODE_BMP:Int = 1

staticinline read onlySTBTT_MS_EID_UNICODE_FULL:Int = 10

staticinline read onlySTBTT_MS_LANG_CHINESE:Int = 0x0804

staticinline read onlySTBTT_MS_LANG_DUTCH:Int = 0x0413

staticinline read onlySTBTT_MS_LANG_ENGLISH:Int = 0x0409

staticinline read onlySTBTT_MS_LANG_FRENCH:Int = 0x040c

staticinline read onlySTBTT_MS_LANG_GERMAN:Int = 0x0407

staticinline read onlySTBTT_MS_LANG_HEBREW:Int = 0x040d

staticinline read onlySTBTT_MS_LANG_ITALIAN:Int = 0x0410

staticinline read onlySTBTT_MS_LANG_JAPANESE:Int = 0x0411

staticinline read onlySTBTT_MS_LANG_KOREAN:Int = 0x0412

staticinline read onlySTBTT_MS_LANG_RUSSIAN:Int = 0x0419

staticinline read onlySTBTT_MS_LANG_SPANISH:Int = 0x0409

staticinline read onlySTBTT_MS_LANG_SWEDISH:Int = 0x041D

staticinline read onlySTBTT_PLATFORM_ID_ISO:Int = 2

staticinline read onlySTBTT_PLATFORM_ID_MAC:Int = 1

staticinline read onlySTBTT_PLATFORM_ID_MICROSOFT:Int = 3

staticinline read onlySTBTT_PLATFORM_ID_UNICODE:Int = 0

staticinline read onlySTBTT_RASTERIZER_VERSION:Int = 2

staticinline read onlySTBTT_UNICODE_EID_ISO_10646:Int = 2

staticinline read onlySTBTT_UNICODE_EID_UNICODE_1_0:Int = 0

staticinline read onlySTBTT_UNICODE_EID_UNICODE_1_1:Int = 1

staticinline read onlySTBTT_UNICODE_EID_UNICODE_2_0_BMP:Int = 3

staticinline read onlySTBTT_UNICODE_EID_UNICODE_2_0_FULL:Int = 4

staticinline read onlySTBTT_vcurve:Int = 3

staticinline read onlySTBTT_vline:Int = 2

staticinline read 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_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_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_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