MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / ttUSHORT

Function ttUSHORT

extern/imgui/imstb_truetype.h:1291–1291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1289#define ttFixed(p) ttLONG(p)
1290
1291static stbtt_uint16 ttUSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; }
1292static stbtt_int16 ttSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; }
1293static stbtt_uint32 ttULONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; }
1294static stbtt_int32 ttLONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; }

Callers 15

stbtt__find_tableFunction · 0.85
stbtt_InitFont_internalFunction · 0.85
stbtt_FindGlyphIndexFunction · 0.85
stbtt__GetGlyfOffsetFunction · 0.85
stbtt__GetGlyphShapeTTFunction · 0.85
stbtt_GetGlyphHMetricsFunction · 0.85
stbtt_GetKerningTableFunction · 0.85
stbtt__GetCoverageIndexFunction · 0.85
stbtt__GetGlyphClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected