stb_truetype

This module is no longer maintained, use arsd.ttf instead. *************************/ /// stb_truetype.h - v0.6c - public domain /// authored from 2009-2012 by Sean Barrett / RAD Game Tool

Members

Aliases

stbtt_vertex_type
alias stbtt_vertex_type = short

Enums

STBTT_vmove
enum STBTT_vmove

Functions

stbtt_BakeFontBitmap
int stbtt_BakeFontBitmap(const ubyte* data, int offset, float pixel_height, ubyte* pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar* chardata)
stbtt_GetGlyphBitmapBoxSubpixel
void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo* font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int* ix0, int* iy0, int* ix1, int* iy1)
ttBYTE
stbtt_uint8 ttBYTE(in stbtt_uint8* p)

//////////////////////////////////////////////////////////////////////////// / / IMPLEMENTATION / / ///////////////////////////////////////////////////////////////////////

Manifest constants

STBTT_MACSTYLE_DONTCARE
enum STBTT_MACSTYLE_DONTCARE;

Static functions

stbtt__CompareUTF8toUTF16_bigendian_prefix
stbtt_int32 stbtt__CompareUTF8toUTF16_bigendian_prefix(const stbtt_uint8* s1, stbtt_int32 len1, const(stbtt_uint8)* s2, stbtt_int32 len2)

Structs

stbtt_bakedchar
struct stbtt_bakedchar
stbtt_fontinfo
struct stbtt_fontinfo

Meta

Suggestion Box / Bug Report